[Gstreamer-bugs] [Bug 102563] New - `GST_DATA_REFCOUNT_VALUE (data) > 0' failed

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Jan 5 01:09:05 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=102563

Changed by vishnu at pobox.com.

--- shadow/102563	Sun Jan  5 04:09:05 2003
+++ shadow/102563.tmp.12315	Sun Jan  5 04:09:05 2003
@@ -0,0 +1,143 @@
+Bug#: 102563
+Product: GStreamer
+Version: cvs
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: vishnu at pobox.com               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.4.0
+URL: 
+Summary: `GST_DATA_REFCOUNT_VALUE (data) > 0' failed
+
+This is easy to reproduce.
+
+joshua at emit:~/gst/gst-plugins/examples/indexing$ ./indexmpeg -q 1
+/local/aleader/original/AlienSong.mpg
+INFO ( 2830: 0) Initializing GStreamer Core Library version 0.5.0.1
+INFO ( 2830: 0) CPU features: (0081813f) MMX
+registry: loaded user_registry in 0.226414 seconds
+          (/home/joshua/.gstreamer/registry.xml)
+registry: loaded global_registry in 0.031504 seconds
+          (/home/joshua/gst/gstreamer/registry.xml)
+/pipeline/src.src: active = TRUE
+/pipeline/demux.sink: active = TRUE
+indexing /local/aleader/original/AlienSong.mpg...
+/pipeline/demux: streaminfo = (GstCaps *) { application/x-gst-streaminfo;
+mpegversion=(int) 1; bitrate=(int) 600000 }
+/pipeline/src.src: caps = (GstCaps *) { video/mpeg; mpegversion=(int) 1;
+systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
+/pipeline/demux.sink: caps = (GstCaps *) { video/mpeg; mpegversion=(int) 1;
+systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
+/pipeline/src.src: active = FALSE
+/pipeline/demux.sink: active = FALSE
+/pipeline/demux.video_00: caps = (GstCaps *) { video/mpeg;
+mpegversion=(int) 1; systemstream=(boolean) FALSE }
+/pipeline/src.src: active = TRUE
+/pipeline/demux.sink: active = TRUE
+/pipeline/demux.audio_00: active = TRUE
+/pipeline/demux.video_00: active = TRUE
+/pipeline/demux.video_00: caps = (GstCaps *) { video/mpeg;
+mpegversion=(int) 1; systemstream=(boolean) FALSE }
+/pipeline/video_bin/video_decoder.sink: caps = (GstCaps *) { video/mpeg;
+mpegversion=(int) 1; systemstream=(boolean) FALSE }
+/pipeline/video_bin/video_decoder.sink: active = TRUE
+/pipeline/video_bin/video_decoder.src: active = TRUE
+/pipeline/video_bin/video_decoder.user_data: active = TRUE
+/pipeline/video_bin/video_decoder.src: caps = (GstCaps *) { video/raw;
+format=(fourcc) 'I420'; width=(int) 320; height=(int) 240;
+pixel_width=(int) 1; pixel_height=(int) 1 }
+/pipeline/video_bin/video_decoder: streaminfo = (GstCaps *) {
+application/x-gst-streaminfo; bitrate=(int) 480000; framerate=(float)
+24.000000 }
+/pipeline/src.src: active = FALSE
+/pipeline/video_bin/video_decoder.sink: active = FALSE
+/pipeline/video_bin/video_decoder.src: active = FALSE
+/pipeline/video_bin/video_decoder.user_data: active = FALSE
+/pipeline/demux.sink: active = FALSE
+/pipeline/demux.audio_00: active = FALSE
+/pipeline/demux.video_00: active = FALSE
+
+/pipeline/demux.video_00: caps = (GstCaps *) { video/mpeg;
+mpegversion=(int) 1; systemstream=(boolean) FALSE }
+/pipeline/video_bin/video_decoder.sink: caps = (GstCaps *) { video/mpeg;
+mpegversion=(int) 1; systemstream=(boolean) FALSE }
+seeking /local/aleader/original/AlienSong.mpg...
+/pipeline/src.src: active = TRUE
+/pipeline/demux.sink: active = TRUE
+/pipeline/demux.audio_00: active = TRUE
+/pipeline/demux.video_00: active = TRUE
+/pipeline/video_bin/video_decoder.sink: active = TRUE
+/pipeline/video_bin/video_decoder.src: active = TRUE
+/pipeline/video_bin/video_decoder.user_data: active = TRUE
+/pipeline/sink.sink: active = TRUE
+/pipeline/demux: streaminfo = (GstCaps *) { application/x-gst-streaminfo;
+mpegversion=(int) 1; bitrate=(int) 600000 }
+/pipeline/src.src: caps = (GstCaps *) { video/mpeg; mpegversion=(int) 1;
+systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
+/pipeline/demux.sink: caps = (GstCaps *) { video/mpeg; mpegversion=(int) 1;
+systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
+/pipeline/sink.sink: caps = (GstCaps *) { video/raw; format=(fourcc)
+'YV12'; width=(int) 320;
+height=(int) 240; pixel_width=(int) 1; pixel_height=(int) 1 }
+/pipeline/video_bin/video_decoder.src: caps = (GstCaps *) { video/raw;
+format=(fourcc) 'YV12'; width=(int) 320; height=(int) 240;
+pixel_width=(int) 1; pixel_height=(int) 1 }
+/pipeline/video_bin/video_decoder: streaminfo = (GstCaps *) {
+application/x-gst-streaminfo; bitrate=(int) 480000; framerate=(float)
+24.000000 }
+
+(process:2830): GStreamer-CRITICAL **: file gstdata.c: line 239
+(gst_data_unref): assertion `GST_DATA_REFCOUNT_VALUE (data) > 0' failed
+/pipeline/src.src: active = FALSE
+/pipeline/sink.sink: active = FALSE
+/pipeline/video_bin/video_decoder.sink: active = FALSE
+/pipeline/video_bin/video_decoder.src: active = FALSE
+/pipeline/video_bin/video_decoder.user_data: active = FALSE
+/pipeline/demux.sink: active = FALSE
+/pipeline/demux.audio_00: active = FALSE
+/pipeline/demux.video_00: active = FALSE
+
+i also did "b g_log" in gdb and got a stack trace:
+
+Breakpoint 1, 0x404fdd8b in g_log () from /usr/lib/libglib-2.0.so.0
+(gdb) where
+#0  0x404fdd8b in g_log () from /usr/lib/libglib-2.0.so.0
+#1  0x4002dcc2 in gst_data_unref ()
+   from /home/joshua/gst/gstreamer/gst/.libs/libgstreamer-0.5.so.1
+#2  0x407f4996 in gst_mpeg2dec_chain (pad=0x8096050, buf=0x8057aa0) at
+gstmpeg2dec.c:611
+#3  0x407be578 in gst_basic_scheduler_chain_wrapper (argc=0, argv=0x809a818)
+    at gstbasicscheduler.c:335
+#4  0x407c367f in cothread_stub ()
+   from
+/home/joshua/gst/gstreamer/gst/schedulers/.libs/libgstbasicomegascheduler.so
+#5  0x405ceb44 in makecontext () from /lib/libc.so.6
+#6  0x407bec79 in gst_basic_scheduler_chainhandler_proxy (pad=0x4b00c,
+buf=0x8096368)
+    at gstbasicscheduler.c:408
+#7  0x08096368 in ?? ()
+#8  0x407e2c52 in gst_mpeg_parse_loop (element=0x8098318) at gstmpegparse.c:444
+#9  0x407bdf2e in gst_basic_scheduler_loopfunc_wrapper (argc=0, argv=0x8098318)
+    at gstbasicscheduler.c:277
+...
+(gdb)
+#2  0x407f4996 in gst_mpeg2dec_chain (pad=0x8096050, buf=0x8057aa0) at
+gstmpeg2dec.c:611
+611               gst_buffer_unref ((GstBuffer *)info->discard_fbuf->id);
+(gdb) l
+606               else {
+607                 gst_pad_push (mpeg2dec->srcpad, outbuf);
+608               }
+609             }
+610             if (info->discard_fbuf && info->discard_fbuf->id) {
+611               gst_buffer_unref ((GstBuffer *)info->discard_fbuf->id);
+612             }
+613             break;
+614           }
+615           /* need more data */





More information about the Gstreamer-bugs mailing list