[Gstreamer-bugs] [Bug 118151] New - Crash in new gst_debug code

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Wed Jul 23 15:56:00 PDT 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=118151

Changed by bugs at prettypeople.org.

--- shadow/118151	Wed Jul 23 18:56:00 2003
+++ shadow/118151.tmp.3473	Wed Jul 23 18:56:00 2003
@@ -0,0 +1,50 @@
+Bug#: 118151
+Product: GStreamer
+Version: HEAD CVS
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: bugs at prettypeople.org               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: Crash in new gst_debug code
+
+Found this crash in with Marlin, but the Marlin code hasn't changed since
+before the new GstDebug stuff landed.
+
+Basic scenerio is GstThread hits EOF, Marlin changes the state of this
+pipeline to GST_STATE_NULL and this happens.
+I had to set MALLOC_CHECK_ to 2 to see the crash, otherwise, the
+application continues and eventually gives an X ASync error and dies
+shortly afterwards.
+
+(gdb) bt
+#0  0x40cb064b in strlen () at strlen:-1
+#1  0x40c816b4 in vfprintf () from /lib/libc.so.6
+#2  0x40ca1867 in vasprintf () from /lib/libc.so.6
+#3  0x40c0d549 in g_vasprintf (string=0xbf7ff9fc,
+    format=0x40951380 "gstthread: thread \"%s\" is stopped",
+    args=0xbf7ffa88 "??????\177? ?") at gprintf.c:295
+#4  0x40c00ae5 in g_strdup_vprintf (
+    format=0x40951380 "gstthread: thread \"%s\" is stopped",
+    args=0xbf7ffa88 "??????\177? ?") at gstrfuncs.c:189
+#5  0x409230c5 in gst_debug_logv (category=0x80a4550, level=GST_LEVEL_INFO,
+    file=0x40950fba "gstthread.c", function=0x409510d4 "gst_thread_main_loop",
+    line=576, object=0x0,
+    format=0xaaaaaaaa <Address 0xaaaaaaaa out of bounds>,
+    args=0xbf7ffa88 "??????\177? ?") at gstinfo.c:287
+#6  0x40923073 in gst_debug_log (category=0x80a4550, level=GST_LEVEL_INFO,
+    file=0x40950fba "gstthread.c", function=0x409510d4 "gst_thread_main_loop",
+    line=576, object=0x0,
+    format=0x40951380 "gstthread: thread \"%s\" is stopped") at gstinfo.c:258
+#7  0x409381aa in gst_thread_main_loop (arg=0x819a30c) at gstthread.c:579
+#8  0x40c05180 in g_thread_create_proxy (data=0x81df8d8) at gthread.c:563
+#9  0x408184f0 in pthread_start_thread () from /lib/libpthread.so.0
+#10 0x4081856f in pthread_start_thread_event () from /lib/libpthread.so.0
+(gdb)




More information about the Gstreamer-bugs mailing list