[DVDnav-discuss] Possible libdvdnav crash

Jan Janssen medhefgo at web.de
Tue Mar 18 20:47:33 CET 2014


Erik Hovland <erik at ...> writes:
> 
> I see what Jean means about libdvdnav asserting all the dang time.
> 
> What do these two patches do? It may actually be the right thing to do
> in this instance, so I am curious what the error messaging patch says
> without using the return instead of assert patch.

With Those two patches applied I hit a different assertion:
#0  0x00007ffff742b389 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff742c788 in __GI_abort () at abort.c:89
#2  0x00007ffff74244a6 in __assert_fail_base (fmt=0x7ffff755a1a0 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", 
    assertion=assertion at entry=0x7ffff3087b9b "(signed)*pos != -1",
file=file at entry=0x7ffff3087b8b "src/searching.c", line=line at entry=567, 
    function=function at entry=0x7ffff3087e50 <__PRETTY_FUNCTION__.5455>
"dvdnav_get_position") at assert.c:92
#3  0x00007ffff7424552 in __GI___assert_fail
(assertion=assertion at entry=0x7ffff3087b9b "(signed)*pos != -1",
file=file at entry=0x7ffff3087b8b "src/searching.c", 
    line=line at entry=567, function=function at entry=0x7ffff3087e50
<__PRETTY_FUNCTION__.5455> "dvdnav_get_position") at assert.c:101
#4  0x00007ffff307f7ee in dvdnav_get_position (this=0x7fffc4001110,
pos=pos at entry=0x7fffd34f6d4c, len=len at entry=0x7fffd34f6d50) at
src/searching.c:567
#5  0x00007ffff32928e7 in Control (p_demux=0x7fffc4000eb8, i_query=0,
args=0x7fffd34f6da8) at access/dvdnav.c:442
#6  0x00007ffff715198c in demux_vaControl (args=0x7fffd34f6da8, i_query=0,
p_demux=<optimized out>) at input/demux.h:48
#7  demux_Control (p_demux=<optimized out>, i_query=i_query at entry=0) at
input/demux.h:56
#8  0x00007ffff71570a5 in MainLoopInterface (p_input=0x7fffcc0009b8) at
input/input.c:653
#9  MainLoop (p_input=p_input at entry=0x7fffcc0009b8,
b_interactive=b_interactive at entry=true) at input/input.c:796
#10 0x00007ffff7157b95 in Run (obj=0x7fffcc0009b8) at input/input.c:518
#11 0x00007ffff79aa0a2 in start_thread (arg=0x7fffd34f7700) at
pthread_create.c:309
#12 0x00007ffff74dbd1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

If I comment out the assertion on line 567, vlc starts playing the actual
film, skipping the menu.



More information about the DVDnav-discuss mailing list