Bug#803325: vlc: "failed to create video output" with video memory output; SIGSEGV with other video output

User User nospam at gmail.com
Wed Oct 28 19:46:11 UTC 2015

Package: vlc
Version: 2.2.1-4+b1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
Any video played causes VLC to crash.
   * What exactly did you do (or not do) that was effective (or
Launching from file manager, ommand line, or media library any video file crashes VLC on this up-to-date Debian testing system. I disabled VDPAU, window decoration, accelerated video output - but there was no change.
   * What was the outcome of this action?
Segmentation fault.
   * What outcome did you expect instead?
Video rendered.

After installing vlc-dbg, and runing
gdb --args vlc -vvvv /home/user/somefile.mp4
I got:
(gdb) run
Starting program: /usr/bin/vlc -vvvv /home/user/somefile.mp4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000605148] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[0000000000605148] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0000000000605148] core libvlc debug: revision 2.2.1-0-ga425c42
[0000000000605148] 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 -Wl,--as-needed' '--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=4+b1' '--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-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-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcdx' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--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-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' '--enable-smbclient' '--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'
[0000000000605148] core libvlc debug: searching plug-in modules
[0000000000605148] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000000000605148] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000000000605148] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0000000000605148] core libvlc debug: plug-ins loaded: 460 modules
[0000000000605148] core libvlc debug: opening config file (/home/user/.config/vlc/vlcrc)
[0000000000605148] core libvlc debug: translation test: code is "C"
[0000000000605148] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU 
[00000000006d4f28] core input debug: Creating an input for 'Media Library'
[00000000006d4f28] core input debug: Input is a meta file: disabling unneeded options
[00000000006d4f28] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00000000006d4f28] core input debug: `file/xspf-open:///home/user/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/user/.local/share/vlc/ml.xspf'
[00000000006d4f28] core input debug: creating demux: access='file' demux='xspf-open' location='/home/user/.local/share/vlc/ml.xspf' file='/home/user/.local/share/vlc/ml.xspf'
[00000000006d9b38] core demux debug: looking for access_demux module matching "file": 20 candidates
[00000000006d9b38] core demux debug: no access_demux modules matched
[00000000006d4f28] core input debug: creating access 'file' location='/home/user/.local/share/vlc/ml.xspf', path='/home/user/.local/share/vlc/ml.xspf'

etc., ending with:

[00007fffc4004ac8] core volume debug: using audio volume module "float_mixer"
[0000000000700ab8] core audio output debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
[00007fffc4008c78] core audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates
[00007fffc4008c78] scaletempo audio filter debug: format: 44100 rate, 2 nch, 4 bps, fl32
[00007fffc4008c78] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search
[00007fffc4008c78] scaletempo audio filter debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
[00007fffc4008c78] core audio filter debug: using audio filter module "scaletempo"
[0000000000700ab8] core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
[0000000000700ab8] core audio output debug: conversion pipeline complete
[00007fffc400ffe8] core audio filter debug: looking for audio filter module matching "equalizer": 14 candidates
[00007fffa00103a8] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[00007fffa00103a8] core scale debug: using video filter2 module "swscale"
[00007fffa00380c8] core scale debug: looking for video filter2 module matching "any": 63 candidates
[00007fffc400ffe8] equalizer audio filter error: No preset selected
[00007fffc400ffe8] core audio filter debug: no audio filter modules matched
[0000000000700ab8] core audio output error: cannot add user audio filter "equalizer" (skipped)
[0000000000700ab8] core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
[0000000000700ab8] core audio output debug: conversion pipeline complete
[00007fffc400ffe8] core audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[00007fffc400ffe8] core audio resampler debug: using audio resampler module "samplerate"
[00007fffc0f77958] core decoder debug: End of audio preroll
[00007fffa00380c8] yuvp scale debug: YUVP to YUVA converter
[00007fffa00380c8] core scale debug: using video filter2 module "yuvp"
[00007fffa000b7f8] core video output debug: Deinterlacing available
[00007fffa000b7f8] core video output debug: deinterlace 0, mode blend, is_needed 0
[New Thread 0x7fffac19f700 (LWP 16832)]
[00007fffa000b7f8] core video output debug: Opening vout display wrapper
[00007fff9c001268] core vout display debug: looking for vout display module matching "any": 15 candidates
[00007fff9c0023f8] core window debug: looking for vout window xid module matching "qt4,any": 4 candidates
[00007fff9c0023f8] qt4 window debug: requesting video window...
[00000000007f67f8] qt4 interface debug: Video was requested 0, 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeefe7700 (LWP 16821)]
0x00007fffecfebf39 in XGetWindowAttributes () from /usr/lib/x86_64-linux-gnu/libX11.so.6

For completion, here is the backtrace:
(gdb) bt
#0  0x00007fffecfebf39 in XGetWindowAttributes () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x00007fffe5aacd8d in VideoWidget::request (this=0x7fffcc106bf0, pi_x=<optimized out>, pi_y=<optimized out>, pi_width=<optimized out>, pi_height=<optimized out>, 
    b_keep_size=<optimized out>) at components/interface_widgets.cpp:149
#2  0x00007fffe59d041b in MainInterface::getVideoSlot (this=0x7fffcc0cd3d0, p_id=0x7fffac19e3d0, pi_x=0x7fffac19e3f4, pi_y=0x7fffac19e3f8, pi_width=0x7fffac19e3fc, pi_height=0x7fffac19e400)
    at main_interface.cpp:741
#3  0x00007fffe5b38b6b in MainInterface::qt_static_metacall (_o=0x7fffcc0cd3d0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at main_interface.moc.cpp:288
#4  0x00007fffe4b7f1c1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffe545dedb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007fffe556f37b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fffe541bb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fffe5421230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fffe4b4da8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fffe4b4fbc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fffe4ba4a23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffe43b3fe7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffe43b4240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fffe43b42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffe4ba4e2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fffe4b4b2ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fffe4b52e3c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fffe59be674 in Thread (obj=0x7f67f8) at qt4.cpp:585
#19 0x00007ffff79a60a4 in start_thread (arg=0x7fffeefe7700) at pthread_create.c:309
#20 0x00007ffff74d706d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Of note, this is a dual video card system, where Stretch currently detects only the Intel adapter.
Yesterday, was compaining about failing to find VDPAU libraries, so I installed, uninstalled drivers, to no avail.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vlc depends on:
ii  fonts-freefont-ttf          20120503-4
ii  libaa1                      1.4p5-44
ii  libavcodec-ffmpeg56         7:2.8.1-1
ii  libavutil-ffmpeg54          7:2.8.1-1
ii  libc6                       2.19-22
ii  libcaca0                    0.99.beta19-2
ii  libcairo2                   1.14.2-2
ii  libegl1-mesa [libegl1-x11]  10.6.8-1
ii  libfreerdp-client1.1        1.1.0~git20140921.1.440916e+dfsg1-5
ii  libfreerdp-core1.1          1.1.0~git20140921.1.440916e+dfsg1-5
ii  libfreerdp-gdi1.1           1.1.0~git20140921.1.440916e+dfsg1-5
ii  libfreetype6                2.6-2
ii  libfribidi0                 0.19.7-1
ii  libgcc1                     1:5.2.1-22
ii  libgl1-mesa-glx [libgl1]    10.6.8-1
ii  libgles1-mesa [libgles1]    10.6.8-1
ii  libgles2-mesa [libgles2]    10.6.8-1
ii  libglib2.0-0                2.46.1-1
ii  libpulse0                   7.0-1
ii  libqt5core5a                5.4.2+dfsg-9
ii  libqt5gui5                  5.4.2+dfsg-9
ii  libqt5widgets5              5.4.2+dfsg-9
ii  libqt5x11extras5            5.5.1-2
ii  librsvg2-2                  2.40.11-1
ii  libsdl-image1.2             1.2.12-5+b5
ii  libsdl1.2debian             1.2.15-11
ii  libstdc++6                  5.2.1-22
ii  libva-drm1                  1.6.1-1
ii  libva-x11-1                 1.6.1-1
ii  libva1                      1.6.1-1
ii  libvlccore8                 2.2.1-4+b1
ii  libvncclient1               0.9.10+dfsg-3
ii  libx11-6                    2:1.6.3-1
ii  libxcb-composite0           1.10-3+b1
ii  libxcb-keysyms1             0.4.0-1
ii  libxcb-randr0               1.10-3+b1
ii  libxcb-shm0                 1.10-3+b1
ii  libxcb-xv0                  1.10-3+b1
ii  libxcb1                     1.10-3+b1
ii  libxext6                    2:1.3.3-1
ii  libxinerama1                2:1.1.3-1+b1
ii  libxpm4                     1:3.5.11-1+b1
ii  vlc-nox                     2.2.1-4+b1
ii  zlib1g                      1:1.2.8.dfsg-2+b1

Versions of packages vlc recommends:
ii  vlc-plugin-notify  2.2.1-4+b1
ii  vlc-plugin-samba   2.2.1-4+b1
ii  xdg-utils          1.1.1-1

vlc suggests no packages.

Versions of packages vlc-nox depends on:
ii  liba52-0.7.4               0.7.4-18
ii  libasound2                 1.0.29-1
ii  libass5                    0.13.0-1
ii  libavahi-client3           0.6.31-5
ii  libavahi-common3           0.6.31-5
ii  libavc1394-0               0.5.4-2
ii  libavcodec-ffmpeg56        7:2.8.1-1
ii  libavformat-ffmpeg56       7:2.8.1-1
ii  libavutil-ffmpeg54         7:2.8.1-1
ii  libbasicusageenvironment0  2014.01.13-1
ii  libbluray1                 1:0.9.0-1
ii  libc6                      2.19-22
ii  libcddb2                   1.3.2-5
ii  libcdio13                  0.83-4.2
ii  libchromaprint0            1.2-1+b1
ii  libcrystalhd3              1:0.0~git20110715.fdd2f19-11+b1
ii  libdbus-1-3                1.10.0-3
ii  libdc1394-22               2.2.3-1
ii  libdca0                    0.0.5-7
ii  libdirectfb-1.2-9
ii  libdvbpsi10                1.3.0-2
ii  libdvdnav4                 5.0.3-1
ii  libdvdread4                5.0.3-1
ii  libebml4v5                 1.3.3-1
ii  libfaad2                   2.8.0~cvs20150510-1
ii  libflac8                   1.3.1-4
ii  libfontconfig1             2.11.0-6.3
ii  libfreetype6               2.6-2
ii  libfribidi0                0.19.7-1
ii  libgcc1                    1:5.2.1-22
ii  libgcrypt20                1.6.4-3
ii  libgnutls-deb0-28          3.3.18-1
ii  libgpg-error0              1.20-1
ii  libgroupsock1              2014.01.13-1
ii  libjpeg62-turbo            1:1.4.1-2
ii  libkate1                   0.4.1-5
ii  liblircclient0             0.9.0~pre1-1.2
ii  liblivemedia23             2014.01.13-1
ii  liblua5.2-0                5.2.4-1
ii  libmad0                    0.15.1b-8
ii  libmatroska6v5             1.4.4-1
ii  libmodplug1                1:
ii  libmpcdec6                 2:0.1~r475-1
ii  libmpeg2-4                 0.5.1-7
ii  libmtp9                    1.1.10-1
ii  libncursesw5               6.0+20150810-1
ii  libogg0                    1.3.2-1
ii  libopus0                   1.1-2
ii  libpng12-0                 1.2.50-2+b2
ii  libpostproc-ffmpeg53       7:2.8.1-1
ii  libraw1394-11              2.1.1-1
ii  libresid-builder0c2a       2.1.1-14
ii  libsamplerate0             0.1.8-8
ii  libschroedinger-1.0-0      1.0.11-2.1
ii  libshine3                  3.1.0-2.1
ii  libshout3                  2.3.1-3
ii  libsidplay2                2.1.1-14
ii  libspeex1                  1.2~rc1.2-1
ii  libspeexdsp1               1.2~rc1.2-1
ii  libssh2-1                  1.5.0-2+b1
ii  libstdc++6                 5.2.1-22
ii  libswscale-ffmpeg3         7:2.8.1-1
ii  libtag1v5                  1.9.1-2.4
ii  libtheora0                 1.1.1+dfsg.1-7
ii  libtinfo5                  6.0+20150810-1
ii  libtwolame0                0.3.13-1.2
ii  libudev1                   227-2
ii  libupnp6                   1:1.6.19+git20141001-1
ii  libusageenvironment1       2014.01.13-1
ii  libvcdinfo0                0.7.24+dfsg-0.2
ii  libvlc5                    2.2.1-4+b1
ii  libvlccore8                2.2.1-4+b1
ii  libvorbis0a                1.3.4-3
ii  libvorbisenc2              1.3.4-3
ii  libx264-146                2:0.146.2555+git0c21480-1
ii  libx265-68                 1.8-3
ii  libxml2                    2.9.2+zdfsg1-4
ii  libzvbi0                   0.2.35-9
ii  zlib1g                     1:1.2.8.dfsg-2+b1

Versions of packages vlc-nox suggests:
pn  libdvdcss2  <none>

Versions of packages libvlc5 depends on:
ii  libc6        2.19-22
ii  libvlccore8  2.2.1-4+b1

Versions of packages libvlccore8 depends on:
ii  libc6           2.19-22
ii  libdbus-1-3     1.10.0-3
ii  libidn11        1.32-3
ii  libproxy-tools  0.4.11-4.2
ii  vlc-data        2.2.1-4

Versions of packages vlc is related to:
pn  libavutil50  <none>
pn  libavutil51  <none>

-- no debconf information

More information about the pkg-multimedia-maintainers mailing list