Code: Select all
$ gdb --args `which vlc`
GNU gdb (Gentoo 8.3.1 vanilla) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
...
Registered pretty printers for UE4 classes
Reading symbols from /usr/bin/vlc...
Reading symbols from /usr/lib/debug//usr/bin/vlc.debug...
(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 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
Program received signal SIGSEGV, Segmentation fault.
do_lookup_x (
undef_name=undef_name@entry=0x7ffff6ca18f8 "_ITM_deregisterTMCloneTable",
new_hash=new_hash@entry=2247416213,
old_hash=old_hash@entry=0x7fffffffc080, ref=0x7ffff6ca13d8,
result=result@entry=0x7fffffffc090, scope=<optimized out>, i=0,
version=0x0, flags=1, skip=0x0, type_class=4, undef_map=0x5555555ebfb0)
at dl-lookup.c:350
350 const struct link_map *map = list[i]->l_real;