Bug#711350: alienblaster: segmentation fault on exit
Markus Koschany
apo at gambaru.de
Fri Jun 7 15:18:31 UTC 2013
Hi,
here are the requested additional information.
My architecture is amd64. I'm running the game under Gnome3 and i use a
NVidia graphic card 9600 GT with nouveau drivers.
It appears the root cause of this bug lies in the SDL library.
gdb backtrace: I had installed libsdl1.2-dbg.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7925fe4 in SDL_JoystickClose (joystick=0x809bd0) at
../../src/joystick/SDL_joystick.c:373
373 ../../src/joystick/SDL_joystick.c: No such file or directory.
Alienblaster checks for joysticks in src/input.cc and seemingly detects
my USB keyboard as a joystick which then leads to a segmentation fault.
(I don't use a joystick at all) I don't know why the backtrace says "No
such file or directory" though.
My keyboard is detected as Logitech, Inc. iTouch Composite. (lsusb)
I had another recent problem with whichwayisup. Almost the same issue
but the game didn't want to start in the first place.
http://bugs.debian.org/710162
I added an additional check for joystick axes. Although my keyboard is
detected by SDL as a joystick, the function returns 0 for joystick axes.
Normally it should return a positive integer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130607/7655dfd0/attachment.pgp>
More information about the Pkg-games-devel
mailing list