Bug 5133

Summary: VLC will not start. (Segmentation fault)
Product: Fedora Reporter: Patrick Kasper <patkasper.linuxfreakgraz>
Component: vlcAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: leigh123linux
Priority: P1    
Version: f29   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Patrick Kasper 2019-01-06 22:02:00 CET
Process 2361 (vlc) of user 1000 dumped core.

Stack trace of thread 2361:
#0  0x00007fa43773a0fd do_lookup_x (ld-linux-x86-64.so.2)
#1  0x00007fa43773ac0f _dl_lookup_symbol_x (ld-linux-x86-64.so.2)
#2  0x00007fa43773c62e _dl_relocate_object (ld-linux-x86-64.so.2)
#3  0x00007fa437743dbd dl_open_worker (ld-linux-x86-64.so.2)
#4  0x00007fa437335137 _dl_catch_exception (libc.so.6)
#5  0x00007fa43774376e _dl_open (ld-linux-x86-64.so.2)
#6  0x00007fa4373c239a dlopen_doit (libdl.so.2)
#7  0x00007fa437335137 _dl_catch_exception (libc.so.6)
#8  0x00007fa4373351d3 _dl_catch_error (libc.so.6)
#9  0x00007fa4373c2b09 _dlerror_run (libdl.so.2)
#10 0x00007fa4373c243a dlopen@@GLIBC_2.2.5 (libdl.so.2)
#11 0x00007fa437698134 n/a (libvlccore.so.9)
#12 0x00007fa43762ce94 n/a (libvlccore.so.9)
#13 0x00007fa43762bb9b n/a (libvlccore.so.9)
#14 0x00007fa43762bfaf vlc_module_load (libvlccore.so.9)
#15 0x00007fa437630fd3 intf_Create (libvlccore.so.9)
#16 0x00007fa437631418 libvlc_InternalAddIntf (libvlccore.so.9)
#17 0x00007fa4376f8fd0 libvlc_add_intf (libvlc.so.5)
#18 0x000055bd18c1377e n/a (vlc)
#19 0x00007fa43721f413 __libc_start_main (libc.so.6)
#20 0x000055bd18c138ae n/a (vlc)

Stack trace of thread 2363:
#0  0x00007fa4372ed421 __poll (libc.so.6)
#1  0x00007fa429c10675 poll_func (libpulse.so.0)
#2  0x00007fa429c01c58 pa_mainloop_poll (libpulse.so.0)
#3  0x00007fa429c022a2 pa_mainloop_iterate (libpulse.so.0)
#4  0x00007fa429c02350 pa_mainloop_run (libpulse.so.0)
#5  0x00007fa429c105bd thread (libpulse.so.0)
#6  0x00007fa429bad06c internal_thread_func (libpulsecommon-12.2.so)
#7  0x00007fa4373d158e start_thread (libpthread.so.0)
#8  0x00007fa4372f86a3 __clone (libc.so.6)

Stack trace of thread 2364:
#0  0x00007fa4373d773c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007fa4376332d3 n/a (libvlccore.so.9)
#2  0x00007fa4373d158e start_thread (libpthread.so.0)
#3  0x00007fa4372f86a3 __clone (libc.so.6)

Stack trace of thread 2365:
#0  0x00007fa4372ed421 __poll (libc.so.6)
#1  0x00007fa428ea6d9c n/a (libdbus_plugin.so)
#2  0x00007fa4373d158e start_thread (libpthread.so.0)
#3  0x00007fa4372f86a3 __clone (libc.so.6)

vlc[2361]: segfault at 0 ip 00007fa43773a0fd sp 00007ffd1b72b5b0 error 4 in ld-2.28.so[7fa437731000+20000]

ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=2361 comm="vlc" exe="/usr/bin/vlc" sig=11 res=1

dmesg | grep vlc
[  232.189051] vlc[2361]: segfault at 0 ip 00007fa43773a0fd sp 00007ffd1b72b5b0 error 4 in ld-2.28.so[7fa437731000+20000]
[ 6179.136753] vlc[5618]: segfault at 0 ip 00007fd6d95c20fd sp 00007fff688a02b0 error 4 in ld-2.28.so[7fd6d95b9000+20000]
[ 6209.417869] vlc[5735]: segfault at 0 ip 00007f539729d0fd sp 00007ffdce5a56a0 error 4 in ld-2.28.so[7f5397294000+20000]
[17586.656175] vlc[7999]: segfault at 0 ip 00007f26446080fd sp 00007ffe1ae81b20 error 4 in ld-2.28.so[7f26445ff000+20000]
[18863.550731] vlc[8503]: segfault at 0 ip 00007f9af98be0fd sp 00007ffea7731ed0 error 4 in ld-2.28.so[7f9af98b5000+20000]

vlc-3.0.5-10.fc29.x86_64.rpm
glibc-2.28-26.fc29.i686               glibc-2.28-26.fc29.x86_64
Fedora 29 fresh install
Comment 1 leigh scott 2019-01-07 08:49:41 CET
Without the debug symbols the backtrace is useless.
Comment 2 Nicolas Chauvet 2019-01-07 08:58:33 CET
Please also mention few word on your setup, because for all f29 users, vlc does not segfault.
https://fedoraproject.org/wiki/StackTraces
Comment 3 Patrick Kasper 2019-01-07 15:03:16 CET
gdb
GNU gdb (GDB) Fedora 8.2-5.fc29
Copyright (C) 2018 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
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".
(gdb) list
No symbol table is loaded.  Use the "file" command.
(gdb) file vlc
Reading symbols from vlc...Reading symbols from /usr/lib/debug/usr/bin/vlc-3.0.5-10.fc29.x86_64.debug...done.
done.
(gdb) run vlc
Starting program: /usr/bin/vlc vlc
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
VLC media player 3.0.5 Vetinari (revision 3.0.5-1-0-g653c0c1ca8)
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
Missing separate debuginfo for /lib64/libX11-xcb.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/e5/98cf3d2ee9a0d2c339d5fcd4a27ad9e9b9e730.debug
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[New Thread 0x7fffea04f700 (LWP 32541)]
[New Thread 0x7fffe984e700 (LWP 32542)]
warning: Loadable section ".note.gnu.property" outside of ELF segments
[New Thread 0x7fffe9739700 (LWP 32543)]
[New Thread 0x7fffe9638700 (LWP 32544)]
[New Thread 0x7fffe9537700 (LWP 32545)]
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[000055555555b590] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments

Thread 1 "vlc" received signal SIGSEGV, Segmentation fault.
do_lookup_x (
    undef_name=undef_name@entry=0x7fffc9986910 "_ITM_deregisterTMCloneTable", 
    new_hash=new_hash@entry=2247416213, 
    old_hash=old_hash@entry=0x7fffffffcb10, ref=0x7fffc99863f0, 
    result=result@entry=0x7fffffffcb20, scope=<optimized out>, i=0, 
    version=0x0, flags=1, skip=0x0, type_class=4, undef_map=0x555555624590)
    at dl-lookup.c:350
350	      const struct link_map *map = list[i]->l_real;
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-28.fc29.x86_64 dbus-libs-1.12.10-1.fc29.x86_64 expat-2.2.6-1.fc29.x86_64 flac-libs-1.3.2-8.fc29.x86_64 fontconfig-2.13.1-3.fc29.x86_64 glib2-2.58.2-1.fc29.x86_64 gsm-1.0.18-3.fc29.x86_64 libICE-1.0.9-14.fc29.x86_64 libSM-1.2.3-1.fc29.x86_64 libXau-1.0.8-14.fc29.x86_64 libXtst-1.2.3-8.fc29.x86_64 libasyncns-0.8-15.fc29.x86_64 libblkid-2.32.1-1.fc29.x86_64 libbluray-1.0.2-4.fc29.x86_64 libcap-2.25-12.fc29.x86_64 libgcrypt-1.8.4-1.fc29.x86_64 libgpg-error-1.31-2.fc29.x86_64 libidn-1.35-3.fc29.x86_64 libmount-2.32.1-1.fc29.x86_64 libogg-1.3.3-1.fc29.x86_64 libpng-1.6.34-6.fc29.x86_64 libselinux-2.8-4.fc29.x86_64 libsndfile-1.0.28-9.fc29.x86_64 libuuid-2.32.1-1.fc29.x86_64 libxml2-2.9.8-4.fc29.x86_64 lz4-libs-1.8.3-1.fc29.x86_64 systemd-libs-239-7.git3bf819c.fc29.x86_64 xz-libs-5.2.4-3.fc29.x86_64 zlib-1.2.11-14.fc29.x86_64
(gdb) start vlc
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Temporary breakpoint 1 at 0x5555555564d0: file vlc.c, line 116.
Starting program: /usr/bin/vlc vlc
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments

Temporary breakpoint 1, main (i_argc=2, ppsz_argv=0x7fffffffd6e8) at vlc.c:116
116	{
(gdb)
Comment 4 Nicolas Chauvet 2019-01-07 17:41:01 CET
There is a need for a stacktrace , still not any.
Right now it only show that it fails on "do_lookup_x" which is located in glibc.

Please also try to attach your output in a separate file instead of copying this on the thread. it is harder to read
Comment 5 Nicolas Chauvet 2019-01-07 17:43:17 CET
(In reply to Nicolas Chauvet from comment #4)
> There is a need for a stacktrace , still not any.
you need to go to something like:
gdb vlc
run
(wait for the SIGSEGV)
thread apply all bt full
Comment 6 Nicolas Chauvet 2019-01-08 09:34:10 CET
Seems like a wayland only issue.

Can you reproduce with this older package ?
http://koji.rpmfusion.org/koji/buildinfo?buildID=9229
Comment 7 Nicolas Chauvet 2019-01-08 09:51:51 CET
Do you remember since when did you experience this issue ?
Comment 8 Nicolas Chauvet 2019-01-08 22:12:38 CET
Confirmed (on IRC) to be a duplicate of 5131

The Carla package bundled and provides libjack.so.0 which conflicts with the official libjack from fedora.

*** This bug has been marked as a duplicate of bug 5131 ***
Comment 9 Patrick Kasper 2019-01-09 22:49:16 CET
I have install an Update from vlc, not works.

[patrickkasper@localhost ~]$ gdb
GNU gdb (GDB) Fedora 8.2-5.fc29
Copyright (C) 2018 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
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".
(gdb) file vlc
Reading symbols from vlc...Reading symbols from /usr/lib/debug/usr/bin/vlc-3.0.5-14.fc29.x86_64.debug...done.
done.
(gdb) run vlc
Starting program: /usr/bin/vlc vlc
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
VLC media player 3.0.5 Vetinari (revision 3.0.5-1-0-g653c0c1ca8)
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
Missing separate debuginfo for /lib64/libX11-xcb.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/e5/98cf3d2ee9a0d2c339d5fcd4a27ad9e9b9e730.debug
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[New Thread 0x7fffea04e700 (LWP 5011)]
[New Thread 0x7fffe984d700 (LWP 5012)]
warning: Loadable section ".note.gnu.property" outside of ELF segments
[New Thread 0x7fffe9738700 (LWP 5013)]
[New Thread 0x7fffe9637700 (LWP 5014)]
[New Thread 0x7fffe9536700 (LWP 5015)]
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[000055555555b590] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.

Thread 1 "vlc" received signal SIGSEGV, Segmentation fault.
do_lookup_x (
    undef_name=undef_name@entry=0x7fffc9941910 "_ITM_deregisterTMCloneTable", 
    new_hash=new_hash@entry=2247416213, 
    old_hash=old_hash@entry=0x7fffffffcb10, ref=0x7fffc99413f0, 
    result=result@entry=0x7fffffffcb20, scope=<optimized out>, i=0, 
    version=0x0, flags=1, skip=0x0, type_class=4, undef_map=0x555555625640)
    at dl-lookup.c:350
350	      const struct link_map *map = list[i]->l_real;
(gdb) start vlc
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Temporary breakpoint 1 at 0x5555555564d0: file vlc.c, line 116.
Starting program: /usr/bin/vlc vlc
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments

Temporary breakpoint 1, main (i_argc=2, ppsz_argv=0x7fffffffd6e8) at vlc.c:116
116	vlc.c: No such file or directory.
(gdb)



"you need to go to something like:
gdb vlc
run
(wait for the SIGSEGV)
thread apply all bt full"

(gdb) vlc
Undefined command: "vlc".  Try "help".
(gdb)