[gstreamer-bugs] [Bug 583318] New: Assertion from within playbin2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 20 03:40:01 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=583318

  GStreamer | gst-plugins-base | Ver: git
           Summary: Assertion from within playbin2
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Sometimes on quitting Totem I get:

(gdb) bt
#0  IA__g_log (log_domain=0x7fb53c "GLib-GObject",
log_level=G_LOG_LEVEL_CRITICAL, format=0x77c175 "%s: assertion `%s' failed") at
gmessages.c:518
#1  0x007288cb in IA__g_return_if_fail_warning (log_domain=0x7fb53c
"GLib-GObject", pretty_function=0x7fcfa4 "g_object_get", expression=0x7fc112
"G_IS_OBJECT (object)") at gmessages.c:541
#2  0x007d7d7f in IA__g_object_get (_object=0x846cb90,
first_property_name=0x59bd21a "volume") at gobject.c:1585
#3  0x059a4d7b in gst_play_sink_get_volume (playsink=0x83a1330) at
gstplaysink.c:577
#4  0x059a3579 in gst_play_bin_get_property (object=0x843a208, prop_id=17,
value=0xbfffd53c, pspec=0x842b770) at gstplaybin2.c:1614
#5  0x007d7b00 in object_get_property (value=<value optimized out>,
pspec=<value optimized out>, object=<value optimized out>) at gobject.c:904
#6  IA__g_object_get_valist (value=<value optimized out>, pspec=<value
optimized out>, object=<value optimized out>) at gobject.c:1498
#7  0x007d7da6 in IA__g_object_get (_object=0x843a208,
first_property_name=0x809d8b1 "volume") at gobject.c:1588
#8  0x08082127 in bacon_video_widget_get_volume (bvw=0x8436090) at
bacon-video-widget-gst-0.10.c:3697
#9  0x080664b5 in totem_action_exit (totem=0x825a860) at totem-object.c:908
#10 0x08067d14 in totem_action_handle_key_press (totem=0x825a860, event=0x0) at
totem-object.c:3474
#11 0x037b96e4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x80b5588,
return_value=0xbfffd7d4, n_param_values=2, param_values=0x826dfb8,
invocation_hint=0xbfffd7c0, marshal_data=0x8068220) at gtkmarshalers.c:84
#12 0x007d3352 in IA__g_closure_invoke (closure=0x80b5588,
return_value=0xbfffd7d4, n_param_values=2, param_values=0x826dfb8,
invocation_hint=0xbfffd7c0) at gclosure.c:767
#13 0x007e8bc8 in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x829a3a8, emission_return=0xbfffd91c,
instance_and_params=0x826dfb8) at gsignal.c:3247
#14 0x007e9e08 in IA__g_signal_emit_valist (instance=0x829a3a8, signal_id=60,
detail=0, var_args=0xbfffd980 "\274\331\377\277\244q|") at gsignal.c:2990
#15 0x007ea406 in IA__g_signal_emit (instance=0x829a3a8, signal_id=60,
detail=0) at gsignal.c:3037
#16 0x038d4c9e in gtk_widget_event_internal (widget=<value optimized out>,
event=0xb1d94340) at gtkwidget.c:4761
#17 0x037b217b in IA__gtk_propagate_event (widget=0x829a3a8, event=0xb1d94340)
at gtkmain.c:2370
#18 0x037b3369 in IA__gtk_main_do_event (event=0xb1d94340) at gtkmain.c:1601
#19 0x0020858a in gdk_event_dispatch (source=0x8230278, callback=0,
user_data=0x0) at gdkevents-x11.c:2364
#20 0x0071e1e8 in g_main_dispatch (context=<value optimized out>) at
gmain.c:1814
#21 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2367
#22 0x007217f8 in g_main_context_iterate (context=0x82302c0, block=<value
optimized out>, dispatch=1, self=0x80b4580) at gmain.c:2448
#23 0x00721caf in IA__g_main_loop_run (loop=0x89df7f0) at gmain.c:2656
#24 0x037b38e9 in IA__gtk_main () at gtkmain.c:1205
#25 0x0805f71a in main (argc=1, argv=0xbfffdd54) at totem.c:278

This happens when totem queries the volume after setting playbin2 to NULL.
playsink cached a pointer to the element providing the volume property, but by
setting playbin2 to NULL, the autoaudiosink was set to NULL too, and the volume
element no longer exists.

Not sure whether this indicates that playbin2 wouldn't properly set/query the
volume if set back to READY, or if it will regenerate the audiosink chain
properly and work again. Either way, it probably needs to invalidate the volume
property when deactivating the audiosink, and query for it again when
reactivating things.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583318.




More information about the Gstreamer-bugs mailing list