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

Jean-Baptiste Kempf jb at videolan.org
Sun Jul 26 12:43:40 CEST 2015


On 26 Jul, Francesco Turco wrote :
> 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
> 

I did not see the value of those in your first post.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list