>>>>> On Tue, 5 Mar 2019 11:32:26 -0500, Phil Stracchino said:
> 
> On 3/5/19 10:18 AM, Martin Simmons wrote:
> >> On 2/20/19 8:33 AM, Phil Stracchino wrote:
> >> /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.
> 
> 
> OK, so once again this is a case where to be able to troubleshoot this,
> I really need to install an unstripped binary.

Yes, or find a way to separate the debugging information
(https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html) like the
"debuginfo" packages of some Linux distros and install them as needed for
debugging.

__Martin


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to