GNOME Bugzilla – Bug 673118
[resindvd] segfault in read_vts_info, on DVD with no VTS_TMAPT
Last modified: 2012-06-14 14:38:38 UTC
Totem segfaulted when attempting to play a DVD. I installed debug symbols and ran it under gdb, obtaining the following backtrace: libdvdread: Using libdvdcss version 1.2.10 for DVD access Please send bug report - no VTS_TMAPT ?? Program received signal SIGSEGV, Segmentation fault. read_vts_info (bsrc=0x843c098) at resindvdsrc.c:456 456 resindvdsrc.c: No such file or directory. in resindvdsrc.c (gdb) bt
+ Trace 229975
Created attachment 215852 [details] [review] resindvd: guard against not finding some data on a DVD May possibly help with a particular DVD.
This may help, if you can test it. If you cannot, or if you still get related trouble with that DVD after applying it, is the DVD image large ? Hopefully one without such data may be quite small.
Sorry, I don't have the DVD in question anymore. This occurred with a full off-the-shelf commercial video DVD, though.
Can you tell us the title and region (US/Europe/etc?) and perhaps edition if it was a special edition?
(In reply to comment #4) > Can you tell us the title and region (US/Europe/etc?) and perhaps edition if it > was a special edition? I honestly don't remember; random Netflix rental. I should have noted it at the time.
Created attachment 216418 [details] [review] With an extra guard elsewhere to avoid a crash later.
I tried forcing the code to go through the NULL path, fixed another issue down the line, and it seems to work, but that's on a DVD that does have that data, so it's possible there's further issues on a DVD that does not actually have the data. Since we have no test case, I'll mark as fixed for now, as the NULL pointer accesses are fixed. commit 669683856ca4ccba0ad568f82e09e4a2dddbe2ff Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Thu Jun 7 15:06:34 2012 +0100 resindvd: guard against not finding some data on a DVD May possibly help with a particular DVD. https://bugzilla.gnome.org/show_bug.cgi?id=673118