[gstreamer-bugs] [Bug 498237] nsfdec crash with SK8ORDIE.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Dec 30 16:27:02 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=498237

  GStreamer | gst-plugins-bad | Ver: 0.10.5




------- Comment #2 from Andreas Henriksson  2007-12-31 00:27 UTC -------
Here's a probably more helpful backtrace:


Program received signal SIGSEGV, Segmentation fault.
0x00002aec1ecda0d6 in nes6502_execute (remaining_cycles=28188)
    at nes6502.c:1404
1404        switch (opcode) {
(gdb) bt
#0  0x00002aec1ecda0d6 in nes6502_execute (remaining_cycles=28188)
    at nes6502.c:1404
#1  0x00002aec1ecd5273 in play_loop (pad=0x7382e0) at gstnsf.c:303
#2  0x00002aec1bea5ca9 in gst_task_func (task=0x742670, 
    tclass=<value optimized out>) at gsttask.c:192
#3  0x00002aec1cb9df57 in g_thread_pool_thread_proxy (
    data=<value optimized out>)
    at /build/buildd/glib2.0-2.14.4/glib/gthreadpool.c:265
#4  0x00002aec1cb9c3e4 in g_thread_create_proxy (data=0x73dcb0)
    at /build/buildd/glib2.0-2.14.4/glib/gthread.c:635
#5  0x00002aec1cdfe3f7 in start_thread () from /lib/libpthread.so.0
#6  0x00002aec1d0ea91d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()
(gdb) print PC
$6 = 6422


I noted that PC is always 6422 and remaining_cycles always 28188 when it
crashes...
I also guess the segfault shows up first on the switch because of the
optimization. I guess the real problem is line 1401:

    opcode = bank_readbyte (PC++);




I though maybe this was a 64bit problem in the original (old?) code, but I've
compiled
http://belnet.dl.sourceforge.net/sourceforge/nosefart/nosefart-2.6-mls.tar.bz2 
(which I guess is the original code for nsfdec) which plays the file without
problem on my system.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498237.




More information about the Gstreamer-bugs mailing list