[gst-devel] nasty cothread bug (apparently)

Bastien Nocera hadess at hadess.net
Fri Aug 2 04:49:13 CEST 2002


Heya,

I wanted to test out the endian fix for vorbisdec Wim told me about. So,
I already have gstreamer 0.4.0 installed from taaz' debs, recompiled and
all. Vorbisdec plays but with the "loud ssshhhh" (it doesn't work, but
doesn't crash). On to fix that.

I built the packages, and I didn't keep the sources around. So I get the
package's source (so exact same sources as previously). I then run
"fakeroot debian/rules configure" in the unpacked sources (so same
configuration options for the config). Finally I compile and install the
(non-modified) vorbisdec plugin. "Illegal operation".

bt from:
$ gst-launch  filesrc location="/home/hadess/Music/keoki_passiton.ogg" !
vorbisdec ! osssink

Here is the backtrace:
#0  0x0fac74d8 in sigset () from /lib/libc.so.6
#1  0x0f8d488c in pth_mctx_set () from
/usr/lib/gst/libgststandardscheduler.so
#2  0x0f8d404c in cothread_create ()
   from /usr/lib/gst/libgststandardscheduler.so
#3  0x0f87a1cc in _init () from /usr/lib/gst/libgstbasicscheduler.so
#4  0x0f87a7a0 in _init () from /usr/lib/gst/libgstbasicscheduler.so
#5  0x0f87bb3c in _init () from /usr/lib/gst/libgstbasicscheduler.so
#6  0x0ffb887c in gst_scheduler_state_transition ()
   from /usr/lib/libgstreamer-0.4.0.so.0
#7  0x0ffa367c in gst_element_set_state ()
   from /usr/lib/libgstreamer-0.4.0.so.0
#8  0x0f903ed4 in gst_filesrc_get_type () from
/usr/lib/gst/libgstelements.so
#9  0x0ffa2bf4 in gst_element_set_state ()
   from /usr/lib/libgstreamer-0.4.0.so.0
#10 0x0ff955ec in gst_bin_child_state_change ()
   from /usr/lib/libgstreamer-0.4.0.so.0
#11 0x0ffafa6c in gst_pipeline_new () from
/usr/lib/libgstreamer-0.4.0.so.0
#12 0x0ffa2bf4 in gst_element_set_state ()
   from /usr/lib/libgstreamer-0.4.0.so.0
#13 0x10001838 in main ()
Program received signal SIGUSR1, User defined signal 1.
(gdb) continue
Program received signal SIGILL, Illegal instruction.
0x7ffdff14 in ?? ()


Note, that the gstreamer headers (0.4.0) are the same (debs), and that
the only thing I change is the vorbis plugin. "apt-get install
--reinstall gstreamer-vorbis" and it's back running properly.

And here goes the weird stuff. If I substitute the filepath by the one
of an mp3, and vorbisdec by mad (with still the broken plugin
installed), same crash.

And I repeat again, just to make sure, reinstalling the plugin from the
package fixed it.

Anybody has an idea ?

Cheers

-- 
/Bastien Nocera
http://hadess.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20020802/f532b1ba/attachment.pgp>


More information about the gstreamer-devel mailing list