>>>>> On Mon, 4 Mar 2019 12:39:15 -0500, Phil Stracchino said: > > On 2/20/19 8:33 AM, Phil Stracchino wrote: > > On 2/20/19 3:18 AM, Radosław Korzeniewski wrote: > >> > >> Unfortunate they are incomplete: /usr/libexec/bacula/btraceback.gdb:1: > >> Error in sourced command file > >> so, without gdb backtrace we cannot narrow down what is going on in this > >> case. > > > > > > OK, so far the problem has not recurred, but if it does I will try > > starting with strace again and see whether it yields any enlightenment. > > Director died again today, right after completing all backups. I got > this traceback, which seems to indicate that btraceback.gdb is in need > of an update: > > > [New LWP 2733] > [New LWP 2734] > [New LWP 10950] > [New LWP 1344] > [New LWP 1353] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > 0x00007fb6adf84118 in nanosleep () from /lib64/libpthread.so.0 > /usr/libexec/bacula/btraceback.gdb:1: Error in sourced command file: > 'fail_time' has unknown type; cast it to its declared type
This "unknown type" error happens if you have a build with no debug symbols (in the libbac .so file). You could remove all of the print commands from your /usr/libexec/bacula/btraceback.gdb and test it by forcing a crash using kill -SEGV from a shell. __Martin _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel