Hi, On 17/08/16 21:59, Hanno 'Rince' Wagner wrote: > I am packaging open-invaders, a clone of space invaders. I was able to > "port" it (with a lot of help from friends) to gcc-6, but I have a > problem with the used libraries. > > I am able to successfully compile and package open-invaders. But when > I want to start it, the initialization of allegro4 seems to fail: > > [~]$ open-invaders > /usr/share > Segmentation fault I cannot reproduce this. Your package on mentors runs fine for me. > I used gdb and found that open-invaders crashed while initializing > allegro: [...] > Thread 1 "open-invaders" received signal SIGSEGV, Segmentation fault. > 0x00007ffff7704cc7 in install_timer () from /usr/lib/x86_64-linux-gnu/liballeg.so.4.4 > (gdb) bt > #0 0x00007ffff7704cc7 in install_timer () from /usr/lib/x86_64-linux-gnu/liballeg.so.4.4 > #1 0x000055555555fbd5 in initialise_game () at init.cc:521 > #2 0x00005555555574f4 in main (argc=1, argv=0x7fffffffe668) at main.cc:81 > (gdb) Install liballeggl4.4-dbgsym from the debug repository [1] and then use 'bt full' to get a full backtrace which should have much more information about the segfault. Also, do other allegro4 games work for you? $ apt-cache rdepends liballegro4.4 [1] https://wiki.debian.org/AutomaticDebugPackages Thanks, James
Attachment:
signature.asc
Description: OpenPGP digital signature