After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 115399 - gstthread.c, line 181, assertion failed
gstthread.c, line 181, assertion failed
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: dont know
0.6.2
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-06-17 19:39 UTC by Mike Vitale
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Vitale 2003-06-17 19:39:17 UTC
I can't use my RhythmBox application because of a bug in gstthread.c, line 181.

Error that's given in a terminal window is:
GStreamer-ERROR **: file gstthread.c: line 181 (gst_thread_init): assertion
failed: (scheduler)
aborting...

Other information:

[root@halfadozen ~]$ dpkg -l | grep rhythmbox
ii  rhythmbox      0.4.8-5        music player and organizer for GNOME
[root@halfadozen ~]$ dpkg -l | grep gstream
ii  gstreamer-colorspace        0.6.2-1                     colorspace
conversion plugin for GStreamer
ii  gstreamer-doc               0.6.2-1                     GStreamer
documentation
ii  gstreamer-gconf             0.6.2-1                     GConf support
for GStreamer
ii  gstreamer-gnomevfs          0.6.2-1                     Gnome VFS
plugin for GStreamer
ii  gstreamer-mad               0.6.2-1                     MAD MPEG audio
decoder plugin for GStreamer
ii  gstreamer-misc              0.6.2-1                     Collection of
various GStreamer plugins
ii  gstreamer-oss               0.6.2-1                     OSS plugin for
GStreamer
ii  gstreamer-player            0.5.1-2                     GStreamer Media
Player
ii  gstreamer-plugin-libs       0.6.2-1                     Various
GStreamer library plugins
ii  gstreamer-vorbis            0.6.2-1                     Vorbis plugin
for GStreamer
ii  libgstreamer0.6-0           0.6.2-1                     Core GStreamer
libraries, plugins, and utilities


Last "n" lines from "strace rhythmbox" in my term:

gettimeofday({1055878632, 63902}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN|POLLPRI}, {fd=8,
events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN|POLLPRI},
{fd=14, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}], 9, 0) = 0
gettimeofday({1055878632, 64007}, NULL) = 0
writev(5, [{"GIOP\1\2\1\0\224\0\0\0", 12},
{"`\325\377\277\1\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\331\310"..., 148}], 2) = 160
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN|POLLPRI, revents=POLLIN},
{fd=8, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=15,
events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}], 6, -1) = 1
read(5, "GIOP\1\2\1\0014\0\0\0", 12)    = 12
read(5, "`\325\377\277\0\0\0\0\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1"..., 52) =
52gettimeofday({1055878632, 192940}, NULL) = 0
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
write(2, "\nGStreamer-ERROR **: file gstthr"..., 109
GStreamer-ERROR **: file gstthread.c: line 181 (gst_thread_init): assertion
failed: (scheduler)
aborting...
) = 109
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(14864, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
write(12, "\1\30\r\0g\7@\1\231\0@\1\377\377\377\377\1\0\1\0\0\0\1"...,
1020) = 1020
read(12, 0xbfffce20, 32)                = -1 EAGAIN (Resource temporarily
unavailable)
select(13, [12], NULL, NULL, NULL)      = 1 (in [12])
read(12, "\23\370\33\"g\7@\1g\7@\1\0\32\v\10\0\0\0\0\265,\v\1\30"..., 32) =
32read(12, "\23\370\"\"h\7@\1h\7@\1\0\32\v\10\0\0\0\0\266,\v\1\30\371"...,
32) = 32
read(12, "\22\370#\"g\7@\1g\7@\1\0\6\312\10g\7@\1\230\2321\0\30\371"...,
32) = 32
read(12, "\21\0$\"g\7@\1g\7@\1>\\\f\0100\5\262\10\340Wv\10\30\371"..., 32) = 32
read(12, "\22g%\"h\7@\1h\7@\1\0\6\312\10h\7@\1\230\2321\0\30\371"..., 32) =
32read(12, "\21\0&\"h\7@\1h\7@\1>\\\f\0100\5\262\10xTv\10\30\371\377"...,
32) = 32
read(12, "\23\370-\"i\7@\1i\7@\1\0\32\v\10\0\0\0\0\266,\v\1\30\371"..., 32)
= 32
read(12, "\23\3704\"j\7@\1j\7@\1\0\32\v\10\0\0\0\0\266,\v\1\30\371"..., 32)
= 32
read(12, "\23\7:\"k\7@\1k\7@\1\0\6\312\10k\7@\1\230\2321\0\30\371"..., 32) = 32
read(12, "\23\370A\"l\7@\1l\7@\1\0\32\v\10\0\0\0\0\266,\v\1\30\371"..., 32)
= 32
read(12, "\34\5B\"\231\0@\1\327\0\0\0\266,\v\1\0\0\0\0\231\0@\1\250"...,
32) = 32
read(12, "\34\5C\"\231\0@\1\'\0\0\0\266,\v\1\0\0\0\0\231\0@\1\250"..., 32) = 32
read(12, "\34\5D\"\231\0@\1\331\0\0\0\266,\v\1\0\0\0\0\231\0@\1\250"...,
32) = 32
read(12, "\34\5E\"\231\0@\1%\0\0\0\266,\v\1\0\0\0\0\231\0@\1\250"..., 32) =
32read(12, "\1\2H\"\0\0\0\0\232\0@\1\0\0\0\0\0\0\0\0\23\0\0\0\330\263"...,
32) = 32
fork()                                  = 14874
wait4(14874, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 14874
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [ABRT RTMIN])
exit_group(1)                           = ?
Comment 1 David Schleef 2003-06-17 20:14:38 UTC
This is a bug in the Debian packaging, so should be filed in the
Debian BTS (http://bugs.debian.org), on the package rhythmbox, or
possibly on one of the gstreamer packages.

You can fix the problem by installing gstreamer-core.

By the way, "strace" is "system call trace", not stack trace.
Comment 2 David I. Lehn 2003-06-17 20:33:19 UTC
It may be in the Debian packages, but it's not gstreamer-core.  What
used to be in that package was merged into libgstreamer0.6-0 in
0.6.2-1.    You may want to try debugging using the --gst-mask option
rather than strace.
Comment 3 Mike Vitale 2003-06-17 20:40:28 UTC
I....can do that.  :)

Everything up to the "-----------" part is rhythmbox loading. 
Everything after that happened when I hit the "play" button on the
GUI.  No sound is heard, and RhythmBox crashes right away.

-Mike

[mike@halfadozen ~]$ rhythmbox --gst-mask=0xFFFFFFFF
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: hertz
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: hertz-rate-bound
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: twelve-tone-scale
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: midi-note
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: seconds
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: nanoseconds
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: samples
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: scalar
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: scalar-int
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: decibel
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: percent
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: float
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: int
DEBUG(16600: 0)unitconvert.c(304): gst_unitconv_register_unit: :
creating unit: int64
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from nanoseconds to seconds
 
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from seconds to nanoseconds
 
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from seconds to samples
 
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from samples to seconds
 
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from scalar to percent
 
DEBUG(16600: 0)unitconvert.c(346): gst_unitconv_register_convert_func:
: adding unit converter from percent to scalar
 
INFO (16600: 0) Initializing GStreamer Core Library version 0.6.2
INFO (16600: 0) CPU features: (00000000) MMX SSE
DEBUG(16600: 0)gstelementfactory.c(106): gst_element_factory_find: :
no such elementfactory "bin"
DEBUG(16600: 0)gstelementfactory.c(106): gst_element_factory_find: :
no such elementfactory "pipeline"
DEBUG(16600: 0)gstelementfactory.c(106): gst_element_factory_find: :
no such elementfactory "thread"
DEBUG(16600: 0)gstelementfactory.c(106): gst_element_factory_find: :
no such elementfactory "queue"
DEBUG(16600: 0)gstelementfactory.c(106): gst_element_factory_find: :
no such elementfactory "typefind"
INFO (16600: 0)gstplugin.c(115): gst_plugin_register_func: : plugin
"(null)" initialised
INFO (16600: 0)gstbuffer.c(59): _gst_buffer_initialize: : Buffers are
initialized now
DEBUG(16600: 0)gstxmlregistry.c(460): plugin_times_older_than: :
comparing plugin times from /usr/lib/gstreamer-0.6 with 1055859372
 
INFO (16600: 0)gstxmlregistry.c(427): plugin_times_older_than_recurse:
: time for /usr/lib/gstreamer-0.6 was 1055859394; more recent than
registry time of 1055859372
 
INFO (16600: 0)gstxmlregistry.c(516): gst_xml_registry_open_func: :
Can't write to this registry and it's out of date, ignoring it
 
---------------
 
DEBUG(16600: 0)gstelementfactory.c(270): gst_element_factory_make: :
gstelementfactory: make "thread" "pipeline"
DEBUG(16600: 0)gstelementfactory.c(219): gst_element_factory_create: :
creating element from factory "thread" (name "pipeline", type 135015056)
DEBUG(16600: 0)gstthread.c(173): gst_thread_init: : initializing thread
DEBUG(16600: 0)gstscheduler.c(876): gst_scheduler_factory_find: :
gstscheduler: find "opt"
 
GStreamer-ERROR **: file gstthread.c: line 181 (gst_thread_init):
assertion failed: (scheduler)
aborting...
Comment 4 David Schleef 2003-06-17 20:50:01 UTC
Yeah.  Ignore me.  I transposed some digits and got confused.