GNOME Bugzilla – Bug 607283
segfaults and/or miniobject warnings with GLib >= 2.23.2
Last modified: 2010-01-18 13:13:29 UTC
Created attachment 151655 [details] GST_DEBUG=5 output gst-launch playbin2 uri=http://www.youtube.com/demo/google_main.mp4?2 Stack trace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b5838c in gst_mini_object_replace (olddata=0x8878b0, newdata=0x61f250) at gstminiobject.c:392 392 GST_CAT_LOG (GST_CAT_REFCOUNTING, "replace %p (%d) with %p (%d)", (gdb) t a a bt
+ Trace 220117
Thread 1 (Thread 0x7ffff7fd16f0 (LWP 845))
How reproducible is that? Does it happens always? Tried playing it 5 times here, no occurrences. Are you using git head?
Same here, absolutely not reproducible with latest GIT or latest releases.
Just to make sure (since this smells a lot like #606965), could you run: ldd /home/phil/gst/jhbuild/install/lib64/gstreamer-0.10/libgstplaybin.so in the environment where you execute gst-launch?
(In reply to comment #3) > Just to make sure (since this smells a lot like #606965), could you run: > > ldd /home/phil/gst/jhbuild/install/lib64/gstreamer-0.10/libgstplaybin.so > > in the environment where you execute gst-launch? linux-vdso.so.1 => (0x00007fff0b7ff000) libgstpbutils-0.10.so.0 => /home/phil/gst/jhbuild/install/lib64/libgstpbutils-0.10.so.0 (0x00007faad9be3000) libgstinterfaces-0.10.so.0 => /home/phil/gst/jhbuild/install/lib64/libgstinterfaces-0.10.so.0 (0x00007faad99d1000) libgstvideo-0.10.so.0 => /home/phil/gst/jhbuild/install/lib64/libgstvideo-0.10.so.0 (0x00007faad97c8000) libgstreamer-0.10.so.0 => /home/phil/gst/jhbuild/install/lib64/libgstreamer-0.10.so.0 (0x00007faad94e7000) libgobject-2.0.so.0 => /home/phil/gst/jhbuild/install/lib64/libgobject-2.0.so.0 (0x00007faad92a0000) libgmodule-2.0.so.0 => /home/phil/gst/jhbuild/install/lib64/libgmodule-2.0.so.0 (0x00007faad909b000) libxml2.so.2 => /home/phil/gst/jhbuild/install/lib64/libxml2.so.2 (0x00007faad8d4b000) libgthread-2.0.so.0 => /home/phil/gst/jhbuild/install/lib64/libgthread-2.0.so.0 (0x00007faad8b46000) librt.so.1 => /lib/librt.so.1 (0x00007faad891b000) libglib-2.0.so.0 => /home/phil/gst/jhbuild/install/lib64/libglib-2.0.so.0 (0x00007faad8636000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007faad841a000) libc.so.6 => /lib/libc.so.6 (0x00007faad80aa000) libm.so.6 => /lib/libm.so.6 (0x00007faad7e26000) libgstbase-0.10.so.0 => /home/phil/gst/jhbuild/install/lib64/libgstbase-0.10.so.0 (0x00007faad7be7000) libdl.so.2 => /lib/libdl.so.2 (0x00007faad79e3000) libz.so.1 => /lib/libz.so.1 (0x00007faad77cb000) /lib64/ld-linux-x86-64.so.2 (0x00007faada034000)
Reverting glib commit 0f25115f fixes this issue.
*** This bug has been marked as a duplicate of bug 603590 ***
Actually not a duplicate. The mini object collect function should not assume that the destination is initialized. commit ed1247b561b02bf8066ba971a34f6d62e03899f5 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Mon Jan 18 13:57:29 2010 +0100 miniobject: The GValue collection function can not assume that the destinati ...and it will usually be either filled by zeroes or random values. Fixes bug #607283.