[Gstreamer-bugs] [Bug 102025] New - [Patch] Crash on exit/stop if sound was already in use

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Dec 26 16:55:54 PST 2002


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=102025

Changed by azarah at gentoo.org.

--- shadow/102025	Thu Dec 26 19:55:54 2002
+++ shadow/102025.tmp.21393	Thu Dec 26 19:55:54 2002
@@ -0,0 +1,98 @@
+Bug#: 102025
+Product: GStreamer
+Version: 0.5.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: azarah at gentoo.org               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.4.0
+URL: 
+Summary: [Patch] Crash on exit/stop if sound was already in use
+
+Its primarily with rhythmbox-0.4.1.  If the sound device (OSS) was in use
+before rhythmbox are started, and you either:
+
+ 1) start to play a song, and then pause it
+
+ 2) exit
+
+gstreamer segfault.
+
+gdb output of crash:
+
+----------------------------------------
+# gdb /usr/bin/rhythmbox 
+GNU gdb 5.3
+Copyright 2002 Free Software Foundation, Inc.
+GDB is free software, covered by the GNU General Public License, and you are
+welcome to change it and/or distribute copies of it under certain conditions.
+Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB.  Type "show warranty" for details.
+This GDB was configured as "i686-pc-linux-gnu"...
+(gdb) run
+Starting program: /usr/bin/rhythmbox 
+[New Thread 16384 (LWP 4438)]
+INFO ( 4438: 0) Initializing GStreamer Core Library version 0.5.0 
+INFO ( 4438: 0) CPU features: (00000000) MMX SSE 
+registry: loaded user_registry in 0.000195 seconds
+          (/root/.gstreamer/registry.xml)
+registry: loaded global_registry in 0.097420 seconds
+          (/var/lib/cache/gstreamer-0.5/registry.xml)
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+building level
+[New Thread 32769 (LWP 4447)]
+[New Thread 16386 (LWP 4448)]
+[New Thread 32771 (LWP 4449)]
+building level
+building level
+[New Thread 49156 (LWP 4450)]
+[New Thread 65541 (LWP 4451)]
+
+** (rhythmbox:4451): WARNING **: osscommon: unable to open the sound device
+(in use ?)
+
+
+Program received signal SIGINT, Interrupt.
+[Switching to Thread 65541 (LWP 4451)]
+0x4202d561 in kill () from /lib/libc.so.6
+(gdb) bt
+#0  0x4202d561 in kill () from /lib/libc.so.6
+#1  0x4227aaed in pthread_kill () from /lib/libpthread.so.0
+#2  0x4227ae0b in raise () from /lib/libpthread.so.0
+#3  0x08063677 in rb_debug_stop_in_debugger () at rb-debug.c:137
+#4  0x080636d1 in log_handler (domain=0x0, level=G_LOG_LEVEL_WARNING,
+message=0x4098844c "osscommon: unable to open the sound device (in use ?)\n", 
+    data=0x0) at rb-debug.c:154
+#5  0x4253a447 in g_logv () from /usr/lib/libglib-2.0.so.0
+#6  0x4253a624 in g_log () from /usr/lib/libglib-2.0.so.0
+#7  0x4017be6d in gst_osscommon_open_audio () from
+/usr/lib/gstreamer-0.5/libgstossaudio.so
+#8  0x40177d82 in gst_osssink_change_state () from
+/usr/lib/gstreamer-0.5/libgstossaudio.so
+#9  0x400691ff in gst_element_set_state (element=0x82d6580,
+state=GST_STATE_READY) at gstelement.c:1938
+#10 0x40058d8e in gst_bin_change_state (element=0x82cad00) at gstbin.c:582
+#11 0x4008a506 in gst_thread_main_loop (arg=0x82cad00) at gstthread.c:592
+#12 0x42549fb7 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0
+#13 0x42278120 in pthread_start_thread () from /lib/libpthread.so.0
+#14 0x42278222 in pthread_start_thread_event () from /lib/libpthread.so.0
+(gdb)





More information about the Gstreamer-bugs mailing list