GNOME Bugzilla – Bug 655717
resindvd hangs when trying to play DVD
Last modified: 2011-08-03 23:35:05 UTC
I have a self-compiled DVD (that plays fine in Windows media player) that doesn't play at all with gstreamer. When launching the player, it spews following errors/warnings on the console and the process then locks up. media-libs/libdvdcss-1.2.10 media-libs/libdvdread-4.1.3_p1168 USE="css" media-libs/libdvdnav-4.1.3_p1168 media-plugins/gst-plugins-resindvd-0.10.22 I should also mention that it plays in mplayer too, but it mplayer shows following error every few seconds: [snip] *** libdvdread: CHECK_VALUE failed in nav_read.c:264 *** *** for dsi->dsi_gi.zero1 == 0 ** [/snip] [snip] $ /usr/bin/gst-launch-0.10 rsndvdbin name=dvd dvdspu name=spu \! ffmpegcolorspace \! videoscale \! ximagesink force-aspect-ratio=true dvd. \! queue max-size-buffers=3 max-size-bytes=0 \! spu.video dvd. \! spu.subpicture dvd. \! audioconvert \! autoaudiosink libdvdread: Using libdvdcss version 1.2.10 for DVD access *** Zero check failed in ifo_read.c:518 for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000 libdvdnav: Using dvdnav version 4.1.3 libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav: DVD Title: 20100104_202029 libdvdnav: DVD Serial Number: 3c24a379 libdvdnav: DVD Title (Alternative): 20100104_202029 libdvdnav: Unable to find map file '/home/plaes/.dvdnav/20100104_202029.map' *** Zero check failed in ifo_read.c:518 for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000 libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8 libdvdnav: *** pgci_ut handle is NULL *** libdvdnav: *** pgci_ut handle is NULL *** libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8 .... and that's all... [/snip] Backtrace reveals following: [snip] (gdb) bt
+ Trace 227981
This is a pretty brutally obvious deadlock inside libdvdnav: dvdnav_reset locks the internal vm_lock, and then calls dvdnav_clear, which locks the vm_lock. The correct place to get it fixed is in libdvdnav, which I believe these days lives in the mplayer SVN somewhere. In the meantime, it should work if you run with the env var 'DVDFASTSTART=no'
Jan, please reopen this if there's a workaround we can do in gstreamer. Otherwise, closing as NOTGNOME.