[Gstreamer-bugs] [Bug 107909] New - seg fault on simple threaded app

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Mar 9 01:55:43 PST 2003


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=107909

Changed by august at alien.mur.at.

--- shadow/107909	Sun Mar  9 04:55:43 2003
+++ shadow/107909.tmp.16177	Sun Mar  9 04:55:43 2003
@@ -0,0 +1,46 @@
+Bug#: 107909
+Product: GStreamer
+Version: 0.6.0
+OS: Linux
+OS Details: Red Hat Linux 7.3
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: august at alien.mur.at               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.6.x
+URL: 
+Summary: seg fault on simple threaded app
+
+I have an app with two threads
+
+thread1 has: filesrc, decode (mad), queue
+thread2 has: osssink
+pipeline has: thread1, thread2
+
+linked so: filesrc->decode->queue->ossink
+
+the player plays the mp3 fine for a while, but always seg faults at the
+same time (no matter which mp3 file is used)
+
+gdb reports
+
+#0  0x420828f5 in memcpy () from /lib/i686/libc.so.6
+#1  0x40265aae in gst_mad_chain (pad=0x8100310, buffer=0x8055d38) at
+gstmad.c:1049
+#2  0x4001e1ed in gst_basic_scheduler_chain_wrapper (argc=0,
+argv=0x81026a8) at gstbasicscheduler.c:338
+#3  0x40022338 in cothread_stub () at cothreads.c:462
+#4  0x4204d8a4 in makecontext () from /lib/i686/libc.so.6
+#5  0x400210a4 in gst_basic_scheduler_iterate (sched=0x80b2e98) at
+gstbasicscheduler.c:1362
+#6  0x40060372 in gst_scheduler_iterate (sched=0x80b2e98) at gstscheduler.c:732
+#7  0x400423fe in gst_bin_iterate_func (bin=0x80b2320) at gstbin.c:892
+#8  0x40042577 in gst_bin_iterate (bin=0x80b2320) at gstbin.c:935
+#9  0x400637b0 in gst_thread_main_loop (arg=0x80b2320) at gstthread.c:723
+#10 0x401f7fbe in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0
+#11 0x400defef in pthread_start_thread () from /lib/i686/libpthread.so.0
+#12 0x400df0df in pthread_start_thread_event () from /lib/i686/libpthread.so.0





More information about the Gstreamer-bugs mailing list