After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603345 - [playbin2] textoverlay refcount issues in git
[playbin2] textoverlay refcount issues in git
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-30 09:04 UTC by Tim-Philipp Müller
Modified: 2009-11-30 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2009-11-30 09:04:09 UTC
+++ This bug was initially created as a clone of Bug #603308 +++

Created an attachment (id=148693)
.avi causing the crash


Playing this clip with playbin2 from git leads to warnings and weird behaviour:

(lt-totem:5285): GStreamer-CRITICAL **: 
Trying to dispose object "text_sink", but it still has a parent "overlay".
You need to let the parent manage the object instead of unreffing the object directly.


(lt-totem:5285): GStreamer-CRITICAL **: 
Trying to dispose object "src", but it still has a parent "parser".
You need to let the parent manage the object instead of unreffing the object directly.

back trace of first warning:

(gdb) bt
  • #0 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 *__GI_abort
    at abort.c line 88
  • #2 IA__g_logv
    at /tmp/buildd/glib2.0-2.22.2/glib/gmessages.c line 549
  • #3 IA__g_log
    at /tmp/buildd/glib2.0-2.22.2/glib/gmessages.c line 569
  • #4 gst_object_dispose
    at gstobject.c line 458
  • #5 IA__g_object_unref
    at /tmp/buildd/glib2.0-2.22.2/gobject/gobject.c line 2441
  • #6 _pad_blocked_cb
    at gstsubtitleoverlay.c line 886
  • #7 handle_pad_block
    at gstpad.c line 3926
  • #8 gst_pad_push_event
    at gstpad.c line 4869
  • #9 gst_subtitle_overlay_video_sink_event
    at gstsubtitleoverlay.c line 1621
  • #10 gst_pad_send_event
    at gstpad.c line 5036
  • #11 gst_pad_push_event
    at gstpad.c line 4892
  • #12 gst_queue_push_one
    at gstqueue.c line 1127
  • #13 gst_queue_loop
    at gstqueue.c line 1183
  • #14 gst_task_func
    at gsttask.c line 234

Comment 1 Tim-Philipp Müller 2009-11-30 09:05:23 UTC
Also, switching subtitles -> None in totem seems to deadlock the UI, but it might be the same issue.
Comment 2 Sebastian Dröge (slomo) 2009-11-30 09:23:47 UTC
This fixes the warnings and the deadlock for me.

commit 732f3055a38d16c90dfa67752e0caf96ca707d01
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Mon Nov 30 10:22:15 2009 +0100

    subtitleoverlay: Fix some pad refcount issues
    
    Fixes bug #603345.