# gdb --args /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape -f GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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"... (gdb) run Starting program: /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape -f Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread 0x7f09918656f0 (LWP 3390)] [New Thread 0x4169c950 (LWP 3394)] [Thread 0x4169c950 (LWP 3394) exited] [New Thread 0x41e9d950 (LWP 3395)] [New Thread 0x4169c950 (LWP 3396)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x4169c950 (LWP 3396)] 0x000000000043855b in read_records (dcr=0x1d07248, record_cb=0x42f3e4 , mount_cb=0x431c40 ) at read_record.c:225 225 read_record.c: No such file or directory. in read_record.c Current language: auto; currently c++ (gdb) print jcr $1 = (JCR *) 0xc0e3249e2fdb77ce (gdb) print *jcr Cannot access memory at address 0xc0e3249e2fdb77ce (gdb) print jcr->dcr Cannot access memory at address 0xc0e3249e2fdb7b26 (gdb) print *(jcr->dcr) Cannot access memory at address 0xc0e3249e2fdb7b26 (gdb)