GNOME Bugzilla – Bug 657209
Setting playbin2's uri inside about-to-finish signal handler does not work
Last modified: 2011-08-24 05:58:47 UTC
I'm using gst-plugins-base-0.10.32.2/tests/icles/playback/test7.c to test the gap-less playback feature of playbin2 but it is not working. Running the unmodified example plays great for the first uri, executes the about_to_finish_cb properly, but when it is supposed to play the next URI, throws the message bellow: (test7:7165): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed Same behavior on 0.10.35 (on gst-plugins-base-0.10.35/tests/icles/playback). Some times we get a SIGABRT and other times (less frequent) a SIGSEGV. Here is the backtrace on the 0.10.35 getting a SIGABRT: mabio@mabio-laptop:~/stage/gstreamer/new/updates/gst-plugins-base-0.10.35/tests/icles/playback$ G_DEBUG="fatal_warnings" gdb --args ./test7 file:///tmp/Fut.mpg file:///tmp/Fut.mpg GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Lendo símbolos de /home/mabio/stage/gstreamer/new/updates/gst-plugins-base-0.10.35/tests/icles/playback/test7...concluído. (gdb) ? command indefinido: "". Tente "help". (gdb) r Starting program: /home/mabio/stage/gstreamer/new/updates/gst-plugins-base-0.10.35/tests/icles/playback/test7 file:///tmp/Fut.mpg file:///tmp/Fut.mpg [Thread debugging using libthread_db enabled] [New Thread 0x7ffff3925700 (LWP 8270)] [New Thread 0x7ffff3124700 (LWP 8271)] [New Thread 0x7ffff271c700 (LWP 8272)] [New Thread 0x7fffeb5c2700 (LWP 8275)] [New Thread 0x7fffea6d9700 (LWP 8276)] [New Thread 0x7fffe821e700 (LWP 8277)] [New Thread 0x7fffe33ec700 (LWP 8278)] 0:00:00.000000000 / 0:00:31.073381671 [New Thread 0x7fffe2aed700 (LWP 8280)] NEW CLOCK: GstPulseSinkClock 0:00:00.291144000 / 0:00:31.073381671 [Thread 0x7fffe2aed700 (LWP 8280) exited] 0:00:00.771362000 / 0:00:31.073381671 0:00:01.311453000 / 0:00:31.073381671 0:00:01.833496000 / 0:00:31.073381671 0:00:02.334023000 / 0:00:31.073381671 0:00:02.832378000 / 0:00:31.073381671 0:00:03.344656000 / 0:00:31.073381671 0:00:03.842930000 / 0:00:31.073381671 0:00:04.343099000 / 0:00:31.073381671 0:00:04.847217000 / 0:00:31.073381671 0:00:05.346912000 / 0:00:31.073381671 0:00:05.847119000 / 0:00:31.073381671 0:00:06.353389000 / 0:00:31.073381671 0:00:06.853959000 / 0:00:31.073381671 0:00:07.354640000 / 0:00:31.073381671 0:00:07.853932000 / 0:00:31.073381671 0:00:08.354642000 / 0:00:31.073381671 0:00:08.854625000 / 0:00:31.073381671 0:00:09.356066000 / 0:00:31.073381671 0:00:09.855973000 / 0:00:31.073381671 0:00:10.357279000 / 0:00:31.073381671 0:00:10.856632000 / 0:00:31.073381671 0:00:11.357248000 / 0:00:31.073381671 0:00:11.857240000 / 0:00:31.073381671 0:00:12.358675000 / 0:00:31.073381671 0:00:12.858674000 / 0:00:31.073381671 0:00:13.359274000 / 0:00:31.073381671 0:00:13.858424000 / 0:00:31.073381671 0:00:14.359049000 / 0:00:31.073381671 0:00:14.858982000 / 0:00:31.073381671 0:00:15.360361000 / 0:00:31.073381671 0:00:15.860352000 / 0:00:31.073381671 0:00:16.361043000 / 0:00:31.073381671 0:00:16.860222000 / 0:00:31.073381671 0:00:17.360880000 / 0:00:31.073381671 0:00:17.860847000 / 0:00:31.073381671 0:00:18.362168000 / 0:00:31.073381671 0:00:18.862116000 / 0:00:31.073381671 0:00:19.362661000 / 0:00:31.073381671 0:00:19.861809000 / 0:00:31.073381671 0:00:20.362468000 / 0:00:31.073381671 0:00:20.862558000 / 0:00:31.073381671 0:00:21.363797000 / 0:00:31.073381671 0:00:21.863696000 / 0:00:31.073381671 0:00:22.364425000 / 0:00:31.073381671 0:00:22.863868000 / 0:00:31.073381671 0:00:23.364562000 / 0:00:31.073381671 0:00:23.864493000 / 0:00:31.073381671 0:00:24.365813000 / 0:00:31.073381671 0:00:24.865687000 / 0:00:31.073381671 0:00:25.366263000 / 0:00:31.073381671 0:00:25.865459000 / 0:00:31.073381671 0:00:26.366265000 / 0:00:31.073381671 0:00:26.866279000 / 0:00:31.073381671 0:00:27.367540000 / 0:00:31.073381671 0:00:27.867341000 / 0:00:31.073381671 0:00:28.367860000 / 0:00:31.073381671 0:00:28.867048000 / 0:00:31.073381671 0:00:29.367695000 / 0:00:31.073381671 0:00:29.867663000 / 0:00:31.073381671 0:00:30.368970000 / 0:00:31.073381671 0:00:30.868801000 / 0:00:31.073381671 [New Thread 0x7fffe2aed700 (LWP 8491)] [New Thread 0x7fffe2071700 (LWP 8492)] [New Thread 0x7fffe1870700 (LWP 8493)] [Thread 0x7fffe821e700 (LWP 8277) exited] [Thread 0x7fffeb5c2700 (LWP 8275) exited] GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed aborting... Program received signal SIGABRT, Aborted.
+ Trace 228175
Thread 140736977110784 (LWP 8493)
Thread 140736995456768 (LWP 8617)
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 653840 ***
*** This bug has been marked as a duplicate of bug 656715 ***