[vlc-devel] XML parsing

Sébastien Escudier sebastien-devel at celeos.eu
Fri Jan 21 08:59:08 CET 2011

I can't start vlc anymore :
59f0684a6fbb3208dbc9a9134cb762d035f396af is the first bad commit
commit 59f0684a6fbb3208dbc9a9134cb762d035f396af
Author: Rémi Denis-Courmont <remi at remlab.net>
Date:   Wed Jan 19 23:52:52 2011 +0200

    XML: merge read and node_type operations, skip unknown nodes

(gdb) bt
#0  0x00971422 in __kernel_vsyscall ()
#1  0x00261651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00264a82 in *__GI_abort () at abort.c:92
#3  0x0029849d in __libc_message (do_abort=2, fmt=0x36cf98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0x002a2591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x8c3e5a0) at malloc.c:6266
#5  0x002a380e in munmap_chunk (p=<value optimized out>) at malloc.c:3540
#6  0x00e3192b in vlc_module_load (p_this=0x8c3e564, psz_capability=0xe7eda4 "xml reader", psz_name=0x0, b_strict=false, probe=0xe31add <generic_start>)
    at modules/modules.c:628
#7  0x00e31b75 in module_need (obj=0x8c3e564, cap=0xe7eda4 "xml reader", name=0x0, strict=false) at modules/modules.c:696
#8  0x00e49cb7 in xml_ReaderCreate (obj=0x8c27a0c, stream=0x8c27544) at misc/xml.c:84
#9  0x0012971d in Demux (p_demux=0x8c27a0c) at xspf.c:92
#10 0x00decfa8 in demux_Demux (p_demux=0x8c27a0c) at input/demux.h:44
#11 0x00dee23e in MainLoopDemux (p_input=0x8c2349c, pb_changed=0xbf9b0b4e, pb_demux_polled=0xbf9b0b4c, i_start_mdate=2786245203) at input/input.c:575
#12 0x00dee87a in MainLoop (p_input=0x8c2349c, b_interactive=false) at input/input.c:748
#13 0x00ded13f in input_Read (p_parent=0x8c439ac, p_item=0x8c237f0) at input/input.c:171
#14 0x00dcc154 in playlist_MLLoad (p_playlist=0x8c439ac) at playlist/loadsave.c:173
#15 0x00dc9700 in playlist_Create (p_parent=0x8bb279c) at playlist/engine.c:268
#16 0x00dadbaa in libvlc_InternalInit (p_libvlc=0x8bb279c, i_argc=5, ppsz_argv=0xbf9b0e20, builtins_module=0x0) at libvlc.c:771
#17 0x002241df in libvlc_new_with_builtins (argc=4, argv=0xbf9b0ef0, builtins_module=0x0) at control/core.c:60
#18 0x002242c5 in libvlc_new (argc=4, argv=0xbf9b0ef0) at control/core.c:86
#19 0x080493a2 in main (i_argc=1, ppsz_argv=0xbf9b10d4) at vlc.c:201

And with HEAD, crash is different :
(gdb) bt
#0  __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:77
#1  0x00d71357 in Demux (p_demux=0x8aec3a4) at xspf.c:104
#2  0x009f7fa8 in demux_Demux (p_demux=0x8aec3a4) at input/demux.h:44
#3  0x009f923e in MainLoopDemux (p_input=0x8b0b2d4, pb_changed=0xbfbcf64e, pb_demux_polled=0xbfbcf64c, i_start_mdate=3030017456) at input/input.c:575
#4  0x009f987a in MainLoop (p_input=0x8b0b2d4, b_interactive=false) at input/input.c:748
#5  0x009f813f in input_Read (p_parent=0x8b08294, p_item=0x8b0b650) at input/input.c:171
#6  0x009d7154 in playlist_MLLoad (p_playlist=0x8b08294) at playlist/loadsave.c:173
#7  0x009d4700 in playlist_Create (p_parent=0x8a7b79c) at playlist/engine.c:268
#8  0x009b8baa in libvlc_InternalInit (p_libvlc=0x8a7b79c, i_argc=5, ppsz_argv=0xbfbcf920, builtins_module=0x0) at libvlc.c:771
#9  0x006b11df in libvlc_new_with_builtins (argc=4, argv=0xbfbcf9f0, builtins_module=0x0) at control/core.c:60
#10 0x006b12c5 in libvlc_new (argc=4, argv=0xbfbcf9f0) at control/core.c:86
#11 0x080493a2 in main (i_argc=1, ppsz_argv=0xbfbcfbd4) at vlc.c:201

More information about the vlc-devel mailing list