VLC crashes when trying to open DVD iso file

Bug #570716 reported by jessesmith
This bug report is a duplicate of:  Bug #570790: Crashes when pgci_ut handle is NULL. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libdvdnav (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: vlc

When attempting to play some DVD iso files, VLC crashes. The same DVD iso files play properly under mplayer.

Problem:
When trying to play a DVD which has been backed up to an iso file, VLC crashes at start-up. The following output is displayed at the command line:

Version:
I am using VLC 1.0.2 on Ubuntu 9.10

$ vlc my_dvd.iso
VLC media player 1.0.2 Goldeneye
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title:
libdvdnav: DVD Serial Number:
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/jesse/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

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 0x00000119
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000253
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
libdvdnav: *** pgci_ut handle is NULL ***
vlc: /build/buildd/libdvdnav-4.1.3/src/vm/vm.c:1744: get_ID: Assertion `pgcit != ((void *)0)' failed.
Aborted

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Unfortunately, without a legal sample file we cannot investigate this bug. (Playing any random DVD works fine for me)

Changed in vlc (Ubuntu):
status: New → Incomplete
Revision history for this message
jessesmith (jessefrgsmith) wrote :

I see where you're coming from. Wouldn't it be possible to trouble-shoot this by going to line 1743 in libdvdread's vm.c file and setting pgcit to zero? Then comment out the assert and see what happens?

I tried this and found that VLC was constantly looping and printing out

*** pgci_ut handle is NULL ***

over and over and over. So it appears either libdvdread or VLC kicks off an infinite loop if pgcit is set to zero (0). I'm not sure if this is because libdvdread assumes it will never get a zero value and doesn't know how to handle it or if it's VLC that keeps trying. Either way, I'm pretty sure if the loop can be skipped we'll see full functionality.

I have a legal iso file, but it's about 4GB in size and my connection is pretty terrible for uploading. I have a little skill with C/C++ so I'm willing to try out suggestions and patches.

Revision history for this message
jessesmith (jessefrgsmith) wrote :

Sorry, I meant "libdvdnav" in the previous post, not "libdvdread".

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in vlc (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. My apologies as I should not have marked this Invalid. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in vlc (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
jessesmith (jessefrgsmith) wrote :

I will grab a copy of the 10.10 beta and let you know what happens. Is there any specific information you would like me to collect?

Revision history for this message
jessesmith (jessefrgsmith) wrote :

Unfortunately I am unable to test VLC on Ubuntu 10.10 Beta. The system is too unstable to run for more than a few minutes from the live CD and the installer crashes on the first screen. Obviously these deserve their separate bug reports. However, what it boils down to is I am unable to test VLC on the beta as I can't get the beta to run.

I will try compiling the source of the latest VLC release (1.1.4) on my 10.04 machine and see how that goes.

Changed in vlc (Ubuntu):
status: Incomplete → New
affects: vlc (Ubuntu) → libdvdnav (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libdvdnav (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.