Bug#622935: vlc: libdvdread errors while playing ogg files

Vincent Lefevre vincent at vinc17.net
Fri Apr 15 23:25:24 UTC 2011


On 2011-04-16 01:12:15 +0200, Vincent Lefevre wrote:
> While playing ogg files (not a DVD), I suddenly got at the end of
> a track, errors like:
> 
> [...]
> libdvdread: Can't seek to block 1391297931
> libdvdread: Can't seek to block 1391297932
> libdvdread: Can't seek to block 1391297933
> libdvdread: Can't seek to block 1391297934
> libdvdread: Can't seek to block 1391297935
> libdvdread: Can't seek to block 1391297936
> libdvdread: Can't seek to block 1391297937
> libdvdread: Can't seek to block 1391297938
> libdvdread: Can't seek to block 1391297939
> libdvdread: Can't seek to block 1391297940
> libdvdread: Can't seek to block 1391297941
> [...]

This is always reproducible on the same ogg file. ogg123 doesn't have
any problem on this file.

Here's an excerpt on strace output:

[...]
18428 open("/home/vinc17/Music/perso/LlibreVermell/LVdM-08.ogg", O_RDONLY|O_NONBLOCK|O_CLOEXEC) = 10
18428 fcntl(10, F_SETFD, FD_CLOEXEC)    = 0
18428 fstat(10, {st_mode=S_IFREG|0444, st_size=5826331, ...}) = 0
18428 lseek(10, 524288, SEEK_SET)       = 524288
18428 read(10, "\2\0", 2)               = 2
18428 close(10)                         = 0
18428 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
18428 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6ca9a81000
18428 write(1, "libdvdnav: Using dvdnav version "..., 38) = 38
18428 open("/lib64/libdvdcss.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
18428 open("/home/vinc17/./lib/libdvdcss.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
18428 open("/etc/ld.so.cache", O_RDONLY) = 10
18428 fstat(10, {st_mode=S_IFREG|0644, st_size=107914, ...}) = 0
18428 mmap(NULL, 107914, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7f6ca9a66000
18428 close(10)                         = 0
18428 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
18428 open("/lib/libdvdcss.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
18428 open("/usr/lib/libdvdcss.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
18428 munmap(0x7f6ca9a66000, 107914)    = 0
18428 write(2, "libdvdread: Encrypted DVD suppor"..., 390) = 390
18428 stat("/home/vinc17/Music/perso/LlibreVermell/LVdM-08.ogg", {st_mode=S_IFREG|0444, st_size=5826331, ...}) = 0
18428 open("/home/vinc17/Music/perso/LlibreVermell/LVdM-08.ogg", O_RDONLY) = 10
18428 open("/home/vinc17/Music/perso/LlibreVermell/LVdM-08.ogg", O_RDONLY) = 11
18428 lseek(11, 65536, SEEK_SET)        = 65536
18428 read(11, "\377&\36z\0p4\311\33\353\343\212\35\16\303\330\346\234q\262\240\270\214\220\"\0|\363\3538\344\266"..., 2048) = 2048
18428 close(11)                         = 0
18428 write(1, "libdvdnav: DVD Title: \n", 23) = 23
18428 write(1, "libdvdnav: DVD Serial Number:  \n", 32) = 32
18428 write(1, "libdvdnav: DVD Title (Alternativ"..., 64) = 64
18428 close(11)                         = -1 EBADF (Bad file descriptor)
18428 open("/home/vinc17/.dvdnav/.map", O_RDONLY) = -1 ENOENT (No such file or directory)
18428 write(1, "libdvdnav: Unable to find map fi"..., 63) = 63
18428 lseek(10, 524288, SEEK_SET)       = 524288
18428 read(10, "\2\0\0\343G\275\3\366\272\4\317\257\333\3758nz\212\34\234\344\f\344Rd\351\311a\342U\1("..., 2048) = 2048
18428 lseek(10, 2848106946560, SEEK_SET) = -1 EINVAL (Invalid argument)
18428 write(2, "libdvdread: Can't seek to block "..., 43) = 43
18428 lseek(10, 2848106948608, SEEK_SET) = -1 EINVAL (Invalid argument)
18428 write(2, "libdvdread: Can't seek to block "..., 43) = 43
18428 lseek(10, 2848106950656, SEEK_SET) = -1 EINVAL (Invalid argument)
18428 write(2, "libdvdread: Can't seek to block "..., 43) = 43
18428 lseek(10, 2848106952704, SEEK_SET) = -1 EINVAL (Invalid argument)
18428 write(2, "libdvdread: Can't seek to block "..., 43) = 43
18428 lseek(10, 2848106954752, SEEK_SET) = -1 EINVAL (Invalid argument)
18428 write(2, "libdvdread: Can't seek to block "..., 43) = 43
[...]

There's at least an obvious error: a file is closed twice, giving

18428 close(11)                         = -1 EBADF (Bad file descriptor)

I forgot to say it, but the only thing I can do is to kill vlc.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the pkg-multimedia-maintainers mailing list