[DVDnav-discuss] libdvdread 4.2.0 crashes

Fabian Keil fk at fabiankeil.de
Sun Dec 30 19:43:01 CET 2012


Timo Saarinen <timo.p.saarinen at gmail.com> wrote:

> On 30.12.2012 17:13, Fabian Keil wrote:
> > Timo Saarinen <timo.p.saarinen at gmail.com> wrote:
> >
> >> I try view a DVD disc with VLC and Totem on Arch Linux. For some reason the
> >> both players fail to view a specific disc and give the following output to
> >> stdout. This happens both in 32 bit and 64 bit environments. Also VLC
> >> player on Windows fails to play the DVD. The other DVD don't have the same
> >> issue. There is another Windows DVD player, which can play the disc without
> >> problems. The related library versions are:
> >>
> >> libdvdread 4.2.0
> >> libdvdnav 4.2.0
> >>
> >> ----
> >> $ vlc /dev/sr0
> >> VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
> >> [0x82d038] main libvlc: Running vlc with the default interface. Use 'cvlc'
> >> to use vlc without interface.
> >> libdvdnav: Using dvdnav version 4.2.0
> >> libdvdread: Using libdvdcss version 1.2.12 for DVD access
> >> libdvdnav: DVD Title: BRAVE
> >> libdvdnav: DVD Serial Number: 413A98CA
> >> libdvdnav: DVD Title (Alternative): BRAVE
> >> libdvdnav: Unable to find map file '/home/timo/.dvdnav/BRAVE.map'
> >> libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
> >>
> >> 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 0x0000023d
> >> libdvdread: Elapsed time 0
> > [...]
> >> libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x00369bcb
> >> libdvdread: Elapsed time 0
> >> libdvdread: Found 22 VTS's
> >> libdvdread: Elapsed time 0
> >> libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000080000]
> >> libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000000000]
> >>
> >> *** libdvdread: CHECK_VALUE failed in ifo_read.c:915 ***
> >> *** for pgc->cell_playback_offset != 0 ***
> >>
> >> Segmentation fault (core dumped)
> > It's not clear to me that the crash actually happens in libdvdread.
> >
> > Without a back trace it's impossible to be sure, but assuming the
> > DVD is http://www.imdb.com/title/tt1217209/ which looks like a
> > somewhat recent Disney title, I'd speculate that this is a
> > dvdnav_describe_title_chapters() issue.
> >
> > It's possible that opening the DVD in vlc with the "No disc menus"
> > option checked works around the problem.
> >
> > Applying the patches previously posted to this list might be
> > worth trying as well.
 
> Yes, the disc is that one. I tried to view it with "No disc menus", but 
> a similar crash resulted. If you need more information, please, ask.

Like I already mentioned, properly analysing the problem requires
a back trace. This might require recompiling some packages:
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

If that's too much pain, you could try convincing the Arch Linux
packagers to optimistically back port the libdvdnav patches that
are floating around.

> ----
> [...]
> libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x00369bcb
> libdvdread: Elapsed time 0
> libdvdread: Found 22 VTS's
> libdvdread: Elapsed time 0
> [0x7f0350000b78] main input error: ES_OUT_RESET_PCR called
> [0x7f0350000b78] main input error: ES_OUT_RESET_PCR called
> [0x7f0350000b78] main input error: Invalid PCR value in 
> ES_OUT_SET_(GROUP_)PCR !
> [0x7f0350000b78] main input error: Invalid PCR value in 
> ES_OUT_SET_(GROUP_)PCR !
> [0x7f0350000b78] main input error: Invalid PCR value in 
> ES_OUT_SET_(GROUP_)PCR !
> [mpeg2video @ 0x7f03340ba100] releasing zombie picture
> 
> *** libdvdread: CHECK_VALUE failed in ifo_read.c:915 ***
> *** for pgc->cell_playback_offset != 0 ***
> 
> Segmentation fault (core dumped)

I'm not 100% sure, but I believe I needed the patch John Stebbins posted at:
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2012-October/001777.html
to be able to watch "Alice in Wonderland" (another recent Disney title).

The work around for this issue would be opening the VOB files directly
after finding the right ones through trial and error. Even if you find
the right ones there's a non-zero chance that the scenes aren't in the
correct order, though, and parts of the files may not actually be readable
causing vlc to hang.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20121230/f536857c/attachment.asc>


More information about the DVDnav-discuss mailing list