[DVDnav-discuss] offset error in libdvdread 4.2.0

Dallen Wilson dallen.wilson at gmail.com
Sun Oct 14 02:38:39 CEST 2012


On 10/05/2012 06:36 PM, John Stebbins wrote:
>On 10/04/2012 05:21 PM, Dallen Wilson wrote:
>> Hi,
>>
>> I've encountered the "pgc->cell_playback_offset != 0" error in
>> libdvdread 4.2.0. I know a similar bug was fixed with the release of
>> 4.2.0, but it seems that newer discs have changed something yet again.
>>
>> I downloaded and compiled libdvdread from svn yesterday, then compiled
>> the latest version of ogmrip myself to ensure it was linked against the
>> svn copy and can confirm the error still shows up when trying to rip the
>> disc.
>>
>> The movie was Marvel's 'The Avengers'. It seems to play more-or-less ok
>> in Totem movie player on Ubuntu, with the exception of selecting or
>> skipping chapters. I even had to watch all the previews. Lots of
>> "libdvdnav: chapter NOT FOUND!" and "Please send bug report - no
>> VTS_TMAPT ??" in the console but other then that, fine.
>>
>> Attached is the log from 'ogmrip --debug', which consists almost
>> entirely of output from libdvdread. Let me know if there's any further
>> information that I can provide, I will be offline for possibly up to a
>> week but I will respond when able to.
>

>A gdb backtrace would be more useful.  It is possible the problem is in the application rather than in libdvdread.  We
>found a similar bug in HandBrake just yesterday.  cell_playback_offset == 0 results in cell_playback == NULL results in
>NULL pointer access in application.

I should have thought of that. It looks as though it is a bug in ogmrip, I'll take the gdb output and poke them with it.
I attached the full log but here's the relevant bit:

Program received signal SIGSEGV, Segmentation fault.
ogmdvd_time_to_msec (dtime=0x4) at ogmdvd-priv.c:34
34	  hour   = ((dtime->hour    & 0xf0) >> 4) * 10 + (dtime->hour    & 0x0f);

Thanks for your assistance!

- D


-------------- next part --------------
[warped at exodus:~]$ gdb ogmrip 
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/bin/ogmrip...done.
(gdb) start
Temporary breakpoint 1 at 0x40e620: file ogmrip-main.c, line 3177.
Starting program: /usr/local/bin/ogmrip 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe1d8)
    at ogmrip-main.c:3177
3177	{
(gdb) continue
Continuing.
[New Thread 0x7fffeeffb700 (LWP 3246)]
[New Thread 0x7fffed789700 (LWP 3247)]
[New Thread 0x7fffe5b90700 (LWP 3272)]
[New Thread 0x7fffd6b39700 (LWP 3273)]
[New Thread 0x7fffd6338700 (LWP 3274)]
[New Thread 0x7fffd5b37700 (LWP 3275)]
[New Thread 0x7fffd5336700 (LWP 3276)]
[New Thread 0x7fffd4b35700 (LWP 3277)]
[Thread 0x7fffd5336700 (LWP 3276) exited]
[Thread 0x7fffd6b39700 (LWP 3273) exited]
[Thread 0x7fffe5b90700 (LWP 3272) exited]
[Thread 0x7fffd5b37700 (LWP 3275) exited]
[Thread 0x7fffd6338700 (LWP 3274) exited]
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_05_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_06_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_07_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_08_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_09_0.IFO failed

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 0x0001a96c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0001ad87
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001adf7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0001aed2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0001d547
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00020f3b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00034046
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003048d6
libdvdread: Elapsed time 0
libdvdread: Found 4 VTS's
libdvdread: Elapsed time 0
[New Thread 0x7fffd6338700 (LWP 3278)]
[New Thread 0x7fffd5b37700 (LWP 3279)]
[New Thread 0x7fffe5b90700 (LWP 3280)]
[New Thread 0x7fffd6b39700 (LWP 3281)]
[New Thread 0x7fffbffff700 (LWP 3282)]
[New Thread 0x7fffbf7fe700 (LWP 3283)]
[New Thread 0x7fffbeffd700 (LWP 3284)]
[New Thread 0x7fffbe7fc700 (LWP 3285)]
[Thread 0x7fffbffff700 (LWP 3282) exited]
[Thread 0x7fffbeffd700 (LWP 3284) exited]
[Thread 0x7fffe5b90700 (LWP 3280) exited]
[Thread 0x7fffbe7fc700 (LWP 3285) exited]
[Thread 0x7fffbf7fe700 (LWP 3283) exited]
[Thread 0x7fffd6338700 (LWP 3278) exited]
[Thread 0x7fffd6b39700 (LWP 3281) exited]
[Thread 0x7fffd4b35700 (LWP 3277) exited]
[New Thread 0x7fffd6b39700 (LWP 3286)]
[Thread 0x7fffd6b39700 (LWP 3286) exited]
[New Thread 0x7fffd6b39700 (LWP 3287)]
[Thread 0x7fffd5b37700 (LWP 3279) exited]
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdread: Couldn't find device name.
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 
Please send bug report - no VTS_TMAPT ?? 

*** libdvdread: CHECK_VALUE failed in /home/warped/Downloads/dvdreadarg/libdvdread/src/ifo_read.c:915 ***
*** for pgc->cell_playback_offset != 0 ***

Please send bug report - no VTS_TMAPT ?? 

*** libdvdread: CHECK_VALUE failed in /home/warped/Downloads/dvdreadarg/libdvdread/src/ifo_read.c:915 ***
*** for pgc->cell_playback_offset != 0 ***

Please send bug report - no VTS_TMAPT ?? 

*** libdvdread: CHECK_VALUE failed in /home/warped/Downloads/dvdreadarg/libdvdread/src/ifo_read.c:915 ***
*** for pgc->cell_playback_offset != 0 ***

Please send bug report - no VTS_TMAPT ?? 

*** libdvdread: CHECK_VALUE failed in /home/warped/Downloads/dvdreadarg/libdvdread/src/ifo_read.c:915 ***
*** for pgc->cell_playback_offset != 0 ***

Please send bug report - no VTS_TMAPT ?? 

Program received signal SIGSEGV, Segmentation fault.
ogmdvd_time_to_msec (dtime=0x4) at ogmdvd-priv.c:34
34	  hour   = ((dtime->hour    & 0xf0) >> 4) * 10 + (dtime->hour    & 0x0f);
(gdb) quit
A debugging session is active.

	Inferior 1 [process 3243] will be killed.

Quit anyway? (y or n) y
[warped at exodus:~]$ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20121013/9df1fad2/attachment.asc>


More information about the DVDnav-discuss mailing list