From: <bac...@li...> - 2007-07-26 12:47:25
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=901 ====================================================================== Reported By: wolfmair Assigned To: ====================================================================== Project: bacula Issue ID: 901 Category: Director Reproducibility: always Severity: minor Priority: normal Status: feedback ====================================================================== Date Submitted: 07-20-2007 09:00 EDT Last Modified: 07-26-2007 08:47 EDT ====================================================================== Summary: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Description: Bacula-dir crashes while atemting to restore a client which can not be contacted. On OpenSuse 10.2 with bacula 2.0.3 # uname -a Linux porsche 2.6.18.2-34-default http://bugs.bacula.org/view.php?id=1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 athlon i386 GNU/Linux ====================================================================== ---------------------------------------------------------------------- kern - 07-20-07 10:02 ---------------------------------------------------------------------- Unfortunately the traceback is unusable because the SUSE kernel guys seem to be unable or unwilling to supply a "production" kernel that works. Output such as "http://bugs.bacula.org/view.php?id=2 0x00000000 in ?? ()" is total nonsense. I'm switching distros because of that. I'll try to duplicate it, but without a good traceback, this will be hard to fix. You might try issuing the following command as root *before* starting Bacula: echo 0 > /proc/sys/vm/vdso_enabled in most cases, it seems to be a workaround that will permit proper debug output. In general any time you get: "Failed to read a valid object file image from memory." the gdb output will contain nonsense for all or part of the traceback. ---------------------------------------------------------------------- wolfmair - 07-25-07 06:36 ---------------------------------------------------------------------- Ok I will try this but it will take some time. At the moment I am stuck with 'File size of restored file not correct...' ---------------------------------------------------------------------- wolfmair - 07-26-07 08:47 ---------------------------------------------------------------------- Ok here we go. It crashed again. Although it crashed this time under different circumstances. The client was reachable but it showed the same behavior. When I start a restore and so a status director right after, it can not list the running jobs and crashes. Hopefully this traceback contains the needed information. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1212623152 (LWP 9755)] [New Thread -1246667888 (LWP 9790)] [New Thread -1238045808 (LWP 9788)] [New Thread -1229653104 (LWP 9760)] [New Thread -1221260400 (LWP 9757)] [New Thread -1212867696 (LWP 9756)] 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 $1 = "porsche-dir", '\0' <repeats 18 times> $2 = 0x80d7e00 "bacula-dir" $3 = 0x80d80b0 "/sbin/bacula-dir" $4 = 0x0 $5 = 0x80ce0ce "2.0.3 (06 March 2007)" $6 = 0x80c303c "i686-pc-linux-gnu" $7 = 0x80c3037 "suse" $8 = 0x80c3032 "10.2" http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e29876 in __nanosleep_nocancel () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x08094aa4 in bmicrosleep (sec=60, usec=0) at bsys.c:67 http://bugs.bacula.org/view.php?id=3 0x0806a474 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 http://bugs.bacula.org/view.php?id=4 0x0804d115 in main (argc=<value optimized out>, argv=0xbfaf2d64) at dird.c:274 Thread 6 (Thread -1212867696 (LWP 9756)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7c90a41 in ___newselect_nocancel () from /lib/libc.so.6 http://bugs.bacula.org/view.php?id=2 0x08098753 in bnet_thread_server (addrs=0x80d8860, max_clients=10, client_wq=0x80d5820, handle_client_request=0x807f6e0 <handle_UA_client_request>) at bnet_server.c:163 http://bugs.bacula.org/view.php?id=3 0x0807f6d6 in connect_thread (arg=0x80d8860) at ua_server.c:84 http://bugs.bacula.org/view.php?id=4 0xb7e22112 in start_thread () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=5 0xb7c972ee in clone () from /lib/libc.so.6 Thread 5 (Thread -1221260400 (LWP 9757)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e267dc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x080b27c2 in watchdog_thread (arg=0x0) at watchdog.c:305 http://bugs.bacula.org/view.php?id=3 0xb7e22112 in start_thread () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=4 0xb7c972ee in clone () from /lib/libc.so.6 Thread 4 (Thread -1229653104 (LWP 9760)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e2a08b in __waitpid_nocancel () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x080ac51d in signal_handler (sig=11) at signal.c:166 http://bugs.bacula.org/view.php?id=3 <signal handler called> http://bugs.bacula.org/view.php?id=4 0x08080d68 in do_director_status (ua=0x80fdca0) at dird_conf.h:308 http://bugs.bacula.org/view.php?id=5 0x08081530 in status_cmd (ua=0x80fdca0, cmd=0x80fde08 "stat dir") at ua_status.c:143 http://bugs.bacula.org/view.php?id=6 0x0807f793 in handle_UA_client_request (arg=0x80fc358) at ua_server.c:145 http://bugs.bacula.org/view.php?id=7 0x080b319c in workq_server (arg=0x80d5820) at workq.c:355 http://bugs.bacula.org/view.php?id=8 0xb7e22112 in start_thread () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=9 0xb7c972ee in clone () from /lib/libc.so.6 Thread 3 (Thread -1238045808 (LWP 9788)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e2902b in __read_nocancel () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x08095fbb in read_nbytes (bsock=0x80eb2f0, ptr=0xb634de38 "d 4 \023\b \016\b \023\b 4 \213\236\005\b \016\bP\025\023\b \016\b\214f\t\bT", nbytes=4) at bnet.c:86 http://bugs.bacula.org/view.php?id=3 0x08096ae8 in bnet_recv (bsock=0x80eb2f0) at bnet.c:207 http://bugs.bacula.org/view.php?id=4 0x08059e8b in bget_dirmsg (bs=0x80eb2f0) at getmsg.c:107 http://bugs.bacula.org/view.php?id=5 0x0804fc83 in wait_for_job_termination (jcr=0x813a0c0) at backup.c:271 http://bugs.bacula.org/view.php?id=6 0x08068215 in do_restore (jcr=0x813a0c0) at restore.c:203 http://bugs.bacula.org/view.php?id=7 0x0805d412 in job_thread (arg=0x813a0c0) at job.c:304 http://bugs.bacula.org/view.php?id=8 0x0805fcba in jobq_server (arg=0x80d5680) at jobq.c:464 http://bugs.bacula.org/view.php?id=9 0xb7e22112 in start_thread () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=10 0xb7c972ee in clone () from /lib/libc.so.6 Thread 2 (Thread -1246667888 (LWP 9790)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e2902b in __read_nocancel () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x08095fbb in read_nbytes (bsock=0x8131550, ptr=0xb5b15138 "\225", nbytes=4) at bnet.c:86 http://bugs.bacula.org/view.php?id=3 0x08096ae8 in bnet_recv (bsock=0x8131550) at bnet.c:207 http://bugs.bacula.org/view.php?id=4 0x08059e8b in bget_dirmsg (bs=0x8131550) at getmsg.c:107 http://bugs.bacula.org/view.php?id=5 0x08065110 in msg_thread (arg=0x813a0c0) at msgchan.c:363 http://bugs.bacula.org/view.php?id=6 0xb7e22112 in start_thread () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=7 0xb7c972ee in clone () from /lib/libc.so.6 Thread 1 (Thread -1212623152 (LWP 9755)): http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=1 0xb7e29876 in __nanosleep_nocancel () from /lib/libpthread.so.0 http://bugs.bacula.org/view.php?id=2 0x08094aa4 in bmicrosleep (sec=60, usec=0) at bsys.c:67 http://bugs.bacula.org/view.php?id=3 0x0806a474 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 http://bugs.bacula.org/view.php?id=4 0x0804d115 in main (argc=<value optimized out>, argv=0xbfaf2d64) at dird.c:274 http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 http://bugs.bacula.org/view.php?id=0 0xb7fa78b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. http://bugs.bacula.org/view.php?id=1 0xb7e29876 in __nanosleep_nocancel () from /lib/libpthread.so.0 No symbol table info available. http://bugs.bacula.org/view.php?id=2 0x08094aa4 in bmicrosleep (sec=60, usec=0) at bsys.c:67 67 stat = nanosleep(&timeout, NULL); Current language: auto; currently c++ timeout = {tv_sec = 60, tv_nsec = 0} tv = {tv_sec = 0, tv_usec = -1079039048} tz = {tz_minuteswest = -1211097100, tz_dsttime = 0} stat = <value optimized out> http://bugs.bacula.org/view.php?id=3 0x0806a474 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 130 bmicrosleep(next_check_secs, 0); /* recheck once per minute */ jcr = (JCR *) 0x80d6380 job = (JOB *) 0x0 run = (RUN *) 0xe now = <value optimized out> next_job = (job_item *) 0x0 first = false http://bugs.bacula.org/view.php?id=4 0x0804d115 in main (argc=<value optimized out>, argv=0xbfaf2d64) at dird.c:274 274 while ( (jcr = wait_for_next_job(runjob)) ) { ch = <value optimized out> jcr = (JCR *) 0x0 no_signals = 0 test_config = 0 uid = 0x0 gid = 0x0 http://bugs.bacula.org/view.php?id=0 0x00000000 in ?? () No symbol table info available. http://bugs.bacula.org/view.php?id=0 0x00000000 in ?? () No symbol table info available. http://bugs.bacula.org/view.php?id=0 0x00000000 in ?? () No symbol table info available. Issue History Date Modified Username Field Change ====================================================================== 07-20-07 09:00 wolfmair New Issue 07-20-07 10:02 kern Note Added: 0002590 07-20-07 10:02 kern Status new => feedback 07-25-07 06:36 wolfmair Note Added: 0002620 07-26-07 08:47 wolfmair Note Added: 0002621 ====================================================================== |