[Bug 504878] [NEW] [lucid] zsnes crash: () from libSDL-1.2.so.0 when pressing gamepad button

Matt Behrens matt at zigg.com
Fri Jan 8 18:28:57 UTC 2010


Public bug reported:

Binary package hint: zsnes

SIGSEGV can be caused by pressing d-pad up on either of two gamepads I
have here.

Both gamepads show up on /dev/input/js0 and work fine with jstest from
the joystick package.

Might be an SDL problem?

matt at sampo:~$ gdb zsnes
GNU gdb (GDB) 7.0.1-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/zsnes...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/zsnes 
[Thread debugging using libthread_db enabled]
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
Unable to poll /dev/input/event11. Make sure you have read permissions to it.
Unable to poll /dev/input/event10. Make sure you have read permissions to it.
Unable to poll /dev/input/event9. Make sure you have read permissions to it.
Unable to poll /dev/input/event8. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
[New Thread 0xb74b7b70 (LWP 4108)]
[New Thread 0xb69bab70 (LWP 4109)]
[New Thread 0xb21b8b70 (LWP 4110)]

Audio Opened.
Driver: Advanced Linux Sound Architecture (ALSA) output
Channels: 2
Rate: 32000

Device 0 Cyborg V.3 Rumble Pad
  1 axis, 13 buttons, 0 hats, 0 balls
[New Thread 0xad9b6b70 (LWP 4111)]
[Thread 0xad9b6b70 (LWP 4111) exited]
[New Thread 0xad9b6b70 (LWP 4112)]

Program received signal SIGSEGV, Segmentation fault.
0x00a90226 in ?? () from /usr/lib/libSDL-1.2.so.0
(gdb) bt
#0  0x00a90226 in ?? () from /usr/lib/libSDL-1.2.so.0
#1  0x00a678d0 in SDL_JoystickUpdate () from /usr/lib/libSDL-1.2.so.0
#2  0x00a4039e in SDL_PumpEvents () from /usr/lib/libSDL-1.2.so.0
#3  0x00a40807 in SDL_PollEvent () from /usr/lib/libSDL-1.2.so.0
#4  0x082f84a9 in ?? ()
#5  0x082f8fef in ?? ()
#6  0x082f6521 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

ProblemType: Bug
Architecture: i386
Date: Fri Jan  8 13:25:39 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
Package: zsnes 1.510-2.2ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: zsnes
Tags: lucid
Uname: Linux 2.6.32-9-generic i686

** Affects: zsnes (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
[lucid] zsnes crash: () from libSDL-1.2.so.0 when pressing gamepad button
https://bugs.launchpad.net/bugs/504878
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list