Re: libdvdread 64-bit clean?

Johan Brannlund <[email protected]> Wed, 31 Aug 2005 02:30:03 +0000
Newsgroups gmane.comp.video.ogle.devel
Message-ID <1125455403l.6485l.0l@jupiter>
On 2005.08.30 10:33, Bj|rn Englund wrote:

> Could you supply the output from ogle --debug /dev/dvd ?

Funnily enough, I can't reproduce the segfault anymore. Must've been  
caused by me messing with the libraries. Anyway, ogle also stops at  
29:37 - the log is available at http://nullinfinity.org/ogle_log .

> This turns out to 2^32 bytes which probably has something to do with
> it. Some quick checks: does the dvd have more than 4GByte of data?

Er... I think so:

$ lsdvd /dev/dvd
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't seek to block 2617088
libdvdread: Can't seek to block 2617088
libdvdread: Invalid IFO for title 2 (VTS_02_0.IFO).
Can't open ifo 2!

$ mount /media/cdrom0/
mount: block device /dev/hdc is write-protected, mounting read-only
$ du -ks /media/cdrom0
7852646 /media/cdrom0

> Do you get any messages in /var/log/messages when this
> happens?

Nope.

> Are the libraries libdvdread/libdvdcss both 32-bit or both 64-bit?

64-bit, as far as I can tell:

$ ldd /usr/lib/libdvdread.so.3.0.0
         libdl.so.2 => /lib/libdl.so.2 (0x00002aaaaabd6000)
         libc.so.6 => /lib/libc.so.6 (0x00002aaaaacd9000)
         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
$ ldd /usr/lib/libdvdcss.so.2.0.8
         libc.so.6 => /lib/libc.so.6 (0x00002aaaaabc4000)
         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

> Have you played any other dvd with more than 4GByte data?

I haven't tried and unfortunately I won't have any time to play with  
this until the end of next week.

Regards,

Johan