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 608036 - [typefind] deadlock when upstream puts caps on buffers on pull mode
[typefind] deadlock when upstream puts caps on buffers on pull mode
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-25 15:15 UTC by Philippe Normand
Modified: 2010-02-12 20:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Emergency patch for dataurisrc (1.90 KB, patch)
2010-01-28 14:47 UTC, Thiago Sousa Santos
none Details | Review
real solution patch (1.80 KB, patch)
2010-01-28 15:04 UTC, Thiago Sousa Santos
committed Details | Review
Less agressive emergency patch (2.39 KB, patch)
2010-01-28 16:08 UTC, Thiago Sousa Santos
rejected Details | Review

Description Philippe Normand 2010-01-25 15:15:11 UTC
gst-launch-0.10 playbin2 uri="data:audio/3gpp;base64,AAAAGGZ0eXAzZ3A1AAABADNncDUzZ3A0AAADVW1vb3YAAABsbXZoZAAAAADGfy3Hxn8txwAAAlgAAAbmAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAALhdHJhawAAAFx0a2hkAAAAAcZ/LcfGfy3HAAAAAQAAAAAAAAbmAAAAAAAAAAAAAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAG5gAAAAAAAQAAAAACWW1kaWEAAAAgbWRoZAAAAADGfy3Hxn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oQGf4Jvdj+y9FAA1QoAREwBwhT39OQ26F0WLlKxSCQJx3HDR8On/9nfnLy7aaRbSoh8B57pCcMwUvXnLGmjrjBdsrVLaRmy9OZORzxep/iIACbYadN2gZWZgU0gA6g8R0FLDiiCB7XPO/RcvOKzxh7cR5lXKL+f1phzPN77ZZrYz9tQwqdmjizH/p5oHiUE08AGOJFg2gSQSEqoEBNYQBj95t/5MMIyS0pDc9Z12fszfzr074AKbJc0vp8ICnjZFaN+z6UAs6F3TUX0L63FSx5rKvE3XeFx+Hzr+90IooamUBC8n6+2O+OQrBb1alaB3C422GyI/OIwBOsh+GEwI4CpQ6tfWun/9y+M0Z1Ls6XgB+0qIfAZChAjFjaSA0ZmgAK8AOmtog+FvRKmVbkiDv4Fk15gvqYUXOAGKMgsAAVJ0quBZS0HqvDbFRG6nUr5sMar7Qm44FQavXOYxZr9t/xhgxy0KwvuAAGYIzAAchelU8GZCDBBCEKEEKGARvinBY3u3/eOKTNWXS2lzMnePgHiWFVKqnHC4Ql5Pc9zualkyVVVTjufX5vBHGnzeEyO4nTjiwO4gDY+bGHc8cWcU0CmgUl/NNZnT/AP8V/GYFP+UVZOjSTQKiOgqoTQVCaOjUX/KSsvmKhBYB5MINNCoUX6007uKCgo7C6zQo67wsuaFFQVEdBXG/FVQmnhBQV3sCqZoU050bQa/lWTo2y0FiCgo6513qhWRgaIwEQwGA6LMH/rjpFtLmY+AfEPEFP4x/h/ADyfxCnx8NjI37+4yZgAMnwDzYP4xxfxAB5oDPCA/mAAGTMAPeHJmAAz+/vD8Nn+DaA7w="

The stack trace I get is:
(gdb) t a a bt

Thread 5 (Thread 0x7f2756bdc910 (LWP 30404))

  • #0 __lll_lock_wait
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S line 136
  • #1 _L_lock_949
    from /lib/libpthread.so.0
  • #2 __pthread_mutex_lock
    at pthread_mutex_lock.c line 61
  • #3 IA__g_static_rec_mutex_lock
    at gthread.c line 313
  • #4 gst_pad_get_range
    at gstpad.c line 4608
  • #5 gst_pad_pull_range
    at gstpad.c line 4755
  • #6 gst_pad_get_range
    at gstpad.c line 4625
  • #7 gst_pad_pull_range
    at gstpad.c line 4755
  • #8 gst_type_find_element_getrange
    at gsttypefindelement.c line 807
  • #9 gst_pad_get_range
    at gstpad.c line 4625
  • #10 gst_pad_pull_range
    at gstpad.c line 4755
  • #11 gst_qtdemux_pull_atom
    at qtdemux.c line 537
  • #12 gst_qtdemux_loop_state_movie
    at qtdemux.c line 2789
  • #13 gst_qtdemux_loop
    at qtdemux.c line 2844
  • #14 gst_task_func
    at gsttask.c line 238
  • #15 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #16 g_thread_create_proxy
    at gthread.c line 635
  • #17 start_thread
    at pthread_create.c line 300
  • #18 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #19 ??

Thread 4 (Thread 0x7f27563db910 (LWP 30405))

  • #0 __lll_lock_wait
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S line 136
  • #1 _L_lock_949
    from /lib/libpthread.so.0
  • #2 __pthread_mutex_lock
    at pthread_mutex_lock.c line 61
  • #3 IA__g_static_rec_mutex_lock
    at gthread.c line 313
  • #4 gst_pad_send_event
    at gstpad.c line 5029
  • #5 gst_pad_push_event
    at gstpad.c line 4898
  • #6 gst_type_find_element_handle_event
    at gsttypefindelement.c line 558
  • #7 gst_pad_send_event
    at gstpad.c line 5042
  • #8 gst_pad_push_event
    at gstpad.c line 4898
  • #9 gst_pad_send_event
    at gstpad.c line 5042
  • #10 gst_pad_push_event
    at gstpad.c line 4898
  • #11 gst_base_src_loop
    at gstbasesrc.c line 2312
  • #12 gst_task_func
    at gsttask.c line 238
  • #13 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #14 g_thread_create_proxy
    at gthread.c line 635
  • #15 start_thread
    at pthread_create.c line 300
  • #16 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #17 ??

Comment 1 Thiago Sousa Santos 2010-01-27 19:49:36 UTC
If you throw this into a file and play it all goes ok.

gst-launch dataurisrc uri=... ! filesink location=test.gpp

gst-launch playbin2 uri=file:///path/to/test.gpp
Comment 2 Tim-Philipp Müller 2010-01-27 22:47:11 UTC
I think there's something dodgy going on with pad activation here. It looks like qtdemux is pulling data from upstream, while dataurisrc/basesrc is pushing a newsegment event...
Comment 3 Thiago Sousa Santos 2010-01-28 11:02:06 UTC
It looks like the src is being activated in pull mode, and then deactivated and re-activated in push mode, but qtdemux keeps running in pull mode.
Comment 4 Thiago Sousa Santos 2010-01-28 11:27:10 UTC
If dataurisrc doesn't inform its caps all goes fine, we're getting close :)
Comment 5 Thiago Sousa Santos 2010-01-28 14:31:56 UTC
Here's the problem:

It happens in typefind's sink pad activation (the code has enumerated steps, I'll use them here)

In step 2, typefind helpers pull buffers from upstream, dataurisrc sets caps on those buffers and causes the typefind's setcaps function to be called and the 'typefound' signal is emitted.

Decodebin2 catches the signal, plugs qtdemux and sets it to PAUSED/PLAYING, qtdemux's pads are activated in pull mode (and consequently typefind's pads are as well). At this point, everything is ready to flow correctly.

Now the root of the problem: the rest of the steps in typefind's pad activation are still to run, and they deactivate and reactivate its pads, making their state inconsistent with downstream qtdemux.


Me and Tim agree that applying patches to typefind so close to a release is dangerous, I'd rather keep them for after the release. Meanwhile we can try working out a solution for dataurisrc, making it possible to be used in playbin2.
Comment 6 Thiago Sousa Santos 2010-01-28 14:47:39 UTC
Created attachment 152487 [details] [review]
Emergency patch for dataurisrc

Emergency patch that can be a solution for this release, but it's likely that will force people to always use dataurisrc ! typefind, even though it shouldn't be necessary.
Comment 7 Thiago Sousa Santos 2010-01-28 15:04:27 UTC
Created attachment 152489 [details] [review]
real solution patch

My proposed patch for a real solution.

I'm not sure if that check is enough, though and what would happen if downstream didn't link an element, even though typefound was emitted.

Should we check if the srcpad is linked as well? Or is this enough.
Comment 8 Thiago Sousa Santos 2010-01-28 16:08:36 UTC
Created attachment 152493 [details] [review]
Less agressive emergency patch

Only avoid setting caps on pull mode, instead of not setting caps at all
Comment 9 Sebastian Dröge (slomo) 2010-01-28 19:10:44 UTC
This looks quite similar to bug #511935
Comment 10 Thiago Sousa Santos 2010-02-12 20:28:18 UTC
Module: gstreamer
Branch: master
Commit: 51d382e2eef0ed6aea6319403a33dfd7abcd235e
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=51d382e2eef0ed6aea6319403a33dfd7abcd235e

Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk>
Date:   Thu Jan 28 11:57:33 2010 -0300

typefind: Avoid messing pads activation

Typefind might mess up pads modes (pull/push) if a
downstream element is plugged and its pads activated
in 'step 2' of typefind pads activation.

This happens because the following steps don't check
if we already emitted typefound due to upstream setting
caps on buffers being pulled in the typefind helpers.

Avoid that by checking if typefound is already emmited.

Fixes #608036