Package: snes9x-x Version: 1:1.5-1 Severity: normal Using snes9x with the ALSA OSS wrapper aoss causes a segfault if snes9x is used with joystick support. The config parser reads the joystick devices with
js_device[x]=conf.GetStringDup("Unix::JoydevX", NULL); causing js_device[x] to be set to NULL if the option is not set in config. This overwrites the default values "/dev/jsX". snes9x then passes these NULL values to the open()-call later when it tries to open the joystick devices which causes a segfault in the ALSA OSS wrapper. The normal open()-call seems to handle this without a crash. Quickfix: Add JoydevX entries for all 8 joysticks in the config. This may also be a bug in alsa-oss, it shouldn't segfault on NULL pointers. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages snes9x-x depends on: ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-20 GCC support library ii libstdc++6 4.1.1-20 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-4 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxxf86dga1 2:1.0.1-2 X11 Direct Graphics Access extensi ii libxxf86vm1 1:1.0.1-2 X11 XFree86 video mode extension l ii zlib1g 1:1.2.3-13 compression library - runtime snes9x-x recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]