[mythtv] mythgame segmentation fault when mythgame binary is
defined
m0j0.j0j0
m0j0 at foofus.net
Sun Jan 19 11:52:00 EST 2003
I'm having this exact same problem. Have you (or anyone else) figured
out a fix for it?
Thanks.
On Sun, 2003-01-12 at 23:30, Tarek Loubani wrote:
> Hey guys!
>
> I was wondering if anybody has experienced this..
>
> the problem: mythgame seg. faults when executed from command line (and presumably when executed from mythfrontend though there is nothing said in that case) when *and only when* the myth game binary is defined properly.. I've heard some things about this in relation to scripts, however the xmame binary is not a script.. I don't really know, but it seems as though the problem has something to do with my libc.. upgrading to a higher version (i.e., 2.3) seems a nonoption, as it would require me to uninstall many, many packages..
>
> Included below is a backtrace and an ls -l of my libc..
>
> [root at courage orangey]# gdb mythgame
> GNU gdb 5.2.1-2mdk (Mandrake Linux)
> This GDB was configured as "i586-mandrake-linux-gnu"...
> (gdb) run
> Starting program: /usr/local/bin/mythgame
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40965e4e in __strtol_internal () from /lib/i686/libc.so.6
> Current language: auto; currently c
> (gdb) backtrace
> #0 0x40965e4e in __strtol_internal () from /lib/i686/libc.so.6
> #1 0x40963757 in atoi () from /lib/i686/libc.so.6
> #2 0x0805c775 in MameHandler::processGames() (this=0x80f5250)
> at mamehandler.cpp:109
> #3 0x0805bbba in GameHandler::processAllGames(MythContext*) (
> context=0x80ddf50) at gamehandler.cpp:36
> #4 0x0805afa1 in main (argc=1, argv=0xbffff6c4) at main.cpp:106
> #5 0x40951082 in __libc_start_main () from /lib/i686/libc.so.6
> (gdb) quit
> The program is running. Exit anyway? (y or n) y
> [root at courage orangey]# ls /lib/i686/
> libc-2.2.5.so libm-2.2.5.so libpthread-0.9.so librt-2.2.5.so
> libc.so.6 libm.so.6 libpthread.so.0 librt.so.1
> [root at courage orangey]# ls /lib/i686/libc.so.6 -l
> lrwxrwxrwx 1 root root 13 Jan 12 23:28
> /lib/i686/libc.so.6 -> libc-2.2.5.so*
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list