vlc 2.6.6 crashs on gentoo with segfault in libpthread-2.23.so
vlc 2.6.6 crashs on gentoo with a segfault in libpthread-2.23.so while playing a dvb stream (h264 / AC3)
I have uploaded a test sample for you: https://mega.nz/#!VSREAJ7L!gos434sHGNkOiA6-zK-pR_F3oyquuIT00ZAry7QwdhM
GDB Stacktrace (crash at 0:10min with selected audio channel german!) :
gdb vlc
GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
Copyright (C) 2017 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...Reading symbols from /usr/lib64/debug//usr/bin/vlc.debug...done.
done.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[New Thread 0x7f1a82b6c700 (LWP 9375)]
[New Thread 0x7f1a8dbc2700 (LWP 9376)]
[New Thread 0x7f1a8882f700 (LWP 9377)]
[0000000000605438] core libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[New Thread 0x7f1a801e4700 (LWP 9379)]
[00000000006fc578] qt4 interface error: Unable to load extensions module
[New Thread 0x7f1a5ffff700 (LWP 9380)]
[New Thread 0x7f1a5f7fe700 (LWP 9381)]
[Thread 0x7f1a5f7fe700 (LWP 9381) exited]
[Thread 0x7f1a5ffff700 (LWP 9380) exited]
[New Thread 0x7f1a68211700 (LWP 9398)]
[New Thread 0x7f1a68110700 (LWP 9399)]
[New Thread 0x7f1a5effd700 (LWP 9400)]
[Thread 0x7f1a5effd700 (LWP 9400) exited]
[New Thread 0x7f1a5effd700 (LWP 9401)]
[Thread 0x7f1a5effd700 (LWP 9401) exited]
[Thread 0x7f1a68211700 (LWP 9398) exited]
[New Thread 0x7f1a5f7fe700 (LWP 9402)]
[New Thread 0x7f1a5ffff700 (LWP 9403)]
[New Thread 0x7f1a43ad4700 (LWP 9404)]
[New Thread 0x7f1a432d3700 (LWP 9405)]
[New Thread 0x7f1a5effd700 (LWP 9406)]
[New Thread 0x7f1a68211700 (LWP 9407)]
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f1a54c86398] avcodec decoder: Using Intel i965 driver for Intel(R) Kabylake - 1.7.3 for hardware decoding.
[h264 @ 0x7f1a54cc6da0] mmco: unref short failure
[h264 @ 0x7f1a54cc6da0] mmco: unref short failure
[h264 @ 0x7f1a54cc6da0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[00007f1a58196838] freetype spu text error: failed to load font file Liberation Sans
No accelerated IMDCT transform found
[New Thread 0x7f1a389cf700 (LWP 9409)]
[00007f1a58196838] freetype spu text error: failed to load font file Liberation Sans
Thread 17 "vlc" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f1a68211700 (LWP 9407)]
__GI___pthread_mutex_lock (mutex=mutex@entry=0xb0) at ../nptl/pthread_mutex_lock.c:67
67 unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
(gdb) bt
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) __GI___pthread_mutex_lock (mutex=mutex@entry=0xb0) at ../nptl/pthread_mutex_lock.c:67
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007f1a8ce52f19 in vlc_mutex_lock (p_mutex=p_mutex@entry=0xb0) at posix/thread.c:256
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x00007f1a8ce30bdc in aout_OutputLock (aout=aout@entry=0x0) at audio_output/output.c:543
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x00007f1a8ce2e139 in aout_DecDelete (aout=0x0) at audio_output/dec.c:116
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x00007f1a8cdffb22 in aout_update_format (p_dec=0x7f1a54d1ed78) at input/decoder.c:1972
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007f1a8ce00c19 in decoder_UpdateAudioFormat (dec=0x7f1a54d1ed78, dec@entry=0x7f1a48002360) at ../include/vlc_codec.h:214
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) decoder_NewAudioBuffer (dec=dec@entry=0x7f1a54d1ed78, samples=1536) at input/decoder.c:187
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007f1a4f7efd1a in GetAoutBuffer (p_dec=0x7f1a54d1ed78) at codec/a52.c:385
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) GetOutBuffer (pp_out_buffer=<synthetic pointer>, p_dec=0x7f1a54d1ed78) at codec/a52.c:370
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) DecodeBlock (p_dec=0x7f1a54d1ed78, pp_block=0x7f1a68210db8) at codec/a52.c:295
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00007f1a8ce0083f in DecoderDecodeAudio (p_dec=p_dec@entry=0x7f1a54d1ed78, p_block=p_block@entry=0x7f1a54dabca0) at input/decoder.c:1222
[#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0x00007f1a8ce01e8b in DecoderProcessAudio (b_flush=false, p_block=0x7f1a54dabca0, p_dec=0x7f1a54d1ed78) at input/decoder.c:1684
[#12](https://code.videolan.org/videolan/vlc/-/issues/12) DecoderProcess (p_block=<optimized out>, p_dec=0x7f1a54d1ed78) at input/decoder.c:1811
[#13](https://code.videolan.org/videolan/vlc/-/issues/13) DecoderThread (p_data=0x7f1a54d1ed78) at input/decoder.c:909
[#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0x00007f1a8d63e3e4 in start_thread (arg=0x7f1a68211700) at pthread_create.c:333
[#15](https://code.videolan.org/videolan/vlc/-/issues/15) 0x00007f1a8d181a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)