[DVDnav-discuss] [PATCH] workaround a crash.

Ivan Kalvachev ikalvachev at gmail.com
Sat Mar 9 22:34:16 CET 2013


A user came in irc #mplayer complaining that dvdnav crashes with a
number of programs (VLC included). He did manage to provide a detailed
backtrace.
Here is a part of it:
--
*** libdvdread: CHECK_VALUE failed in ifo_read.c:914 ***
*** for pgc->program_map_offset != 0 ***

*** libdvdread: CHECK_VALUE failed in ifo_read.c:916 ***
*** for pgc->cell_position_offset != 0 ***
[...]
dvdnav_describe_title_chapters (this=0x7fffd0006e00, title=<optimized
out>, times=
    0x7fffd7b0f018, duration=0x7fffd7b0f010) at searching.c:625
625	    cellnr = pgc->program_map[ptt[i].pgn-1];
--

Thanks to that report I made quick workaround that seems to avoid the
crash. Patch attached to the mail.


I have asked the user to compare the .IFO and . BUP files in case the
.IFO is intentionally broken as some DRM scheme, but they seem to have
the same checksums.

The user also provided the .BUP file and I can forward it off-list, in
case somebody wants to investigate.
The source seems to be original disk of "the dictator".

Best Regards
   Ivan Kalvachev
  iive
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvdnav_searching.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20130309/1fc0311a/attachment.bin>


More information about the DVDnav-discuss mailing list