Google-Code-Fork / snes9x-gtk

Automatically exported from code.google.com/p/snes9x-gtk
0 stars 0 forks source link

crash on keypress on gamepad #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run snes9x-gtk
2. press key on gamepad

What is the expected output? What do you see instead?

gettimeofday({1289151249, 671352}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=10, events=POLLIN}], 4, 79) = 1 ([{fd=3, revents=POLLIN}])
read(3, 
"\7\3-\6\6\2662\0]\1\0\0h\0@\6\0\0\0\0\203\2\376\1\377\0\341\0\0\0\0\2"..., 
4096) = 64
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
gettimeofday({1289151249, 690745}, NULL) = 0
gettimeofday({1289151249, 690923}, NULL) = 0
gettimeofday({1289151249, 690952}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=10, events=POLLIN}], 4, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, 
revents=POLLOUT}])
writev(3, [{"\2\30\4\0h\0@\6\0@\0\0\0\0\0\0(\4\4\0h\0@\6]\1\0\0\0\0\0\0", 32}, 
{NULL, 0}, {"", 0}], 3) = 32
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\1/\6\0\0\0\0h\0@\6\204\1\35\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 
4096) = 32
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, 
revents=POLLOUT}])
writev(3, [{"&\30\2\0h\0@\6", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
read(3, 
"\1\0010\6\0\0\0\0]\1\0\0\0\0\0\0\203\2\376\1\377\0\341\0\0\0\0\0\0\0\0\0", 
4096) = 32
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
gettimeofday({1289151249, 691398}, NULL) = 0
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
gettimeofday({1289151249, 691438}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=10, events=POLLIN}], 4, 59) = 0 (Timeout)
gettimeofday({1289151249, 750546}, NULL) = 0
read(3, 0x8b8efb8, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
gettimeofday({1289151249, 750610}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=10, events=POLLIN}], 4, 0) = 0 (Timeout)
gettimeofday({1289151249, 750661}, NULL) = 0
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)
read(8, 
"\21\343\326L\366\207\n\0\3\0\21\0\377\377\377\377\21\343\326L\371\207\n\0\0\0\0
\0\0\0\0\0", 512) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL, [SEGV], SA_RESTART}, {0xf6e58e20, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTART}, {0x80e4b80, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x80e4b80, [INT], SA_RESTART}, {SIG_DFL, [INT], 
SA_RESTART}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [TERM], SA_RESTART}, {0x80e4b80, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x80e4b80, [TERM], SA_RESTART}, {SIG_DFL, [TERM], 
SA_RESTART}, 8) = 0
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, 
revents=POLLOUT}])
writev(6, [{"_\0\2\0\v\0`\6+\1\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\2:\0\0\0\0\0i\0@\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) 
= 32
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=7, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=7, 
revents=POLLOUT}])
writev(7, [{"+\0\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=7, events=POLLIN}], 1, 4294967295) = 1 ([{fd=7, revents=POLLIN}])
read(7, "\1\2\7\0\0\0\0\0i\0@\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) 
= 32
read(7, 0x8bcaf78, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(7, 0x8bcaf78, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
munmap(0xf45c9000, 237568)              = 0
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, 
revents=POLLOUT}])
writev(6, [{"\n\0\2\0\3\0`\6O\1\2\0\1\0`\6_\1\2\0\7\0`\6+\1\1\0", 28}, {NULL, 
0}, {"", 0}], 3) = 28
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\2>\0\0\0\0\0i\0@\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) 
= 32
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=7, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=7, 
revents=POLLOUT}])
writev(7, [{"<\0\2\0\0\0\200\6+\1\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=7, events=POLLIN}], 1, 4294967295) = 1 ([{fd=7, revents=POLLIN}])
read(7, "\1\2\t\0\0\0\0\0i\0@\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) 
= 32
read(7, 0x8bcaf78, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(7, 0x8bcaf78, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
close(7)                                = 0
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, 
revents=POLLOUT}])
writev(6, [{"<\0\2\0\0\0`\6+\1\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\1\2@\0\0\0\0\0i\0@\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) 
= 32
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(6, 0x8bb94c0, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
close(6)                                = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [SEGV], SA_RESTART}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0xf6e58e20, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0xf6e58e20, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0x80e4b80, [], 0}, 8) = 0
tgkill(36181, 36181, SIGSEGV)           = 0
sigreturn()                             = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
zsh: segmentation fault  strace snes9x-gtk

What version of the product are you using? On what operating system?

 paludis -q snes9x
* games-emulation/snes9x
    gentoo:                  1.52-r1 {:0} 
    installed:               1.52-r1* {:0} 
    Description:             Super Nintendo Entertainment System (SNES) emulator
    Homepage:                http://code.google.com/p/snes9x-gtk/
    License:                 as-is GPL-2 LGPL-2.1
    Installed time:          Sun Nov 07 19:06:06 EET 2010
    Use flags:               (alsa) (-debug) (gtk) (joystick) (multilib) (netplay) (nls) (opengl) (-oss) (png) (-portaudio) (pulseaudio) (xrandr) (xv) (zlib) Build Options: -trace
    From repositories:       gentoo

Please provide any additional information below.

 uname -a
Linux evil 2.6.35-zen3 #11 ZEN SMP PREEMPT Sun Nov 7 18:26:54 EET 2010 x86_64 
Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux
sss@evil ~ % lsusb
Bus 008 Device 002: ID 046d:c242 Logitech, Inc. 
Bus 005 Device 006: ID 046d:c225 Logitech, Inc. 
Bus 005 Device 004: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 005 Device 003: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 005 Device 002: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse

Original issue reported on code.google.com by sss123n...@gmail.com on 7 Nov 2010 at 5:42

GoogleCodeExporter commented 9 years ago
problem was gone after kernel reconfiguration, sorry for wrong report

Original comment by sss123n...@gmail.com on 8 Nov 2010 at 10:01

GoogleCodeExporter commented 9 years ago
Marking as invalid.

Original comment by bear...@gmail.com on 19 Nov 2010 at 11:05