Bug#798763: vlc: segfault if vlc and libvlc5/libvlccore8/vlc-data out of sync

Lionel Elie Mamane lionel at mamane.lu
Sun Sep 13 15:03:14 UTC 2015


On Sun, Sep 13, 2015 at 01:33:51PM +0200, Sebastian Ramacher wrote:
> Control: severity -1 normal
> Control: tags -1 + moreinfo unreproducible
> 
> On 2015-09-12 13:21:58, Lionel Elie Mamane wrote:

>> after upgrade, vlc started segfaulting on startup. This was solved by:

>> [UPGRADE] libvlc5:amd64 2.2.0~rc2-2+deb8u1 -> 2.2.1-3
>> [UPGRADE] libvlccore8:amd64 2.2.0~rc2-2+deb8u1 -> 2.2.1-3
>> [UPGRADE] vlc-data:amd64 2.2.0~rc2-2+deb8u1 -> 2.2.1-3
>> [UPGRADE] vlc-plugin-pulse:amd64 2.2.0~rc2-2+deb8u1 -> 2.2.1-3

> I am unable to reproduce the issue. I've installed vlc, vlc-plugin-pulse and
> vlc-plugin-sambda in jessie, marked vlc-data, vlc-plugin-pulse, libvlc5 and
> libvlccore5 as hold and upgraded to unstable.

> Please provide the output of vlc -vvv until the crash and a backtrace including
> symbols (by installing vlc-dbg and liblua5.2-0-dbg).

Downgrading only libvlc5 was not enough to reproduce, and downgrading
libblccore8 forced me to downgrade also vlc-data and vlc-plugin-pulse.

vlc -vvv output attached. I installed vlc-dbg version 2.2.1-3 (not
2.2.0~rc2-2+deb8u1) since that's the one the dependencies let me
install.

Here is the backtrace:

(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff04e6954 in luaS_new (L=L at entry=0x70ca90, 
    str=0x7200656d00000000 <error: Cannot access memory at address 0x7200656d00000000>) at lstring.c:171
#2  0x00007ffff04d961f in lua_pushstring (L=L at entry=0x70ca90, s=<optimized out>) at lapi.c:522
#3  0x00007ffff071a90a in vlclua_input_metas_internal (p_item=<optimized out>, L=0x70ca90) at lua/libs/input.c:159
#4  vlclua_input_item_metas (L=0x70ca90) at lua/libs/input.c:297
#5  0x00007ffff04ddc4d in luaD_precall (L=L at entry=0x70ca90, func=<optimized out>, func at entry=0x70cd90, 
    nresults=nresults at entry=1) at ldo.c:319
#6  0x00007ffff04e983d in luaV_execute (L=L at entry=0x70ca90) at lvm.c:709
#7  0x00007ffff04ddf8e in luaD_call (L=0x70ca90, func=<optimized out>, nResults=<optimized out>, allowyield=<optimized out>)
    at ldo.c:402
#8  0x00007ffff04dd5cf in luaD_rawrunprotected (L=L at entry=0x70ca90, f=f at entry=0x7ffff04d8b70 <f_call>, 
    ud=ud at entry=0x7fffffffdae0) at ldo.c:131
#9  0x00007ffff04de1d1 in luaD_pcall (L=L at entry=0x70ca90, func=func at entry=0x7ffff04d8b70 <f_call>, u=u at entry=0x7fffffffdae0, 
    old_top=32, ef=<optimized out>) at ldo.c:603
#10 0x00007ffff04da0f1 in lua_pcallk (L=L at entry=0x70ca90, nargs=nargs at entry=0, nresults=nresults at entry=1, 
    errfunc=errfunc at entry=0, ctx=ctx at entry=0, k=k at entry=0x0) at lapi.c:949
#11 0x00007ffff07110d3 in run (p_context=0x0, luafunction=0x7ffff072563c "read_meta", L=0x70ca90, 
    psz_filename=0x70c870 "/usr/lib/vlc/lua/meta/reader/filename.luac", p_this=0x703218) at lua/meta.c:128
#12 read_meta (p_this=0x703218, psz_filename=0x70c870 "/usr/lib/vlc/lua/meta/reader/filename.luac", p_context=<optimized out>)
    at lua/meta.c:213
#13 0x00007ffff0713880 in vlclua_scripts_batch_execute (p_this=0x703218, luadirname=<optimized out>, 
    func=0x7ffff0711010 <read_meta>, user_data=0x0) at lua/vlc.c:299
#14 0x00007ffff717bee5 in ?? () from /usr/lib/libvlccore.so.8
#15 0x00007ffff717c4ae in vlc_module_load () from /usr/lib/libvlccore.so.8
#16 0x00007ffff713fca3 in ?? () from /usr/lib/libvlccore.so.8
#17 0x00007ffff7142604 in ?? () from /usr/lib/libvlccore.so.8
#18 0x00007ffff714673d in input_Read () from /usr/lib/libvlccore.so.8
#19 0x00007ffff711c775 in ?? () from /usr/lib/libvlccore.so.8
#20 0x00007ffff7117af8 in ?? () from /usr/lib/libvlccore.so.8
#21 0x00007ffff7113838 in libvlc_InternalAddIntf () from /usr/lib/libvlccore.so.8
#22 0x00007ffff7bc345c in libvlc_add_intf () from /usr/lib/libvlc.so.5
#23 0x00000000004012c2 in main (i_argc=<optimized out>, ppsz_argv=<optimized out>) at vlc.c:237


-- 
Lionel
-------------- next part --------------
[000000000067b058] core libvlc debug: VLC media player - 2.2.0-rc2 Weatherwax
[000000000067b058] core libvlc debug: Copyright ? 1996-2014 the VideoLAN team
[000000000067b058] core libvlc debug: revision 2.2.0-rc1-118-g22fda39
[000000000067b058] core libvlc debug: configured with ./configure  '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=2+deb8u1' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gles1' '--enable-gles2' '--enable-glx' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcdx' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libtar' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-sndio' '--disable-svgdec' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-libva' '--enable-vcd' '--disable-oss' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' 'OBJCFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security'
[000000000067b058] core libvlc debug: searching plug-in modules
[000000000067b058] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[000000000067b058] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[000000000067b058] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[000000000067b058] core libvlc debug: plug-ins loaded: 459 modules
[000000000067b058] core libvlc debug: opening config file (/home/master/.config/vlc/vlcrc)
[000000000067b058] core libvlc debug: translation test: code is "en_GB"
[000000000067b058] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX FPU 
[000000000074b368] core input debug: Creating an input for 'Media Library'
[000000000074b368] core input debug: Input is a meta file: disabling unneeded options
[000000000074b368] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[000000000074b368] core input debug: `file/xspf-open:///home/master/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/master/.local/share/vlc/ml.xspf'
[000000000074b368] core input debug: creating demux: access='file' demux='xspf-open' location='/home/master/.local/share/vlc/ml.xspf' file='/home/master/.local/share/vlc/ml.xspf'
[000000000074fdb8] core demux debug: looking for access_demux module matching "file": 20 candidates
[000000000074fdb8] core demux debug: no access_demux modules matched
[000000000074b368] core input debug: creating access 'file' location='/home/master/.local/share/vlc/ml.xspf', path='/home/master/.local/share/vlc/ml.xspf'
[000000000074fdb8] core access debug: looking for access module matching "file": 25 candidates
[000000000074fdb8] filesystem access debug: opening file `/home/master/.local/share/vlc/ml.xspf'
[000000000074fdb8] core access debug: using access module "filesystem"
[0000000000754508] core stream debug: Using stream method for AStream*
[0000000000754508] core stream debug: starting pre-buffering
[0000000000754508] core stream debug: received first data after 0 ms
[0000000000754508] core stream debug: pre-buffering done 296 bytes in 0s - 19270 KiB/s
[0000000000755368] core stream debug: looking for stream_filter module matching "any": 9 candidates
[0000000000755368] core stream debug: no stream_filter modules matched
[0000000000755368] core stream debug: looking for stream_filter module matching "record": 9 candidates
[0000000000755368] core stream debug: using stream_filter module "record"
[000000000074b368] core input debug: creating demux: access='file' demux='xspf-open' location='/home/master/.local/share/vlc/ml.xspf' file='/home/master/.local/share/vlc/ml.xspf'
[0000000000778068] core demux debug: looking for demux module matching "xspf-open": 65 candidates
[0000000000778068] xspf demux debug: using XSPF playlist reader
[0000000000778068] core demux debug: using demux module "playlist"
[0000000000778308] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000000000778308] lua demux meta debug: Trying Lua scripts in /home/master/.local/share/vlc/lua/meta/reader
[0000000000778308] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0000000000778308] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac


More information about the pkg-multimedia-maintainers mailing list