[DVDnav-discuss] libdvdread 4.2.0 crashes
Fabian Keil
fk at fabiankeil.de
Tue Jan 1 16:04:37 CET 2013
Timo Saarinen <timo.p.saarinen at gmail.com> wrote:
> On 30.12.2012 20:43, Fabian Keil wrote:
> > 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.
>
> No, that's not too much pain. I added the following compile options to
> the build scripts:
>
> export CFLAGS="$CFLAGS -g -O1"
> export CXXFLAGS="$CXXFLAGS -g -O1"
>
> rebuilt the packages and installed them. Here is the resulting back trace:
Looks like these flags were insufficient, the back trace doesn't
contain any line numbers.
> [...]
> 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 ***
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffd91cd700 (LWP 20094)]
> 0x00007ffff4b00a42 in dvdnav_describe_title_chapters () from
> /usr/lib/libdvdnav.so.4
> (gdb) bt
> #0 0x00007ffff4b00a42 in dvdnav_describe_title_chapters () from
> /usr/lib/libdvdnav.so.4
As I already mentioned there are a couple of patches for crashes
in dvdnav_describe_title_chapters() floating around in this mailing
list's archive and you could try them out to see if they make a
difference.
Mine are also available at:
http://www.fabiankeil.de/sourcecode/libdvdnav-4.2.0-combined-fixes.diff
If I understand Jean-Baptiste correctly they are insufficient for
this particular disc, but they could prevent you from wasting time
debugging crashes that are already known.
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/20130101/0c6cee1a/attachment.asc>
More information about the DVDnav-discuss
mailing list