If gdb is hanging then you could try dbx (not sure if that can decode gcc's debug info though).
__Martin >>>>> On Thu, 1 Mar 2018 14:10:55 +0000, Mike Eggleston said: > > The backtrace would really help me trying to diagnose the issue. I'm trying > to get a backtrace, but things hang. I've resorted to adding printf()s to the > code to see what's happening... :( > > Thanks, > Mike > > -----Original Message----- > From: Martin Simmons [mailto:mar...@lispworks.com] > Sent: Thursday, March 01, 2018 7:29 AM > To: Mike Eggleston <mike.eggles...@firstcash.com> > Cc: tgamt...@gmail.com; Bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Fwd: segmentation violation > > It might help if you can get a backtrace with debug info in the executable > and libs. > > Can you run from the build directory rather than the install directory? You > might also need to configure and build with CFLAGS="-g -O0". > > __Martin > > > >>>>> On Wed, 28 Feb 2018 17:11:12 +0000, Mike Eggleston said: > > > > I run make after configuring with: > > > > ./configure --enable-client-only --with-dump-email=bacula@localhost > > --with-job-email=bacula@localhost --prefix=/opt/bacula > > > > This time I started bacula-fd in gdb and got: > > > > root:/opt/bacula/etc> gdb ../sbin/bacula-fd GNU gdb (GDB) 7.9.1 > > Copyright (C) 2015 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 "powerpc64-ibm-aix6.1.2.0". > > 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"... > > Reading symbols from ../sbin/bacula-fd...done. > > (gdb) run -d 2000 -f -u root -g system -c bacula-fd.conf Starting > > program: /opt/bacula/sbin/bacula-fd -d 2000 -f -u root -g system -c > > bacula-fd.conf [New Thread 1] > > > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 1] > > 0xd6a159a0 in sm_get_pool_memory () from > > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so) > > (gdb) where > > #0 0xd6a159a0 in sm_get_pool_memory () from > > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so) > > #1 0xd6a1d6b8 in CONFIG::CONFIG () from > > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so) > > #2 0x10000820 in main (argc=0, argv=0x2ff22ca0) at filed.c:214 > > warning: (Internal error: pc 0x100001bb in read in psymtab, but not in > > symtab.) > > > > warning: (Internal error: pc 0x100001bc in read in psymtab, but not in > > symtab.) > > > > (gdb) > > > > Thanks, > > Mike > > > > From: Talile Gamtesa [mailto:tgamt...@gmail.com] > > Sent: Wednesday, February 28, 2018 7:35 AM > > To: Bacula-users@lists.sourceforge.net > > Subject: [Bacula-users] Fwd: segmentation violation > > > > > > ---------- Forwarded message ---------- > > From: Talile Gamtesa <tgamt...@gmail.com<mailto:tgamt...@gmail.com>> > > Date: Mon, Feb 26, 2018 at 2:54 PM > > Subject: segmentation violation > > To: bacula-us...@nospam.com<mailto:bacula-us...@nospam.com> > > > > Dear list, > > > > I installed bacula 9.0.6 (also tried with 7) from source on aix 7.2 as > > client only. But it doesn't it start and ./bacula-fd -tc > > bacula-fd.conf -f -d 400 > > > > gives me: > > > > Bacula interrupted by signal 11: Segmentation violation Kaboom! > > bacula-fd, bacula-fd got signal 11 - Segmentation violation Please > > help [Image removed by sender.] > > > > > > -- > > Talile M. Gamtesa > > Tel +251922863497<tel:092%20286%203497> > > BSc in Electrical Engineering > > > > > > > > > > -- > > Talile M. Gamtesa > > Tel +251922863497 > > BSc in Electrical Engineering > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users