Hello,
On Mon, Jul 18, 2005 at 03:18:33PM +0200, Alexis Sukrieh wrote:
> Thanks for all your comments, and sorry for the crappy build rules,
> that's my first package using autoconf, and I agree, it's really in a
> bad shape.

Ok, then lets start getting it in better shape.

> I would suggest to apply the patch submitted for #303156, wich should
> fix the 64bit related issues, and see if that stop the segfault.

(Is there a way to get a proper patch? I run lynx --dump, but patch
still rejected it, because of whitespaces, I assume? I applied it by
hand this time).

No, I now get the following backtrace:

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 46912519040400 (LWP 32666)]
configfile::fopen_data(): Warning: Unable to open the file 
"/home/helge/.tlkgames/tecnoballz.conf" for read!!!
audiomixer::initialise(): No available audio device

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912519040400 (LWP 32666)]
0x00000000004078c0 in BOB_killer::method_tab (this=0x5ba340)
    at src/BOB_killer.cc:922
922                             *(adres++) = *(gfxP2++);
(gdb) bt full
#0  0x00000000004078c0 in BOB_killer::method_tab (this=0x5ba340)
    at src/BOB_killer.cc:922
        k = 1573
        o = 3598
        i = 30
        adres = 0x2aaaac5087c7 
"\005\002\016\v\016\v\v\016\r\r\016\016\r\016\r\016\016\016\016\016\r\r\a\016\016\v\016\016\016\r\016\r\006\r\v\002\005\t\r\016\016\016\016\r\r\016\016\v\016\v\v\016\v\v\v\016\v\016\v\v\016\v\v\v\v\v\016\016\v\016\v\v\002\016\016\016\016\016\016\r\016\016\016\r\016\r\016\r\016\016\016\016\016\016\016\016\r\r\004\r\016\016\016\r\016\016\016\a\006\a\016\r\016\v\002\v\016\a\006\a\r\v\002\002\002\005\017\017\017\002\016\r\006\a\016\v\002\016\r\016\016\016\016\r\016\r\016\016\016\a\006\a\016\r\016\016\016\016\r\006\003\006\016\016\002\v\016\016\016\016\016\016\016\016\016\016\r\r\016\r\006\r\016\r\016\r\016\r\016\r\016\016\016\016\016\r\016\016\r\016"...
        gfxP2 = 0x5e7001 <Address 0x5e7001 out of bounds>
        gfxP1 = (Uint16 *) 0x2aaaac5fb08c
        t = 3598
#1  0x000000000040777c in BOB_killer::afficheMSK (this=0x5ba340)
    at src/BOB_killer.cc:860
No locals.
#2  0x000000000041c0e5 in liste_BOBs::listeBOBgo (this=0x5b8ba0)
    at src/liste_BOBs.cc:85
        leBOB = (class BOB_killer *) 0x5ba340
        i = 17
#3  0x000000000041e1c1 in menu_tecno::zeMainLoop (this=0x5b9ea0)
    at src/menu_tecno.cc:114
        zeRet = 0
#4  0x000000000041cbe6 in mentatCode::game_begin () at src/mentatCode.cc:256
No locals.
#5  0x000000000041c1d7 in main (nbArg=1, ptArg=0x7fffffffdf48)
    at src/main.cc:46
        error = 0
(gdb) 
#0  0x00000000004078c0 in BOB_killer::method_tab (this=0x5ba340)
    at src/BOB_killer.cc:922
        k = 1573
        o = 3598
        i = 30
        adres = 0x2aaaac5087c7 
"\005\002\016\v\016\v\v\016\r\r\016\016\r\016\r\016\016\016\016\016\r\r\a\016\016\v\016\016\016\r\016\r\006\r\v\002\005\t\r\016\016\016\016\r\r\016\016\v\016\v\v\016\v\v\v\016\v\016\v\v\016\v\v\v\v\v\016\016\v\016\v\v\002\016\016\016\016\016\016\r\016\016\016\r\016\r\016\r\016\016\016\016\016\016\016\016\r\r\004\r\016\016\016\r\016\016\016\a\006\a\016\r\016\v\002\v\016\a\006\a\r\v\002\002\002\005\017\017\017\002\016\r\006\a\016\v\002\016\r\016\016\016\016\r\016\r\016\016\016\a\006\a\016\r\016\016\016\016\r\006\003\006\016\016\002\v\016\016\016\016\016\016\016\016\016\016\r\r\016\r\006\r\016\r\016\r\016\r\016\r\016\016\016\016\016\r\016\016\r\016"...
        gfxP2 = 0x5e7001 <Address 0x5e7001 out of bounds>
        gfxP1 = (Uint16 *) 0x2aaaac5fb08c
        t = 3598
#1  0x000000000040777c in BOB_killer::afficheMSK (this=0x5ba340)
    at src/BOB_killer.cc:860
No locals.
#2  0x000000000041c0e5 in liste_BOBs::listeBOBgo (this=0x5b8ba0)
    at src/liste_BOBs.cc:85
        leBOB = (class BOB_killer *) 0x5ba340
        i = 17
#3  0x000000000041e1c1 in menu_tecno::zeMainLoop (this=0x5b9ea0)
    at src/menu_tecno.cc:114
        zeRet = 0
#4  0x000000000041cbe6 in mentatCode::game_begin () at src/mentatCode.cc:256
No locals.
#5  0x000000000041c1d7 in main (nbArg=1, ptArg=0x7fffffffdf48)
    at src/main.cc:46
        error = 0
(gdb) quit
The program is running.  Exit anyway? (y or n) Please answer y or n.
The program is running.  Exit anyway? (y or n) 

> Moreover, I cannot upload a new package now, because tecnoballz *does
> not* build with gcc 4.0, there is a lot of work behind...

I still use a sarge system, so I used gcc 3.3.5-13. 

Greetings

             Helge

-- 
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://www.ffii.de/

Attachment: pgpHdzuH5dai2.pgp
Description: PGP signature

Reply via email to