Bug#318719: marked as done (tecnoballz: Segfaults on startup on 64-bit machines)
Your message dated Fri, 16 Jun 2006 02:32:04 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#318719: fixed in tecnoballz 0.91cvs20060616-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) --- Begin Message --- Package: tecnoballz Version: 0.91-2 Severity: important On amd64, tecnoballz segfaults on startup. I suspect this is a 64bit issue, as there are 14 warnings about casts from pointer to integer (the first 64bit, the latter 32bit) and another, simmilar warning during compilation. N.B. severity important, since amd64 is not yet part of Etch, once it is, the severity will be raised accordingly Since your debian/rules does not build with -g and does not even support noopt (see #319715), I hacked Makefile.in to use include "-O0 -g" for CXXFLAGS. Next I commented out dh_strip in debian/rules and ran dpkg-buildpackage -uc -b -rfakeroot Next I installed the resulting deb and ran it in gdb, using libc6-dbg. This is the result: GNU gdb 6.3-debian Copyright 2004 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 "x86_64-linux"...Using host libthread_db library "/usr/lib/debug/libthread_db.so.1". (gdb) run Starting program: /usr/games/tecnoballz [Thread debugging using libthread_db enabled] [New Thread 182916947344 (LWP 685)] configfile::fopen_data(): Warning: Unable to open the file "/home/helge/.tlkgames/tecnoballz.conf" for read!!! [New Thread 1082128752 (LWP 688)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 182916947344 (LWP 685)] __libc_free (mem=0xa6d8dcea99c9bfd8) at malloc.c:3341 3341malloc.c: No such file or directory. in malloc.c Current language: auto; currently c (gdb) bt full #0 __libc_free (mem=0xa6d8dcea99c9bfd8) at malloc.c:3341 ar_ptr = 0x71e270 p = 0xa6d8dcea99c9bfd8 hook = (void (*)(void *, const void *)) 0 #1 0x002a95f060f1 in SDL_FreeFormat () from /usr/lib/libSDL-1.2.so.0 No symbol table info available. #2 0x002a95f07c9e in SDL_FreeSurface () from /usr/lib/libSDL-1.2.so.0 No symbol table info available. #3 0x00416078 in GFX_bitmap::GFXLiberat (this=0x721b98) at src/GFX_bitmap.cc:64 No locals. #4 0x00416841 in ~GIF_bitMap (this=0x721890) at src/GIF_bitMap.cc:41 No locals. #5 0x00423157 in ressources::freeSprite (this=0x598470) at src/ressources.cc:335 No locals. #6 0x0041e00e in menu_tecno::first_init (this=0x71da30) at src/menu_tecno.cc:84 No locals. #7 0x0041ca49 in mentatCode::game_begin () at src/mentatCode.cc:207 No locals. #8 0x0041c1d7 in main (nbArg=1, ptArg=0x7fb928) at src/main.cc:46 error = 0 (gdb) quit The program is running. Exit anyway? (y or n) I do not see a warning during compilation for src/GIF_bitMap.cc, though. -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.10-9-amd64-k8 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tecnoballz depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-13 GCC support library ii libmikmod23.1.11-a-6 A portable sound library ii libogg0 1.1.2-1Ogg Bitstream Library ii libsdl-mixer1 1.2.6-1mixer library for Simple DirectMed ii libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-1SDL MPEG Player Library - shared l ii libstdc++51:3.3.5-13 The GNU Standard C++ Library v3 ii libvorbisfile 1.1.0-1The Vorbis General Audio Compressi ii libx11-6 4.3.0.dfsg.1-14X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14X Window System miscellaneous exte ii tecnoballz-da 0.91-2 graphic, sound and music files for ii xlibs 4.3.0.dfsg.1-14X Keyboard Extension (XKB) configu -- no debconf information -- Dr. Helge Kreutzmann, Dipl.-Phys. [EMAIL PROTECTED] gpg signed mail preferred 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http:/
Bug#318719: marked as done (tecnoballz: Segfaults on startup on 64-bit machines)
Your message dated Mon, 12 Jun 2006 09:47:23 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#318719: fixed in tecnoballz 0.91cvs20060612-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) --- Begin Message --- Package: tecnoballz Version: 0.91-2 Severity: important On amd64, tecnoballz segfaults on startup. I suspect this is a 64bit issue, as there are 14 warnings about casts from pointer to integer (the first 64bit, the latter 32bit) and another, simmilar warning during compilation. N.B. severity important, since amd64 is not yet part of Etch, once it is, the severity will be raised accordingly Since your debian/rules does not build with -g and does not even support noopt (see #319715), I hacked Makefile.in to use include "-O0 -g" for CXXFLAGS. Next I commented out dh_strip in debian/rules and ran dpkg-buildpackage -uc -b -rfakeroot Next I installed the resulting deb and ran it in gdb, using libc6-dbg. This is the result: GNU gdb 6.3-debian Copyright 2004 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 "x86_64-linux"...Using host libthread_db library "/usr/lib/debug/libthread_db.so.1". (gdb) run Starting program: /usr/games/tecnoballz [Thread debugging using libthread_db enabled] [New Thread 182916947344 (LWP 685)] configfile::fopen_data(): Warning: Unable to open the file "/home/helge/.tlkgames/tecnoballz.conf" for read!!! [New Thread 1082128752 (LWP 688)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 182916947344 (LWP 685)] __libc_free (mem=0xa6d8dcea99c9bfd8) at malloc.c:3341 3341malloc.c: No such file or directory. in malloc.c Current language: auto; currently c (gdb) bt full #0 __libc_free (mem=0xa6d8dcea99c9bfd8) at malloc.c:3341 ar_ptr = 0x71e270 p = 0xa6d8dcea99c9bfd8 hook = (void (*)(void *, const void *)) 0 #1 0x002a95f060f1 in SDL_FreeFormat () from /usr/lib/libSDL-1.2.so.0 No symbol table info available. #2 0x002a95f07c9e in SDL_FreeSurface () from /usr/lib/libSDL-1.2.so.0 No symbol table info available. #3 0x00416078 in GFX_bitmap::GFXLiberat (this=0x721b98) at src/GFX_bitmap.cc:64 No locals. #4 0x00416841 in ~GIF_bitMap (this=0x721890) at src/GIF_bitMap.cc:41 No locals. #5 0x00423157 in ressources::freeSprite (this=0x598470) at src/ressources.cc:335 No locals. #6 0x0041e00e in menu_tecno::first_init (this=0x71da30) at src/menu_tecno.cc:84 No locals. #7 0x0041ca49 in mentatCode::game_begin () at src/mentatCode.cc:207 No locals. #8 0x0041c1d7 in main (nbArg=1, ptArg=0x7fb928) at src/main.cc:46 error = 0 (gdb) quit The program is running. Exit anyway? (y or n) I do not see a warning during compilation for src/GIF_bitMap.cc, though. -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.10-9-amd64-k8 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tecnoballz depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-13 GCC support library ii libmikmod23.1.11-a-6 A portable sound library ii libogg0 1.1.2-1Ogg Bitstream Library ii libsdl-mixer1 1.2.6-1mixer library for Simple DirectMed ii libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-1SDL MPEG Player Library - shared l ii libstdc++51:3.3.5-13 The GNU Standard C++ Library v3 ii libvorbisfile 1.1.0-1The Vorbis General Audio Compressi ii libx11-6 4.3.0.dfsg.1-14X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14X Window System miscellaneous exte ii tecnoballz-da 0.91-2 graphic, sound and music files for ii xlibs 4.3.0.dfsg.1-14X Keyboard Extension (XKB) configu -- no debconf information -- Dr. Helge Kreutzmann, Dipl.-Phys. [EMAIL PROTECTED] gpg signed mail preferred 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http:/