FS#18431 - [vlc] crashes due to libdvdnav bug with some dvds

Attached to Project: Arch Linux
Opened by Luke wurl (lukeofthetauri) - Monday, 22 February 2010, 21:07 GMT
Last edited by Allan McRae (Allan) - Tuesday, 23 February 2010, 04:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Unable to play some DVDs


Additional info:
Latest versions of VLC, libcssdvd, libdvdnav


Steps to reproduce:

Put in a Stargate S7 DVD, Disk 5. Plays fine.
Put in a Firefly DVD, Disk 3. Crashes VLC.

Known issue found in Launchpad for Ubuntu, here: https://bugs.launchpad.net/ubuntu/+source/libdvdnav/+bug/435968
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 23 February 2010, 04:58 GMT
Reason for closing:  Fixed
Comment by Luke wurl (lukeofthetauri) - Monday, 22 February 2010, 21:08 GMT
Here's the result of doing vlc -vv, then asking it to play the bad disk:

libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/sr0 mounted on /media/FIREFLY_D3 for CSS authentication
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/luke/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000014c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000004a6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b6c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000ea0e5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000edee7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x000edefe
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000ee0a2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000eefe2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x000ef6a8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x001dda4b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x001ddbef
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x001deda2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x001def46
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x001df12a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x001df7f0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x002c0ccd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x002c1393
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: ifoRead_VOBU_ADMAP vtsi failed
vlc: vm.c:1485: process_command: Assertion `0' failed.
Comment by Giovanni Scafora (giovanni) - Monday, 22 February 2010, 21:48 GMT
Do you have libdvdcss installed? If not, install it and try again.
BTW, try to install regionset from AUR and set it to the exact region number.
Or could be a bad backup copy of your dvd perhaps?
Some DVD have a rather strong structure protection that caused sony some embarrassment.
BTW, this is libdvdnav bug only.
Comment by Giovanni Scafora (giovanni) - Monday, 22 February 2010, 22:29 GMT
I found a patch that seems to solve this problem, so I just uploaded libdvdnav 4.1.3-2.
Please, upgrade your system and let me know.
Comment by Luke wurl (lukeofthetauri) - Tuesday, 23 February 2010, 03:27 GMT
Thanks, libdvdnav 4.1.3-2 fixed it. I did have libdvdcss installed btw.

Loading...