(gdb) run -s -f -c ../etc/bacula-sd.conf Starting program: /usr/local/sbin/bacula-sd -s -f -c ../etc/bacula-sd.conf (no debugging symbols found)...(no debugging symbols found)...warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100042] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...x [New Thread 0x80be200 (LWP 100067)] Program received signal SIGTERM, Terminated. [Switching to Thread 0x80be200 (LWP 100067)] 0x281055db in pthread_testcancel () from /lib/libpthread.so.2 (gdb) thread apply all bt [New Thread 0x8184400 (sleeping)] [New Thread 0x8122e00 (sleeping)] [New Thread 0x8144200 (sleeping)] [New Thread 0x813ae00 (sleeping)] [New Thread 0x80d8e00 (sleeping)] [New Thread 0x8184200 (sleeping)] [New Thread 0x8169200 (sleeping)] [New Thread 0x8144e00 (sleeping)] [New Thread 0x8144a00 (sleeping)] [New Thread 0x8122a00 (sleeping)] [New Thread 0x8122600 (sleeping)] [New Thread 0x80d8800 (sleeping)] [New Thread 0x80be000 (runnable)] Thread 15 (Thread 0x80be000 (runnable)): #0 0x283de9e3 in select () from /lib/libc.so.6 #1 0x280ee091 in select () from /lib/libpthread.so.2 #2 0x080782cc in bnet_thread_server () #3 0x0804d490 in main () Thread 14 (Thread 0x80d8800 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28103091 in _pthread_cond_timedwait () from /lib/libpthread.so.2 #3 0x281035e6 in pthread_cond_timedwait () from /lib/libpthread.so.2 #4 0x0808eb0b in watchdog_thread () #5 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #6 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 13 (Thread 0x8122600 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cf28 in _lock_volumes () #6 0x08050544 in release_device () #7 0x08051d29 in do_append_data () #8 0x08061ec5 in append_data_cmd () #9 0x08061cfb in do_fd_commands () #10 0x08061ded in run_job () #11 0x08063029 in run_cmd () #12 0x0805db35 in handle_connection_request () #13 0x0808f511 in workq_server () #14 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #15 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 12 (Thread 0x8122a00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x08070705 in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 11 (Thread 0x8144a00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cf28 in _lock_volumes () #6 0x08068d41 in DCR::mount_next_write_volume () #7 0x0804ffb4 in acquire_device_for_append () #8 0x08051801 in do_append_data () #9 0x08061ec5 in append_data_cmd () #10 0x08061cfb in do_fd_commands () #11 0x08061ded in run_job () #12 0x08063029 in run_cmd () #13 0x0805db35 in handle_connection_request () #14 0x0808f511 in workq_server () #15 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #16 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 10 (Thread 0x8144e00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cf28 in _lock_volumes () #6 0x08050544 in release_device () #7 0x08051d29 in do_append_data () #8 0x08061ec5 in append_data_cmd () #9 0x08061cfb in do_fd_commands () #10 0x08061ded in run_job () #11 0x08063029 in run_cmd () #12 0x0805db35 in handle_connection_request () #13 0x0808f511 in workq_server () #14 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #15 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 9 (Thread 0x8169200 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x08070705 in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 8 (Thread 0x8184200 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x08070705 in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 7 (Thread 0x80d8e00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cf28 in _lock_volumes () #6 0x08050544 in release_device () #7 0x08051d29 in do_append_data () #8 0x08061ec5 in append_data_cmd () #9 0x08061cfb in do_fd_commands () #10 0x08061ded in run_job () #11 0x08063029 in run_cmd () #12 0x0805db35 in handle_connection_request () #13 0x0808f511 in workq_server () #14 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #15 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 6 (Thread 0x813ae00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x280fa4a5 in _pthread_mutex_trylock () from /lib/libpthread.so.2 #3 0x280fb7a0 in pthread_mutex_lock () from /lib/libpthread.so.2 #4 0x08075bfc in _p () #5 0x0806d72c in DCR::unreserve_device () #6 0x08050249 in detach_dcr_from_dev () #7 0x08050479 in new_dcr () #8 0x0806e2ed in reserve_device () #9 0x0806f426 in search_res_for_device () #10 0x0806f60a in find_suitable_device_for_job () #11 0x080706a1 in use_cmd () #12 0x0805db35 in handle_connection_request () #13 0x0808f511 in workq_server () #14 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #15 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 5 (Thread 0x8144200 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x0807054c in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 4 (Thread 0x8122e00 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x0807054c in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 3 (Thread 0x8184400 (sleeping)): #0 0x280fdfbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x280fe153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28102761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x28102caa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x0808a656 in rwl_writelock () #5 0x0806cdc8 in _lock_reservations () #6 0x0807054c in use_cmd () #7 0x0805db35 in handle_connection_request () #8 0x0808f511 in workq_server () #9 0x280f63c9 in pthread_create () from /lib/libpthread.so.2 #10 0x283c6837 in _ctx_start () from /lib/libc.so.6 Thread 2 (Thread 0x80be200 (LWP 100067)): #0 0x281055db in pthread_testcancel () from /lib/libpthread.so.2 #1 0x280f2c25 in sigaction () from /lib/libpthread.so.2 #2 0x280f2f11 in sigaction () from /lib/libpthread.so.2 #3 0x280f36f0 in sigaction () from /lib/libpthread.so.2 #4 0x280f389c in sigaction () from /lib/libpthread.so.2 #5 0x280fdeec in pthread_mutexattr_init () from /lib/libpthread.so.2 #6 0x280d6450 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y