GNOME Bugzilla – Bug 132468
player segfaults at end of any avi play in colorspace convertion fct
Last modified: 2009-08-15 18:40:50 UTC
time tick 203945500000 Program received signal SIGSEGV, Segmentation fault.
+ Trace 43474
Thread 32771 (LWP 32115)
retried with basicgthread did the same crash even if the back-trace is smaller : (gdb) f 0
+ Trace 43476
$1 = {data = {0x43a98008 "", 0x0, 0x0, 0x0}, linesize = {2048, 0, 0, 0}} (gdb) p *src $2 = {data = {0x0, 0x30000 <Address 0x30000 out of bounds>, 0x3c000 <Address 0x3c000 out of bounds>, 0x0}, linesize = {512, 256, 256, 0}} file uploaded there : http://www.leroutier.net/Comme.des.connards.avi it is an xvid avi got the crash with another xvid avi too
(gdb) p *src $2 = {data = {0x0, That tells me input data is NULL, which should never happen. So probably a decoder bug.
problem traced back to divxdec ffdec_mpeg4 & xviddec do not segfault. divxdec does gst-launch-0.7 filesrc location=/mnt/windows/D/Zarbi/gstreamer/supported/riff-avi/xvid/Les.conards.-.Comme.des.connards.avi ! avidemux ! divxdec ! fakesink avidemux0. ! mad ! fakesink RUNNING pipeline ... Execution ended after 10198 iterations (sum 3975717000 ns, average 389852 ns, min 14000 ns, max 201575000 ns). ** (process:867): WARNING **: opt: unlink elements in same group: implement me (process:867): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstObject' (process:867): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstElement' Erreur de segmentation == Seg-fault
Afaik, that's an opt bug. Please try --gst-scheduler=basicgthread or basicgthreads (forgot which one).
gst-launch-0.7 --gst-scheduler=basicgthread filesrc location=/mnt/windows/D/Zarbi/gstreamer/supported/riff-avi/xvid/Les.conards.-.Comme.des.connards.avi ! avidemux ! divxdec ! fakesink avidemux0. ! mad ! fakesink RUNNING pipeline ... Execution ended after 8491 iterations (sum 4309942000 ns, average 507589 ns, min 5000 ns, max 181407000 ns). (process:1986): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstObject' (process:1986): GStreamer-CRITICAL **: file gstelement.c: line 3149 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed (process:1986): GLib-GObject-WARNING **: invalid cast from `(null)' to `GstObject' (process:1986): GStreamer-CRITICAL **: file gstelement.c: line 3149 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed
Stephane, can you still reproduce this?
i retried gst-player with the video i uploaded before and it does not crash anymore at the end of the video. optsched fixed ? only warnings i had were at the start : (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 813 (gst_tag_list_foreach): assertion `GST_IS_TAG_LIST (list)' failed (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 631 (gst_tag_list_free): assertion `GST_IS_TAG_LIST (list)' failed (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 813 (gst_tag_list_foreach): assertion `GST_IS_TAG_LIST (list)' failed (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 631 (gst_tag_list_free): assertion `GST_IS_TAG_LIST (list)' failed (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 813 (gst_tag_list_foreach): assertion `GST_IS_TAG_LIST (list)' failed (gst-player:16882): GStreamer-CRITICAL **: file gsttag.c: line 631 (gst_tag_list_free): assertion `GST_IS_TAG_LIST (list)' failed but it is not related. so, closing this bug thx
argh, what the fuck !!! well, technically, it did not crash (no segfault, still running) but the window is now no more updated and no more redrawn, so it is stalled.
trying with gst-launch and 2 != schedulers : root@leroutier58 leroutier # gst-launch-0.7 --gst-scheduler=basicgthread filesrc location=/mnt/windows/M2/Audio/Musique/Michael\ Youn/Les\ Connards/Les.conards.-.Comme.des.connards.avi ! avidemux ! divxdec ! fakesink avidemux0. ! mad ! fakesink EXECUTION du tube en cours ... Execution ended after 8492 iterations (sum 4821180000 ns, average 567731 ns, min 4000 ns, max 111883000 ns). (process:17523): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstObject' (process:17523): GStreamer-CRITICAL **: file gstelement.c: line 3167 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed (process:17523): GLib-GObject-WARNING **: invalid cast from `(null)' to `GstObject' (process:17523): GStreamer-CRITICAL **: file gstelement.c: line 3167 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed root@leroutier58 leroutier # root@leroutier58 leroutier # root@leroutier58 leroutier # gst-launch-0.7 filesrc location=/mnt/windows/M2/Audio/Musique/Michael\ Youn/Les\ Connards/Les.conards.-.Comme.des.connards.avi ! avidemux ! divxdec ! fakesink avidemux0. ! mad ! fakesink EXECUTION du tube en cours ... Execution ended after 10198 iterations (sum 3408580000 ns, average 334240 ns, min 13000 ns, max 94694000 ns). ** (process:17531): WARNING **: opt: unlink elements in same group: implement me (process:17531): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstObject' (process:17531): GStreamer-CRITICAL **: file gstelement.c: line 3167 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed (process:17531): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GstObject' (process:17531): GStreamer-CRITICAL **: file gstelement.c: line 3167 (gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed
Is this still reproduceable?
The file gives me a 404. I still don't know if I can mark this fixed. ;).
Nothing heard so marking as fixed.