Okay, I have some more debug info. I re-ran the test on a different system, a
Fedora 7 one. The output of the test with REGRESS_DEBUG=1 was the same, but
this time it was able to generate a gdb backtrace. I don't know if the
backtrace wasn't being generated due to a Fedora 8 quick or if it's just a
problem on this particular system yet, but hopefully the backtrace will shed
some more light on the problem.
--
Frank Sweetser fs at wpi.edu | For every problem, there is a solution that
WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC
--- Begin Message ---
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208494384 (LWP 24190)]
[New Thread -1242063984 (LWP 24319)]
[New Thread -1231574128 (LWP 24196)]
[New Thread -1221084272 (LWP 24194)]
[New Thread -1210594416 (LWP 24193)]
0x00110402 in __kernel_vsyscall ()
$1 = "localhost-dir", '\0' <repeats 16 times>
$2 = 0x915b868 "bacula-dir"
$3 = 0x915b890 "/home/fs/bacula/bacula-trunk/regress/bin/bacula-dir"
$4 = 0x916a750 "SQLite"
$5 = 0x80dae45 "2.2.7 (14 December 2007)"
$6 = 0x80c1b77 "i686-pc-linux-gnu"
$7 = 0x80c1b70 "redhat"
$8 = 0x80ca398 ""
#0 0x00110402 in __kernel_vsyscall ()
#1 0x004985e6 in nanosleep () from /lib/libpthread.so.0
#2 0x08099eb4 in bmicrosleep (sec=60, usec=0) at bsys.c:71
#3 0x0806caf4 in wait_for_next_job (one_shot_job_to_run=0x0)
at scheduler.c:130
#4 0x0804e592 in main (argc=0, argv=0xbfd08f84) at dird.c:287
Thread 5 (Thread -1210594416 (LWP 24193)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x003cd561 in select () from /lib/libc.so.6
#2 0x0809c20f in bnet_thread_server (addrs=0x915c7a0, max_clients=20,
client_wq=0x80e30c0,
handle_client_request=0x80837d0 <handle_UA_client_request>)
at bnet_server.c:161
#3 0x080837c6 in connect_thread (arg=0x915c7a0) at ua_server.c:84
#4 0x0049144b in start_thread () from /lib/libpthread.so.0
#5 0x003d480e in clone () from /lib/libc.so.6
Thread 4 (Thread -1221084272 (LWP 24194)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x0049548c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#2 0x080bcb2f in watchdog_thread (arg=0x0) at watchdog.c:307
#3 0x0049144b in start_thread () from /lib/libpthread.so.0
#4 0x003d480e in clone () from /lib/libc.so.6
Thread 3 (Thread -1231574128 (LWP 24196)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x00498d3b in waitpid () from /lib/libpthread.so.0
#2 0x080b4b6d in signal_handler (sig=11) at signal.c:167
#3 <signal handler called>
#4 0x080a0ace in fmtint (
buffer=0x916a4f8 "run job=\"RestoreFiles\" client=\"localhost-fd\"
restoreclient=\"localhost-fd\" storage=\"DiskChanger\"
bootstrap=\"/home/fs/bacula/bacula-trunk/regress/working/localhost-dir.restore.3.bsr\"
where=\"/home/fs/bac"...,
currlen=<value optimized out>, maxlen=255, value=5469, base=10, min=0,
max=-1, flags=<value optimized out>) at bsnprintf.c:523
#5 0x080a1387 in bvsnprintf (
buffer=0x916a4f8 "run job=\"RestoreFiles\" client=\"localhost-fd\"
restoreclient=\"localhost-fd\" storage=\"DiskChanger\"
bootstrap=\"/home/fs/bacula/bacula-trunk/regress/working/localhost-dir.restore.3.bsr\"
where=\"/home/fs/bac"...,
maxlen=255,
format=0x80ccb74 "run job=\"%s\" client=\"%s\" restoreclient=\"%s\"
storage=\"%s\" bootstrap=\"%s\" where=\"%s\" files=%d catalog=\"%s\"",
args=<value optimized out>) at bsnprintf.c:292
#6 0x080ab439 in Mmsg ([EMAIL PROTECTED],
fmt=0x80ccb74 "run job=\"%s\" client=\"%s\" restoreclient=\"%s\"
storage=\"%s\" bootstrap=\"%s\" where=\"%s\" files=%d catalog=\"%s\"") at
message.c:1274
#7 0x0807d693 in restore_cmd (ua=0x916dcf8,
cmd=0x916a4f8 "run job=\"RestoreFiles\" client=\"localhost-fd\"
restoreclient=\"localhost-fd\" storage=\"DiskChanger\"
bootstrap=\"/home/fs/bacula/bacula-trunk/regress/working/localhost-dir.restore.3.bsr\"
where=\"/home/fs/bac"...)
at ua_restore.c:252
#8 0x0806f5b6 in do_a_command (ua=0x916dcf8,
cmd=0x916a4f8 "run job=\"RestoreFiles\" client=\"localhost-fd\"
restoreclient=\"localhost-fd\" storage=\"DiskChanger\"
bootstrap=\"/home/fs/bacula/bacula-trunk/regress/working/localhost-dir.restore.3.bsr\"
where=\"/home/fs/bac"...)
at ua_cmds.c:180
#9 0x08083890 in handle_UA_client_request (arg=0x916bbc0) at ua_server.c:147
#10 0x080bd19c in workq_server (arg=0x80e30c0) at workq.c:357
#11 0x0049144b in start_thread () from /lib/libpthread.so.0
#12 0x003d480e in clone () from /lib/libc.so.6
Thread 2 (Thread -1242063984 (LWP 24319)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x0049548c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#2 0x08062de7 in jobq_server (arg=0x80e2f20) at jobq.c:423
#3 0x0049144b in start_thread () from /lib/libpthread.so.0
#4 0x003d480e in clone () from /lib/libc.so.6
Thread 1 (Thread -1208494384 (LWP 24190)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x004985e6 in nanosleep () from /lib/libpthread.so.0
#2 0x08099eb4 in bmicrosleep (sec=60, usec=0) at bsys.c:71
#3 0x0806caf4 in wait_for_next_job (one_shot_job_to_run=0x0)
at scheduler.c:130
#4 0x0804e592 in main (argc=0, argv=0xbfd08f84) at dird.c:287
#0 0x00110402 in __kernel_vsyscall ()
#0 0x00110402 in __kernel_vsyscall ()
No symbol table info available.
#1 0x004985e6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x08099eb4 in bmicrosleep (sec=60, usec=0) at bsys.c:71
71 stat = nanosleep(&timeout, NULL);
Current language: auto; currently c++
timeout = {tv_sec = 60, tv_nsec = 0}
tv = {tv_sec = 0, tv_usec = -18000}
tz = {tz_minuteswest = 4, tz_dsttime = 3}
stat = <value optimized out>
#3 0x0806caf4 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 *) 0x25
job = (JOB *) 0xbfd08f84
run = (RUN *) 0x33
now = <value optimized out>
next_job = (job_item *) 0x0
first = false
#4 0x0804e592 in main (argc=0, argv=0xbfd08f84) at dird.c:287
287 while ( (jcr = wait_for_next_job(runjob)) ) {
ch = <value optimized out>
jcr = (JCR *) 0x4
no_signals = false
test_config = false
uid = 0x0
gid = 0x0
#0 0x00000000 in ?? ()
No symbol table info available.
#0 0x00000000 in ?? ()
No symbol table info available.
#0 0x00000000 in ?? ()
No symbol table info available.
--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel