Bug#702581: vlc: VLC crashes in libeml on some video files (mkv, h.264)

Lorenz H-S lorenz-dev at lgh-alumni.de
Fri Mar 8 17:44:14 UTC 2013


Package: vlc
Version: 2.0.5-1
Severity: important
Tags: upstream

Dear Maintainer,

vlc reproducibly crashes each time at exactly the same position a few seconds
into a broken matroska file. A full backtrace from a gdb session is attached.
Unfortunately, I cannot share the file publicly for copyright reasons.

mplayer2 cannot play the file either, but plays an additional second or so. A
log of that is attached as well. I do not dispute the fact that the file is
broken, but VLC's error handling should catch that and exit gracefully.

Should you need more information, I am happy to help you in any way possible.

Thank you!

Lorenz

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.2-cust (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  dpkg                      1.16.9
ii  fonts-freefont-ttf        20120503-1
ii  libaa1                    1.4p5-40
ii  libavcodec53              7:0.10.3-dmo1
ii  libavutil51               8:1.0.5-dmo1
ii  libc6                     2.13-38
ii  libcaca0                  0.99.beta18-1
ii  libfreetype6              2.4.9-1.1
ii  libfribidi0               0.19.2-3
ii  libgcc1                   1:4.7.2-5
ii  libgl1-mesa-glx [libgl1]  8.0.5-3
ii  libice6                   2:1.0.8-2
ii  libqtcore4                4:4.8.2+dfsg-11
ii  libqtgui4                 4:4.8.2+dfsg-11
ii  libsdl-image1.2           1.2.12-2
ii  libsdl1.2debian           1.2.15-5
ii  libsm6                    2:1.2.1-2
ii  libstdc++6                4.7.2-5
ii  libtar0                   1.2.16-1
ii  libva-x11-1               1.0.15-4
ii  libva1                    1.0.15-4
ii  libvlccore5               2.0.5-1
ii  libx11-6                  2:1.5.0-1
ii  libxcb-composite0         1.8.1-2
ii  libxcb-keysyms1           0.3.9-1
ii  libxcb-randr0             1.8.1-2
ii  libxcb-render0            1.8.1-2
ii  libxcb-shape0             1.8.1-2
ii  libxcb-shm0               1.8.1-2
ii  libxcb-xfixes0            1.8.1-2
ii  libxcb-xv0                1.8.1-2
ii  libxcb1                   1.8.1-2
ii  libxext6                  2:1.3.1-2
ii  libxinerama1              2:1.1.2-1
ii  libxpm4                   1:3.5.10-1
ii  vlc-nox                   2.0.5-1
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages vlc recommends:
ii  vlc-plugin-notify  2.0.5-1
ii  vlc-plugin-pulse   2.0.5-1
ii  xdg-utils          1.1.0~rc1+git20111210-7

Versions of packages vlc suggests:
pn  videolan-doc  <none>




*** /tmp/vlc
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/vlc...Reading symbols from
/usr/lib/debug/usr/bin/vlc...done.
done.
(gdb) run
Starting program: /usr/bin/vlc foo.mkv
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
[New Thread 0x7fffeddd1700 (LWP 8680)]
[New Thread 0x7fffec92e700 (LWP 8681)]
[0x605108] main libvlc: Running vlc with the default interface. Use 'cvlc' to
use vlc without interface.
[New Thread 0x7fffe9c85700 (LWP 8682)]
[New Thread 0x7fffe8118700 (LWP 8683)]
[Thread 0x7fffec92e700 (LWP 8681) exited]
[Thread 0x7fffe8118700 (LWP 8683) exited]
[New Thread 0x7fffe8118700 (LWP 8685)]
[NULL @ 0x6ad2a0] Value 4686111960511545344.000000 for parameter 'b' out of
range
[NULL @ 0x6ad2a0] Value 4683532506232782848.000000 for parameter 'ab' out of
range
[NULL @ 0x6ad2a0] Value 4705844345939427328.000000 for parameter 'bt' out of
range
[NULL @ 0x6ad2a0] Value 4617315517961601024.000000 for parameter 'me_method'
out of range
[NULL @ 0x6ad2a0] Value 4622945017495814144.000000 for parameter 'g' out of
range
[NULL @ 0x6ad2a0] Value 4611686018427387904.000000 for parameter 'qmin' out of
range
[NULL @ 0x6ad2a0] Value 4629418941960159232.000000 for parameter 'qmax' out of
range
[NULL @ 0x6ad2a0] Value 4613937818241073152.000000 for parameter 'qdiff' out of
range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'wpredp' out
of range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'bug' out of
range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'er' out of
range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'err_detect'
out of range
[NULL @ 0x6ad2a0] Value 4613937818241073152.000000 for parameter 'ec' out of
range
[NULL @ 0x6ad2a0] Value 4620693217682128896.000000 for parameter 'ildctcmp' out
of range
[NULL @ 0x6ad2a0] Value 4620693217682128896.000000 for parameter 'subq' out of
range
[NULL @ 0x6ad2a0] Value 4696837138094751744.000000 for parameter 'ibias' out of
range
[NULL @ 0x6ad2a0] Value 4696837138094751744.000000 for parameter 'pbias' out of
range
[NULL @ 0x6ad2a0] Value 4642507528377204736.000000 for parameter 'lmin' out of
range
[NULL @ 0x6ad2a0] Value 4660262442142531584.000000 for parameter 'lmax' out of
range
[NULL @ 0x6ad2a0] Value 4696130710463840256.000000 for parameter 'flags2' out
of range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'threads' out
of range
[NULL @ 0x6ad2a0] Value 4620693217682128896.000000 for parameter 'nssew' out of
range
[NULL @ 0x6ad2a0] Value -4586705114244317184.000000 for parameter 'profile' out
of range
[NULL @ 0x6ad2a0] Value -4586705114244317184.000000 for parameter 'level' out
of range
[NULL @ 0x6ad2a0] Value 4623507967449235456.000000 for parameter 'skipcmp' out
of range
[NULL @ 0x6ad2a0] Value 4642507528377204736.000000 for parameter 'mblmin' out
of range
[NULL @ 0x6ad2a0] Value 4660262442142531584.000000 for parameter 'mblmax' out
of range
[NULL @ 0x6ad2a0] Value 4643211215818981376.000000 for parameter 'mepc' out of
range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'bidir_refine'
out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'cqp' out of
range
[NULL @ 0x6ad2a0] Value 4627730092099895296.000000 for parameter 'keyint_min'
out of range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter 'refs' out of
range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'directpred'
out of range
[NULL @ 0x6ad2a0] Value 4618441417868443648.000000 for parameter 'sc_factor'
out of range
[NULL @ 0x6ad2a0] Value 4643211215818981376.000000 for parameter
'mv0_threshold' out of range
[NULL @ 0x6ad2a0] Value 4630826316843712512.000000 for parameter
'b_sensitivity' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'compression_level' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'min_prediction_order' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'max_prediction_order' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'prediction_order_method' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'min_partition_order' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'max_partition_order' out of range
[NULL @ 0x6ad2a0] Value 4607182418800017408.000000 for parameter
'ticks_per_frame' out of range
[NULL @ 0x6ad2a0] Value 4611686018427387904.000000 for parameter
'color_primaries' out of range
[NULL @ 0x6ad2a0] Value 4611686018427387904.000000 for parameter 'color_trc'
out of range
[NULL @ 0x6ad2a0] Value 4611686018427387904.000000 for parameter 'colorspace'
out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'aq_mode' out
of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'rc_lookahead' out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'lpc_type'
out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter 'lpc_passes'
out of range
[NULL @ 0x6ad2a0] Value 4613937818241073152.000000 for parameter 'thread_type'
out of range
[NULL @ 0x6ad2a0] Value -4616189618054758400.000000 for parameter
'request_sample_fmt' out of range
[New Thread 0x7fffec92e700 (LWP 8686)]
[New Thread 0x7fffcfe09700 (LWP 8687)]
[New Thread 0x7fffcfb00700 (LWP 8688)]
[New Thread 0x7fffc786a700 (LWP 8689)]
[New Thread 0x7fffd5b2a700 (LWP 8690)]
terminate called after throwing an instance of 'libebml::CRTError'
  what():  Error allocating data: Cannot allocate memory

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe8118700 (LWP 8685)]
0x00007ffff69c2475 in *__GI_raise (sig=<optimized out>) at
.../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff69c2475 in *__GI_raise (sig=<optimized out>) at
.../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff69c56f0 in *__GI_abort () at abort.c:92
#2  0x00007ffff721789d in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff7215996 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff72159c3 in std::terminate() () from /usr/lib/x86_64-linux-
gnu/libstdc++.so.6
#5  0x00007ffff7215bee in __cxa_throw () from /usr/lib/x86_64-linux-
gnu/libstdc++.so.6
#6  0x00007fffe1fb83c6 in libebml::EbmlBinary::ReadData(libebml::IOCallback&,
libebml::ScopeMode) () from /usr/lib/x86_64-linux-gnu/libebml.so.3
#7  0x00007fffe2234500 in
libmatroska::KaxInternalBlock::ReadData(libebml::IOCallback&,
libebml::ScopeMode) () from /usr/lib/x86_64-linux-gnu/libmatroska.so.5
#8  0x00007fffe2489592 in matroska_segment_c::BlockGet (this=0x680b30,
pp_block=<optimized out>, pp_simpleblock=<optimized out>,
pb_key_picture=<optimized out>, pb_discardable_picture=0x7fffe8117d67,
pi_duration=0x7fffe8117d78)
    at matroska_segment.cpp:1558
#9  0x00007fffe2480d1e in Demux (p_demux=0x680298) at mkv.cpp:692
#10 0x00007ffff792f40b in demux_Demux (p_demux=0x680298) at input/demux.h:44
#11 MainLoopDemux (i_start_mdate=34282645444, pb_demux_polled=<synthetic
pointer>, pb_changed=<synthetic pointer>, p_input=0x638ce8) at
input/input.c:591
#12 MainLoop (p_input=p_input at entry=0x638ce8,
b_interactive=b_interactive at entry=true) at input/input.c:765
#13 0x00007ffff792fad5 in Run (obj=0x638ce8) at input/input.c:553
#14 0x00007ffff76c3b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#15 0x00007ffff6a6aa7d in clone () at




*** /tmp/mplayer
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team

Playing foo.mkv.
[mkv] Expected element not found
[mkv] Expected element not found
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Detected file format: Matroska
Load subtitles in .
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: ATSC A/52A (AC-3) [libavcodec]
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VIDEO:  1280x720  23.976 fps    0.0 kbps ( 0.0 kB/s)
VO: [xv] 1280x720 => 1280x720 Planar YV12
Colorspace details not fully supported by selected vo.
A:   6.4 V:   6.4 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.7% 0 0
[mkv] Bad input [lacing]
A:   6.5 V:   6.5 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.5 V:   6.5 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.6 V:   6.6 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
A:   6.6 V:   6.6 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
A:   6.7 V:   6.7 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.7 V:   6.7 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.8 V:   6.8 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.8 V:   6.8 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.8 V:   6.8 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.9 V:   6.9 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   6.9 V:   6.9 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.0 V:   7.0 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
A:   7.0 V:   7.0 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.1 V:   7.1 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
[h264 @ 0xb299a0]Reference 2 >= 2
[h264 @ 0xb299a0]error while decoding MB 40 23, bytestream (64205)
[h264 @ 0xb299a0]concealing 1769 DC, 1769 AC, 1769 MV errors
A:   7.1 V:   7.1 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
A:   7.2 V:   7.2 A-V:  0.000 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.2 V:   7.2 A-V:  0.001 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.3 V:   7.3 A-V:  0.001 ct:  0.000   0/  0  1%  1%  0.6% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.3 V:   7.3 A-V:  0.001 ct:  0.000   0/  0  1%  1%  0.7% 0 0
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
A:   7.4 V:   7.4 A-V:  0.001 ct:  0.000   0/  0  1%  1%  0.7% 0 0
Seek failed
A:   7.4 V:   7.4 A-V:  0.001 ct:  0.000   0/  0  1%  1%  0.7% 0 0



More information about the pkg-multimedia-maintainers mailing list