[libdvdnav-devel] Cannot watch DVD (segmentation fault)

Francesco Turco fturco at fastmail.fm
Sun Jul 26 12:29:05 CEST 2015


On Wed, Jul 22, 2015, at 19:14, Andrew Clayton wrote:
> If I'm reading the gdb log right then the problem is here
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffd6d41700 (LWP 25336)]
> 0x00007ffff0b48b17 in dvdnav_describe_title_chapters
> (this=0x7fffcc000f20, 
>     title=15, times=0x7fffd6d40c80, duration=0x7fffd6d40c88)
>     at src/searching.c:650
> 650         if (ptt[i].pgcn == 0 || ptt[i].pgcn >
> ifo->vts_pgcit->nr_of_pgci_srp) {
> 
> Probably one of these things is coming through as NULL for one or more
> titles.
> 
> Stick in some printf's and see...

What should I do exactly? I have no experience in debugging. I already
posted the result of:

(gdb) p ifo
(gdb) p ifo->vts_pgcit
(gdb) p ifo->vts_pgcit->nr_of_pgci_srp

Should I do something different?


More information about the libdvdnav-devel mailing list