Thread: Re: [Pipmak-Users] Linux: "Fatal Error..."
Status: Alpha
Brought to you by:
cwalther
From: Stefan <net...@we...> - 2006-09-01 09:26:16
|
Hi Christian, (I'm sorry if I accidently opened a new Thread, but I have not been subscribed so far and got no message ID...) Currently, I do not have all this lib*-dev stuff to be able to compile it. But I will, in case my project really gets serious. Some of my Version numbers: libsdl1.2debian 1.2.9-0 libsdl-image1.2 1.2.4-1 libsdl-mixer1.2 1.2.6-1.1 libsdl-ttf2.0-0 2.0.7-1 openal0a 1:0.0.8-1 libogg0 1.1.3-0 I have never used gdb (not a C programmer), voil=C3=A0 my first try: stegro@majestix:~/Downloads/Z=C3=BCndapp Underground/pipmak-0.2.5$ gdb ./pipmak GNU gdb 6.4-debian Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /home/stegro/Downloads/Z=C3=BCndapp Underground/pipmak-0.2.5/pipmak [Thread debugging using libthread_db enabled] [New Thread -1221601600 (LWP 5697)] [New Thread -1224291408 (LWP 5702)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1221601600 (LWP 5697)] 0x0806e3c2 in luaH_getstr () (gdb) step Single stepping until exit from function luaH_getstr, which has no line number information. 0xb7d39efc in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. 0xb76f0860 in ssignal () from /lib/tls/i686/cmov/libc.so.6 (gdb) step Single stepping until exit from function ssignal, which has no line number information. 0xb7d39f22 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. ^[[A 0xb771c470 in fputs () from /lib/tls/i686/cmov/libc.so.6 (gdb) step Single stepping until exit from function fputs, which has no line number information. Fatal signal: 0xb7d39ef6 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. Segmentation Fault (SDL Parachute Deployed) 0xb7d397cc in SDL_Quit () from /usr/lib/libSDL-1.2.so.0 (gdb) step Single stepping until exit from function SDL_Quit, which has no line number information. 0xb7d39f6e in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. Program exited with code 0365. (gdb) stegro@majestix:~/Downloads/Z=C3=BCndapp Underground/pipmak-0.2.5$ Stefan Gro=C3=9Fhauser |
From: Stefan <net...@we...> - 2006-09-03 07:09:31
|
Good Morning, right, a traceback would be useful: GNU gdb 6.4-debian Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /home/stegro/Downloads/Z=C3=BCndapp Underground/pipmak-0.2.5/pipmak [Thread debugging using libthread_db enabled] [New Thread -1221626176 (LWP 5386)] [New Thread -1224315984 (LWP 5389)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1221626176 (LWP 5386)] 0x0806e3c2 in luaH_getstr () (gdb) bt #0 0x0806e3c2 in luaH_getstr () #1 0x08067917 in lua_rawget () #2 0x08054b20 in openProject () #3 0x08054d3c in openAndEnterProject () #4 0x08058947 in main () (gdb) step Single stepping until exit from function luaH_getstr, which has no line number information. 0xb7d33efc in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) bt #0 0xb7d33efc in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #1 0x08067917 in lua_rawget () #2 0x08054b20 in openProject () #3 0x08054d3c in openAndEnterProject () #4 0x08058947 in main () (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. 0xb76ea860 in ssignal () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb76ea860 in ssignal () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d33f22 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #2 <signal handler called> #3 0x0806e3c2 in luaH_getstr () #4 0x08067917 in lua_rawget () #5 0x08054b20 in openProject () #6 0x08054d3c in openAndEnterProject () #7 0x08058947 in main () (gdb) step Single stepping until exit from function ssignal, which has no line number information. 0xb7d33f22 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) bt #0 0xb7d33f22 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #1 <signal handler called> #2 0x0806e3c2 in luaH_getstr () #3 0x08067917 in lua_rawget () #4 0x08054b20 in openProject () #5 0x08054d3c in openAndEnterProject () #6 0x08058947 in main () (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. 0xb7716470 in fputs () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb7716470 in fputs () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d33ef6 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #2 0xb7d33f2d in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #3 <signal handler called> #4 0x0806e3c2 in luaH_getstr () #5 0x08067917 in lua_rawget () #6 0x08054b20 in openProject () #7 0x08054d3c in openAndEnterProject () #8 0x08058947 in main () (gdb) step Single stepping until exit from function fputs, which has no line number information. Fatal signal: 0xb7d33ef6 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 (gdb) bt #0 0xb7d33ef6 in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #1 0xb7d33f2d in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #2 <signal handler called> #3 0x0806e3c2 in luaH_getstr () #4 0x08067917 in lua_rawget () #5 0x08054b20 in openProject () #6 0x08054d3c in openAndEnterProject () #7 0x08058947 in main () (gdb) step Single stepping until exit from function SDL_Error, which has no line number information. Segmentation Fault (SDL Parachute Deployed) 0xb7d337cc in SDL_Quit () from /usr/lib/libSDL-1.2.so.0 (gdb) bt #0 0xb7d337cc in SDL_Quit () from /usr/lib/libSDL-1.2.so.0 #1 0xb7d33f6e in SDL_Error () from /usr/lib/libSDL-1.2.so.0 #2 <signal handler called> #3 0x0806e3c2 in luaH_getstr () #4 0x08067917 in lua_rawget () #5 0x08054b20 in openProject () #6 0x08054d3c in openAndEnterProject () #7 0x08058947 in main () (gdb) c Continuing. Program exited with code 0365. (gdb) Quit (gdb) ------------------------------ I will be on University for four days, so I won't be able to compile the next few days. I'll try when I'm back. have a nice sunday afternoon Stefan Gro=C3=9Fhauser Linux aus Schachteln ist wie Bier aus Dosen. |
From: Christian W. <cwa...@gm...> - 2006-09-03 07:46:31
|
Stefan Gro=DFhauser wrote: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1221626176 (LWP 5386)] > 0x0806e3c2 in luaH_getstr () > (gdb) bt > #0 0x0806e3c2 in luaH_getstr () > #1 0x08067917 in lua_rawget () > #2 0x08054b20 in openProject () > #3 0x08054d3c in openAndEnterProject () > #4 0x08058947 in main () Hmm, that does look like a bug in Pipmak, not a library issue. There are = lots of calls to lua_rawget() in openProject(), so it's hard to judge=20 which one is failing. Seems like compiling from source is the only way=20 forward. Did you place the demo project or any other project in the folder that=20 contains the executable? If so, try moving it away (and if not, maybe=20 try moving one there) and see if it makes a difference. -Christian |
From: Christian W. <cwa...@gm...> - 2006-09-01 20:02:20
|
> Some of my Version numbers: >=20 > libsdl1.2debian 1.2.9-0 > libsdl-image1.2 1.2.4-1 > libsdl-mixer1.2 1.2.6-1.1 > libsdl-ttf2.0-0 2.0.7-1 > openal0a 1:0.0.8-1 > libogg0 1.1.3-0 I compiled it with SDL 1.2.8, libogg 1.1.2, and OpenAL 0.0.9 on a Fedora = Core 3 system. SDL should be binary compatible, not sure about the other = two (but I hope so too). > I have never used gdb (not a C programmer), voil=E0 my first try: Great. (I'm not very experienced with using GDB on the command line=20 either - I mostly use it under Xcode's graphical debugger.) > stegro@majestix:~/Downloads/Z=FCndapp Underground/pipmak-0.2.5$ > gdb ./pipmak > GNU gdb 6.4-debian > Copyright 2005 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and yo= u > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i486-linux-gnu"...Using host libthread_db > library "/lib/tls/i686/cmov/libthread_db.so.1". >=20 > (gdb) run > Starting program: /home/stegro/Downloads/Z=FCndapp > Underground/pipmak-0.2.5/pipmak > [Thread debugging using libthread_db enabled] > [New Thread -1221601600 (LWP 5697)] > [New Thread -1224291408 (LWP 5702)] >=20 > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1221601600 (LWP 5697)] > 0x0806e3c2 in luaH_getstr () > (gdb) Can you type "bt" (for "backtrace") at this point and post the output?=20 Afterwards, you can type "continue" or "quit". -Christian |