[Gstreamer-bugs] [Bug 111198] New - refing/unrefing threaded elements

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Apr 20 02:14:46 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=111198

Changed by uraeus at linuxrising.org.

--- shadow/111198	Sun Apr 20 05:14:46 2003
+++ shadow/111198.tmp.12561	Sun Apr 20 05:14:46 2003
@@ -0,0 +1,348 @@
+Bug#: 111198
+Product: GStreamer
+Version: 0.6.1
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: Uraeus at linuxrising.org               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.6.x
+URL: 
+Summary: refing/unrefing threaded elements
+
+Talked to Julien, this crash is caused by a bug in core regarding ref/unref
+of threaded elements. He needs help from Wim to fix it.
+
+
+Backtrace was generated from '/usr/bin/gst-player'
+
+[New Thread 1086894880 (LWP 14407)]
+[New Thread 1098714416 (LWP 14411)]
+[New Thread 1096613168 (LWP 14410)]
+[New Thread 1094511920 (LWP 14409)]
+[New Thread 1092410672 (LWP 14408)]
+0xffffe002 in ?? ()
+#0  0xffffe002 in ?? ()
+#1  0x401ff0a7 in libgnomeui_segv_handle (signum=-512) at
+gnome-ui-init.c:646
+#2  <signal handler called>
+#3  0x40035968 in g_object_steal_data () from
+/usr/lib/libgobject-2.0.so.0
+#4  0x40041659 in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+#5  0x40041be4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+#6  0x40121fb1 in gst_play_idle_signal (play=0x6be1) at play.c:339
+#7  0x40121cf2 in gst_play_default_idle (idle_data=0x82daea0) at
+play.c:266
+#8  0x40086743 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
+#9  0x40083b35 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
+#10 0x40084b78 in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+#11 0x40084e8d in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+#12 0x4008558f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+#13 0x40541f5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
+#14 0x0804b5da in main (argc=0, argv=0x0) at main.c:520
+#15 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
+
+Thread 5 (Thread 1092410672 (LWP 14408)):
+#0  0xffffe002 in ?? ()
+No symbol table info available.
+#1  0x4016a625 in gst_pad_push (pad=0x0, buf=0x8065748) at gstpad.c:2259
+        peer = (GstRealPad *) 0x46a1
+#2  0x4183d50b in gst_spider_identity_chain (pad=0x827a868,
+buf=0x8065748)
+    at gstspideridentity.c:193
+        ident = (GstSpiderIdentity *) 0x80e0788
+#3  0x4183e0f7 in gst_spider_identity_dumb_loop (ident=0x80e0788)
+    at gstspideridentity.c:386
+        buf = (GstBuffer *) 0xfffffffc
+#4  0x40eb48a2 in loop_group_schedule_function (argc=0, argv=0x80e0788)
+    at gstoptimalscheduler.c:922
+        entry = (GstElement *) 0x80e0788
+#5  0x40eb4264 in schedule_group (group=0x46a1) at
+gstoptimalscheduler.c:779
+No locals.
+#6  0x40eb42f6 in gst_opt_scheduler_schedule_run_queue
+(osched=0x80caf78)
+    at gstoptimalscheduler.c:810
+No locals.
+#7  0x40eb4591 in schedule_chain (chain=0x85bd6b0) at
+gstoptimalscheduler.c:851
+        groups = (GSList *) 0xfffffffc
+        osched = (GstOptScheduler *) 0x80caf78
+#8  0x40eb6d28 in gst_opt_scheduler_iterate (sched=0x80caf78)
+    at gstoptimalscheduler.c:1825
+        state = 4294967292
+        iterations = 1
+#9  0x40176a19 in gst_scheduler_iterate (sched=0x85bd6b0) at
+gstscheduler.c:732
+        sclass = (GstSchedulerClass *) 0xfffffffc
+#10 0x40150c20 in gst_bin_iterate_func (bin=0x825e580) at gstbin.c:891
+        state = 18081
+#11 0x40150e4d in gst_bin_iterate (bin=0x85bd6b0) at gstbin.c:936
+        oclass = (GstBinClass *) 0x825e580
+        running = 1
+#12 0x4017a8ef in gst_thread_main_loop (arg=0xfffffffc) at
+gstthread.c:723
+        thread = (GstThread *) 0x80cab50
+        stateset = -4
+        page_size = -4
+        stack_pointer = 0x411cd8f0
+        stack_offset = 1
+#13 0x4009b9f1 in g_static_private_free () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#14 0x408ad332 in start_thread () from /lib/tls/libpthread.so.0
+No symbol table info available.
+
+Thread 4 (Thread 1094511920 (LWP 14409)):
+#0  0xffffe002 in ?? ()
+No symbol table info available.
+#1  0x4016a625 in gst_pad_push (pad=0x80d8078, buf=0x80635d0) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80d7530
+#2  0x40ef9c65 in gst_tee_chain (pad=0x0, buf=0x80635d0) at gsttee.c:311
+        tee = (GstTee *) 0x80d0498
+        pads = (const GList *) 0x0
+#3  0x40eb5050 in gst_opt_scheduler_chain_wrapper (sinkpad=0x41af38e0, 
+    buffer=0x1200) at gstoptimalscheduler.c:1075
+No locals.
+#4  0x4016a625 in gst_pad_push (pad=0x80cd098, buf=0x80635d0) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80cd120
+#5  0x40ebc2d6 in volume_chain_int16 (pad=0x900, buf=0x80635d0)
+    at gstvolume.c:334
+        filter = (GstVolume *) 0x80cf370
+        out_buf = (GstBuffer *) 0x80635d0
+        data = (gint16 *) 0x41af38e0
+        i = 2304
+#6  0x40eb5050 in gst_opt_scheduler_chain_wrapper (sinkpad=0x41af38e0, 
+    buffer=0x1200) at gstoptimalscheduler.c:1075
+No locals.
+#7  0x4016a625 in gst_pad_push (pad=0x80ccf88, buf=0x80635d0) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80cd010
+#8  0x40eb47d4 in get_group_schedule_function (argc=0, argv=0x807ac58)
+    at gstoptimalscheduler.c:896
+        pads = (const GList *) 0x0
+#9  0x40eb4264 in schedule_group (group=0x1200) at
+gstoptimalscheduler.c:779
+No locals.
+#10 0x40eb42f6 in gst_opt_scheduler_schedule_run_queue
+(osched=0x80cdf70)
+    at gstoptimalscheduler.c:810
+No locals.
+#11 0x40eb4591 in schedule_chain (chain=0x807a898) at
+gstoptimalscheduler.c:851
+        groups = (GSList *) 0xd38
+        osched = (GstOptScheduler *) 0x80cdf70
+#12 0x40eb6d28 in gst_opt_scheduler_iterate (sched=0x80cdf70)
+    at gstoptimalscheduler.c:1825
+        state = 3384
+        iterations = 1
+#13 0x40176a19 in gst_scheduler_iterate (sched=0x807a898) at
+gstscheduler.c:732
+        sclass = (GstSchedulerClass *) 0xd38
+#14 0x40150c20 in gst_bin_iterate_func (bin=0x80ab4a0) at gstbin.c:891
+        state = 4608
+#15 0x40150e4d in gst_bin_iterate (bin=0x807a898) at gstbin.c:936
+        oclass = (GstBinClass *) 0x80ab4a0
+        running = 1
+#16 0x4017a8ef in gst_thread_main_loop (arg=0xd38) at gstthread.c:723
+        thread = (GstThread *) 0x80cac5c
+        stateset = 3384
+        page_size = 3384
+        stack_pointer = 0x413ce8f0
+        stack_offset = 1
+#17 0x4009b9f1 in g_static_private_free () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#18 0x408ad332 in start_thread () from /lib/tls/libpthread.so.0
+No symbol table info available.
+
+Thread 3 (Thread 1096613168 (LWP 14410)):
+#0  0xffffe002 in ?? ()
+No symbol table info available.
+#1  0x400896c4 in g_free () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#2  0x401513ab in gst_buffer_default_free (buffer=0x0) at
+gstbuffer.c:115
+No locals.
+#3  0x40156326 in gst_data_unref (data=0x0) at gstdata.c:246
+No locals.
+#4  0x40f473ab in gst_goom_chain (pad=0x80cda28, bufin=0x80636f0)
+    at gstgoom.c:369
+        goom = (GstGOOM *) 0x42bfd260
+        bufout = (GstBuffer *) 0x0
+        data = (gint16 *) 0xffffffff
+        i = 0
+#5  0x4016a625 in gst_pad_push (pad=0x80cd3c8, buf=0x80636f0) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80cda28
+#6  0x40eb47d4 in get_group_schedule_function (argc=0, argv=0x80e7e08)
+    at gstoptimalscheduler.c:896
+        pads = (const GList *) 0x0
+#7  0x40eb4264 in schedule_group (group=0xffffffff)
+    at gstoptimalscheduler.c:779
+No locals.
+#8  0x40eb42f6 in gst_opt_scheduler_schedule_run_queue
+(osched=0x80d0f48)
+    at gstoptimalscheduler.c:810
+No locals.
+#9  0x40eb4591 in schedule_chain (chain=0x80e7b00) at
+gstoptimalscheduler.c:851
+        groups = (GSList *) 0xfffffffc
+        osched = (GstOptScheduler *) 0x80d0f48
+#10 0x40eb6d28 in gst_opt_scheduler_iterate (sched=0x80d0f48)
+    at gstoptimalscheduler.c:1825
+        state = 4294967292
+        iterations = 1
+#11 0x40176a19 in gst_scheduler_iterate (sched=0x80e7b00) at
+gstscheduler.c:732
+        sclass = (GstSchedulerClass *) 0xfffffffc
+#12 0x40150c20 in gst_bin_iterate_func (bin=0x80ab530) at gstbin.c:891
+        state = 4294967295
+#13 0x40150e4d in gst_bin_iterate (bin=0x80e7b00) at gstbin.c:936
+        oclass = (GstBinClass *) 0x80ab530
+        running = 1
+#14 0x4017a8ef in gst_thread_main_loop (arg=0xfffffffc) at
+gstthread.c:723
+        thread = (GstThread *) 0x80cad68
+        stateset = -4
+        page_size = -4
+        stack_pointer = 0x415cf8f0
+        stack_offset = 1
+#15 0x4009b9f1 in g_static_private_free () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#16 0x408ad332 in start_thread () from /lib/tls/libpthread.so.0
+No symbol table info available.
+
+Thread 2 (Thread 1098714416 (LWP 14411)):
+#0  0x420d7ee6 in getpagesize () from /lib/tls/libc.so.6
+No symbol table info available.
+#1  0x42074875 in _int_free () from /lib/tls/libc.so.6
+No symbol table info available.
+#2  0x42073786 in free () from /lib/tls/libc.so.6
+No symbol table info available.
+#3  0x400896c4 in g_free () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#4  0x401513ab in gst_buffer_default_free (buffer=0x41e00010)
+    at gstbuffer.c:115
+No locals.
+#5  0x40156326 in gst_data_unref (data=0x41e00010) at gstdata.c:246
+No locals.
+#6  0x40f40809 in gst_xvideosink_chain (pad=0x80cd918, buf=0x8063f18)
+    at xvideosink.c:587
+        xvideosink = (GstXVideoSink *) 0x4358ca40
+        time = 43601933541
+        jitter = 0
+#7  0x40eb5050 in gst_opt_scheduler_chain_wrapper (sinkpad=0x1c5c8, 
+    buffer=0x5b7) at gstoptimalscheduler.c:1075
+No locals.
+#8  0x4016a625 in gst_pad_push (pad=0x80cd808, buf=0x8063f18) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80cd918
+#9  0x40f05fb2 in gst_colorspace_chain (pad=0x80cd780, buf=0x8063f18)
+    at gstcolorspace.c:545
+        space = (GstColorspace *) 0x80d2fb8
+        size = 135059328
+        outbuf = (GstBuffer *) 0x8063f18
+#10 0x40eb5050 in gst_opt_scheduler_chain_wrapper (sinkpad=0x1c5c8, 
+    buffer=0x5b7) at gstoptimalscheduler.c:1075
+No locals.
+#11 0x4016a625 in gst_pad_push (pad=0x80cd6f8, buf=0x8063f18) at
+gstpad.c:2259
+        peer = (GstRealPad *) 0x80cd780
+#12 0x40eb47d4 in get_group_schedule_function (argc=0, argv=0x80d3780)
+    at gstoptimalscheduler.c:896
+        pads = (const GList *) 0x0
+#13 0x40eb4264 in schedule_group (group=0x5b7) at
+gstoptimalscheduler.c:779
+No locals.
+#14 0x40eb42f6 in gst_opt_scheduler_schedule_run_queue
+(osched=0x80d35f0)
+    at gstoptimalscheduler.c:810
+No locals.
+#15 0x40eb4591 in schedule_chain (chain=0x80d3760) at
+gstoptimalscheduler.c:851
+        groups = (GSList *) 0x40015920
+        osched = (GstOptScheduler *) 0x80d35f0
+#16 0x40eb6d28 in gst_opt_scheduler_iterate (sched=0x80d35f0)
+    at gstoptimalscheduler.c:1825
+        state = 1073830176
+        iterations = 1
+#17 0x40176a19 in gst_scheduler_iterate (sched=0x80d3760) at
+gstscheduler.c:732
+        sclass = (GstSchedulerClass *) 0x40015920
+#18 0x40150c20 in gst_bin_iterate_func (bin=0x80ab4d0) at gstbin.c:891
+        state = 1463
+#19 0x40150e4d in gst_bin_iterate (bin=0x80d3760) at gstbin.c:936
+        oclass = (GstBinClass *) 0x80ab4d0
+        running = 1
+#20 0x4017a8ef in gst_thread_main_loop (arg=0x40015920) at
+gstthread.c:723
+        thread = (GstThread *) 0x80d3200
+        stateset = 1073830176
+        page_size = 1073830176
+        stack_pointer = 0x417d08f0
+        stack_offset = 1
+#21 0x4009b9f1 in g_static_private_free () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#22 0x408ad332 in start_thread () from /lib/tls/libpthread.so.0
+No symbol table info available.
+
+Thread 1 (Thread 1086894880 (LWP 14407)):
+#0  0xffffe002 in ?? ()
+No symbol table info available.
+#1  0x401ff0a7 in libgnomeui_segv_handle (signum=-512) at
+gnome-ui-init.c:646
+        in_segv = 1
+        pid = 0
+#2  <signal handler called>
+No symbol table info available.
+#3  0x40035968 in g_object_steal_data () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#4  0x40041659 in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#5  0x40041be4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#6  0x40121fb1 in gst_play_idle_signal (play=0x6be1) at play.c:339
+        signal = (GstPlaySignal *) 0x0
+        queue_length = -512
+#7  0x40121cf2 in gst_play_default_idle (idle_data=0x82daea0) at
+play.c:266
+No locals.
+#8  0x40086743 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#9  0x40083b35 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#10 0x40084b78 in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#11 0x40084e8d in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#12 0x4008558f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#13 0x40541f5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
+No symbol table info available.
+#14 0x0804b5da in main (argc=0, argv=0x0) at main.c:520
+        play_on_startup = 0
+        options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, 
+    arg = 0x401a9040, val = 0, descrip = 0x804b946 "GStreamer", 
+    argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 0,
+    arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
+        p = (GnomeProgram *) 0x80534d8
+        context = 0x8056310
+        argvn = (const gchar **) 0x406bc8b8
+        file = 0x406bc8b8 "\204





More information about the Gstreamer-bugs mailing list