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 576408 - [playbin2] Deadlock when using resindvd as source
[playbin2] Deadlock when using resindvd as source
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal major
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 542663
 
 
Reported: 2009-03-23 13:39 UTC by Sebastian Dröge (slomo)
Modified: 2009-04-04 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2009-03-23 13:39:16 UTC
Hi,
playbin2 currently deadlocks when using resindvd while playbin1 works on the same DVD.

Backtraces of all threads:


Comment 1 Sebastian Dröge (slomo) 2009-03-23 14:00:49 UTC
This can be easily reproduced by using gst-launch btw...
Comment 2 Wim Taymans 2009-03-24 11:27:15 UTC
With the following patches, it sometimes works. Trying to fix the remaining race next.

commit 786b0c248ce019e535f0307b4b105a665d8782d1
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 12:22:37 2009 +0100

    playbin2: blacklist subpictures for now
    
    Blacklist the subpictures until we add support for them.
    Add some small debug info.
    See #576408.

commit 852ace9cce843144cafdbfb84ff2e05fbb226d69
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 12:19:30 2009 +0100

    uridecodebin: expose more media types
    
    Expose more media types from a raw source, such as the subpicture and various
    text pads.
    Small cleanups  and add some more debugging.
    See #576408.
Comment 3 Jan Schmidt 2009-03-24 11:32:22 UTC
"Sometimes works" with the regression that DVD menus and subtitles no longer appear, of course...
Comment 4 Sebastian Dröge (slomo) 2009-03-24 11:41:57 UTC
Yeah, that's not really a fix ;)
Comment 5 Wim Taymans 2009-03-24 15:15:53 UTC
I was refering to this bugreport, namely that there is a deadlock!
Comment 6 Wim Taymans 2009-03-24 17:30:37 UTC
commit 9bf8277d135e818ce502ad1dd9956929382f136c
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 18:29:28 2009 +0100

    playbin2: add more support for subpictures

commit e7b382c6a9e1bec3cf7772989a9093818a112de9
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Mar 24 17:12:53 2009 +0100

    playbin2: first support for subpictures
    
    Add beginnings of subpicture support.

Comment 7 Wim Taymans 2009-03-24 17:31:40 UTC
the remaining thing is now that rsndvdbin pushes data on the pads from the thread that should have emited no_more_pads() first.
Comment 8 Sebastian Dröge (slomo) 2009-03-25 12:05:14 UTC
Ok, so the remaining bug is in rsndvdbin and the behaviour should be still the same until that's fixed? Because for me it still deadlocks when trying to play a DVD with menus :)

Comment 9 Sebastian Dröge (slomo) 2009-04-04 21:38:35 UTC
This was apparently fixed by one of Jan's latest changes to resindvd