root@nas:/var/lib/bareos# gdb --args /usr/sbin/bareos-dir -t -f
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/bareos-dir...Reading symbols from /usr/lib/debug//usr/sbin/bareos-dir...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/sbin/bareos-dir -t -f
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3bc4510 in ?? ()
(gdb) bt full
#0 0x00007ffff3bc4510 in ?? ()
No symbol table info available.
#1 0x00007ffff6a9d568 in ENGINE_remove (e=0x76c370) at eng_list.c:282
to_return = 1
#2 0x00007ffff6a9d6b5 in engine_list_cleanup () at eng_list.c:92
iterator = <optimized out>
#3 0x00007ffff6a9cc86 in engine_cleanup_cb_free (item=0x76c680) at eng_lib.c:198
No locals.
#4 0x00007ffff6aab921 in sk_pop_free (st=0x76c620, func=0x7ffff6a9cc80 <engine_cleanup_cb_free>) at stack.c:327
i = 0
#5 0x00007ffff6a9cf8c in ENGINE_cleanup () at eng_lib.c:205
No locals.
#6 0x00007ffff6e471cb in CleanupCrypto() () from /usr/lib/bareos/libbareos.so.18
No symbol table info available.
#7 0x0000000000433ea7 in directordaemon::TerminateDird(int) ()
No symbol table info available.
#8 0x0000000000433b2b in main ()
No symbol table info available.
(gdb)