Hallo,
here ist the printout from a debug created bei bacula-sd last night
(received via email).
I don´t know what to do :
--------------------------------------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1210415424 (LWP 9765)]
[New Thread -1235813456 (LWP 9957)]
[Thread debugging using libthread_db enabled]
[New Thread -1210415424 (LWP 9765)]
[New Thread -1235813456 (LWP 9957)]
[Thread debugging using libthread_db enabled]
[New Thread -1210415424 (LWP 9765)]
[New Thread -1235813456 (LWP 9957)]
[New Thread -1210418256 (LWP 9943)]
[New Thread -1227420752 (LWP 9805)]
[New Thread -1218810960 (LWP 9768)]
0xffffe402 in ?? ()
$1 = "asterix-sd", '\0' <repeats 19 times>
$2 = 0x80a3050 "bacula-sd"
$3 = 0x80a3078 "/opt/bacula/bin/"
$4 = "MySQL"
$5 = 0x80932ac "1.38.1 (14 November 2005)"
$6 = 0x809048d "i686-pc-linux-gnu"
$7 = 0x8090488 "suse"
$8 = 0x8090484 "9.3"
#0 0xffffe402 in ?? ()
#1 0xb7e5cfd1 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2 0x08072e83 in bnet_thread_server (addrs=0x80a3818, max_clients=41,
client_wq=0x80a1d80,
handle_client_request=0x805cc70 <handle_connection_request(void*)>)
at bnet_server.c:148
#3 0x0804b608 in main (argc=3, argv=0xbffff7e4) at stored.c:240
Thread 5 (Thread -1218810960 (LWP 9768)):
#0 0xffffe402 in ?? ()
#1 0xb7fb3ccc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#2 0x080838ca in watchdog_thread (arg=0x0) at watchdog.c:296
#3 0xb7fb1aa7 in start_thread () from /lib/tls/libpthread.so.0
#4 0xb7e63c2e in clone () from /lib/tls/libc.so.6
Thread 4 (Thread -1227420752 (LWP 9805)):
#0 0xffffe402 in ?? ()
#1 0xb7fb631b in __read_nocancel () from /lib/tls/libpthread.so.0
#2 0x08072613 in read_nbytes (bsock=0x80a8870, ptr=0xb6d7031c "\204",
nbytes=4) at bnet.c:73
#3 0x080726d7 in bnet_recv (bsock=0x80a8870) at bnet.c:194
#4 0x0805cd89 in handle_connection_request (arg=0x80a8870) at
dircmd.c:191
#5 0x08084149 in workq_server (arg=0x80a1d80) at workq.c:347
#6 0xb7fb1aa7 in start_thread () from /lib/tls/libpthread.so.0
#7 0xb7e63c2e in clone () from /lib/tls/libc.so.6
Thread 3 (Thread -1210418256 (LWP 9943)):
#0 0xffffe402 in ?? ()
#1 0xb7fb3ccc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#2 0x0806efb1 in wait_for_sysop (dcr=0x80a6a08) at wait.c:89
#3 0x08050dd9 in dir_ask_sysop_to_create_appendable_volume
(dcr=0x80a8ad0)
at askdir.c:478
#4 0x08064a40 in mount_next_write_volume (dcr=0x80a8ad0, release=false)
at mount.c:89
#5 0x0804e453 in acquire_device_for_append (dcr=0x80a8ad0) at
acquire.c:385
#6 0x0804efc9 in do_append_data (jcr=0x80a6a08) at append.c:60
#7 0x0806038d in append_data_cmd (jcr=0x80a6a08) at fd_cmds.c:178
#8 0x0805fffe in run_job (jcr=0x80a6a08) at fd_cmds.c:140
#9 0x080609cd in run_cmd (jcr=0x80a6a08) at job.c:174
#10 0x0805cf6e in handle_connection_request (arg=0x80a87e8) at
dircmd.c:209
#11 0x08084149 in workq_server (arg=0x80a1d80) at workq.c:347
#12 0xb7fb1aa7 in start_thread () from /lib/tls/libpthread.so.0
#13 0xb7e63c2e in clone () from /lib/tls/libc.so.6
Thread 2 (Thread -1235813456 (LWP 9957)):
#0 0xffffe402 in ?? ()
#1 0xb7e5599b in __read_nocancel () from /lib/tls/libc.so.6
#2 0xb7e07288 in _IO_file_read_internal () from /lib/tls/libc.so.6
#3 0xb7e073de in _IO_new_file_underflow () from /lib/tls/libc.so.6
#4 0xb7e08b9b in _IO_default_uflow_internal () from /lib/tls/libc.so.6
#5 0xb7e09f46 in __uflow () from /lib/tls/libc.so.6
#6 0xb7e0416f in getc () from /lib/tls/libc.so.6
#7 0x0806f5b5 in bfgets (s=0x80d57d8 "", size=32000, fd=0x80b3d90)
at bsys.c:623
#8 0x08073de6 in run_program_full_output (prog=0x80b32e8 "", wait=150,
results=0x80b35b8 "Kaboom! bacula-sd, asterix-sd got signal 11.
Attempting traceback.\nKaboom! exepath=/opt/bacula/bin/\nCalling:
/opt/bacula/bin/btraceback /opt/bacula/bin/bacula-sd 9765\nTraceback
complete, attempting cl"...)
at bpipe.c:342
#9 0x0805dc0c in do_mount_dev (dev=0x80a7a50, mount=0,
dotimeout=134952376)
at mem_pool.h:84
#10 0x0805e124 in unmount_dev (dev=0x80a7a50, timeout=1) at dvd.c:95
#11 0x08058a2f in DEVICE::open_dvd_device (this=0x80a7a50, dcr=0x80b2d80,
omode=2) at dev.c:526
#12 0x080596c4 in DEVICE::open (this=0x80a7a50, dcr=0x80b2d80, omode=2)
at dev.c:284
#13 0x0805b9fa in try_autoload_device (jcr=<value optimized out>, slot=0,
VolName=<value optimized out>) at dircmd.c:955
#14 0x0805ba8e in label_volume_if_ok (jcr=0x80b2ac0, dev=0x80a7a50,
oldname=0x80b22f0 "", newname=0x80b2218 "DVD",
poolname=0x80b2370 "Asterix-DVD", slot=0, relabel=0) at dircmd.c:391
#15 0x0805be70 in do_label (jcr=0x80b2ac0, relabel=<value optimized
out>)
at dircmd.c:342
#16 0x0805bfaf in label_cmd (jcr=0xfffffe00) at dircmd.c:295
#17 0x0805cf6e in handle_connection_request (arg=0x80a4fe8) at
dircmd.c:209
#18 0x08084149 in workq_server (arg=0x80a1d80) at workq.c:347
#19 0xb7fb1aa7 in start_thread () from /lib/tls/libpthread.so.0
#20 0xb7e63c2e in clone () from /lib/tls/libc.so.6
Thread 1 (Thread -1210415424 (LWP 9765)):
#0 0xffffe402 in ?? ()
#1 0xb7e5cfd1 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2 0x08072e83 in bnet_thread_server (addrs=0x80a3818, max_clients=41,
client_wq=0x80a1d80,
handle_client_request=0x805cc70 <handle_connection_request(void*)>)
at bnet_server.c:148
#3 0x0804b608 in main (argc=3, argv=0xbffff7e4) at stored.c:240
#0 0xffffe402 in ?? ()
#0 0xffffe402 in ?? ()
No symbol table info available.
#1 0xb7e5cfd1 in ___newselect_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x08072e83 in bnet_thread_server (addrs=0x80a3818, max_clients=41,
client_wq=0x80a1d80,
handle_client_request=0x805cc70 <handle_connection_request(void*)>)
at bnet_server.c:148
148 if ((stat = select(maxfd + 1, &sockset,
NULL, NULL, NULL)) < 0)
{
Current language: auto; currently c++
be = {<SMARTALLOC> = {<No data fields>}, buf_ = 0xb7ec3dd4
"libgcc_s.so.1",
berrno_ = -1073746268}
newsockfd = <value optimized out>
stat = <value optimized out>
clilen = 16
cli_addr = {sa_family = 2,
sa_data = "ÁK\177\000\000\001\000\000\000\000\000\000\000"}
tlog = <value optimized out>
turnon = 1
p = (IPADDR *) 0x0
fd_ptr = (s_sockfd *) 0x0
buf =
"127.0.0.1\000\000\000\030\025\000¸ öÿ¿Vpÿ·Ä\026\000¸øíû·\001\000\000\000\
001\000\000\000\000\000\000\000\027\000\000\000\210öÿ¿À0û·¸öÿ¿\201þ\006\bd
)\n\b°1\n\b\027\000\000\000H8\n\bØöÿ¿
nÿ·\000\000\000\000\001\000\000\000°1\n\b\027\000\000\000Øöÿ¿è9\b\bd)\n\b°
1\n\bèöÿ¿\210;\b\b"
sockfds = {<SMARTALLOC> = {<No data fields>}, head = 0xbfffea70,
tail = 0xbfffea70, loffset = 0, num_items = 1}
allbuf =
"Ô=ì·\000\020ì·\234\034\000\000\003\000\000\0002\000\000\000ÿÿÿÿ",
'\0'
<repeats 20 times>, "
\020\000¸\000\000\000\000\000\000\000\000ôÝì·(åû·\000\000\000\000\0000\021
\0003+\021\0003+\021\000\000\000\000\000\005\000\000\000\0000\021\000Î{ÿ·T
\003ò·\214ìû·ô\017\000¸@êû·Ô=ì·$ïÿ¿V\017ÿ·T\003ò·Ô=ì·j²ÿ·Kÿþ·\000Àû·Ø\021\
000\000j²ÿ·2\000\000\000ÿÿÿÿô\017\000¸Äîÿ¿\000\000\000\000
\020\000¸j²ÿ·\000\000\000\000T\003ò·\230âû·u³ÿ·\b\000\000\000\023\000\000\
000ô\017\000¸\000\000"...
#3 0x0804b608 in main (argc=3, argv=0xbffff7e4) at stored.c:240
240 bnet_thread_server(me->sdaddrs, me->max_concurrent_jobs
* 2 + 1,
ch = <value optimized out>
no_signals = <value optimized out>
test_config = 0
thid = 3084549040
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.
#0 0x00000000 in ?? ()
No symbol table info available.