Created /var/lib/bareos/bareos-dir.core.28190 for doing postmortem debugging [New LWP 28191] [New LWP 28320] [New LWP 28321] [New LWP 28322] [New LWP 6130] [New LWP 6132] [New LWP 28190] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/bareos-dir'. #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory. $1 = 0x6a2380 "mgmt01.XXXXXXXXXXXXXXXXXX-dir" $2 = 0x12a1058 "bareos-dir" $3 = 0x12a1098 "/usr/sbin/bareos-dir" $4 = 0x175ec78 "PostgreSQL" $5 = 0x7f60f1870be0 "15.2.2 (16 November 2015)" $6 = 0x7f60f1870bcc "x86_64-pc-linux-gnu" $7 = 0x7f60f1870bc5 "debian" $8 = 0x7f60f1870ba7 "Debian GNU/Linux 8.0 (jessie)" $9 = "mgmt01.XXXXX", '\000' $10 = 0x7f60f18710b8 "debian Debian GNU/Linux 8.0 (jessie)" Environment variable "TestName" not defined. #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1842a74 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007f60f18527dc in check_deadlock () at lockmgr.c:566 #3 0x00007f60f07560a4 in start_thread (arg=0x7f60ef14f700) at pthread_create.c:309 #4 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f60f2975740 (LWP 28190)): #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1842a74 in bmicrosleep (sec=60, usec=0) at bsys.c:171 #2 0x000000000044035f in wait_for_next_job (one_shot_job_to_run=0x57caa22f ) at scheduler.c:171 #3 0x000000000040ee02 in main (argc=, argv=) at dird.c:393 Thread 6 (Thread 0x7f608bfff700 (LWP 6132)): #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1842a74 in bmicrosleep (sec=30, usec=0) at bsys.c:171 #2 0x000000000042d292 in sched_wait (arg=0x1df) at jobq.c:190 #3 0x00007f60f185286f in lmgr_thread_launcher (x=0x7f60a4034ac8) at lockmgr.c:926 #4 0x00007f60f07560a4 in start_thread (arg=0x7f608bfff700) at pthread_create.c:309 #5 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f60aa7fc700 (LWP 6130)): #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1842a74 in bmicrosleep (sec=30, usec=0) at bsys.c:171 #2 0x000000000042d292 in sched_wait (arg=0x1df) at jobq.c:190 #3 0x00007f60f185286f in lmgr_thread_launcher (x=0x7f60b802fb98) at lockmgr.c:926 #4 0x00007f60f07560a4 in start_thread (arg=0x7f60aa7fc700) at pthread_create.c:309 #5 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f60e6553700 (LWP 28322)): #0 0x00007f60f075d4c9 in __libc_waitpid (pid=6320, stat_loc=0x7f60e655158c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 #1 0x00007f60f18613d4 in signal_handler (sig=7) at signal.c:240 #2 #3 0x00007f60f1838db3 in bnet_host2ipaddrs (host=0xaaaaaaaaaaaaaaaa , family=0, errstr=0x7f60e6552028) at bnet.c:414 #4 0x00007f60f1841c87 in BSOCK_TCP::open (this=0x7f60dc00d038, jcr=0x38, name=0x18 , host=0x7f60dc000020 "", service=0x0, port=-1431655766, heart_beat=-6148914691236517206, fatal=0x7f60e6552bdc) at bsock_tcp.c:182 #5 0x00007f60f1841225 in BSOCK_TCP::connect (this=0x7f60dc00d038, jcr=0x7f60dc001148, retry_interval=2, max_retry_time=140053984575520, max_retry_time@entry=1, heart_beat=0, heart_beat@entry=-6148914691236517206, name=0x46f0da "Storage daemon", host=0xaaaaaaaaaaaaaaaa , service=0x0, port=-1431655766, verbose=false) at bsock_tcp.c:115 #6 0x000000000043e55e in connect_to_storage_daemon (jcr=0x7f60dc001148, retry_interval=, max_retry_time=, verbose=) at sd_cmds.c:113 #7 0x00000000004411db in statistics_thread_runner (arg=0x7f60dc00c108, arg@entry=0x0) at stats.c:228 #8 0x00007f60f185286f in lmgr_thread_launcher (x=0x1795af8) at lockmgr.c:926 #9 0x00007f60f07560a4 in start_thread (arg=0x7f60e6553700) at pthread_create.c:309 #10 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f60e6d54700 (LWP 28321)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f60f1852d0c in bthread_cond_timedwait_p (cond=cond@entry=0x7f60f1a86ac0 <_ZL5timer>, m=m@entry=0x7f60f1a86b00 <_ZL11timer_mutex>, abstime=abstime@entry=0x7f60e6d53e20, file=file@entry=0x7f60f18752aa "watchdog.c", line=line@entry=313) at lockmgr.c:811 #2 0x00007f60f186a439 in watchdog_thread (arg=arg@entry=0x0) at watchdog.c:313 #3 0x00007f60f185286f in lmgr_thread_launcher (x=0x1795af8) at lockmgr.c:926 #4 0x00007f60f07560a4 in start_thread (arg=0x7f60e6d54700) at pthread_create.c:309 #5 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f60e7555700 (LWP 28320)): #0 0x00007f60ef64cd3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1838023 in bnet_thread_server_tcp (addr_list=addr_list@entry=0x12a2f08, max_clients=, sockfds=, client_wq=client_wq@entry=0x6a3100 , nokeepalive=, handle_client_request=handle_client_request@entry=0x43b700 ) at bnet_server_tcp.c:298 #2 0x000000000043b95f in connect_thread (arg=arg@entry=0x12a2f08) at socket_server.c:100 #3 0x00007f60f185286f in lmgr_thread_launcher (x=0x1796178) at lockmgr.c:926 #4 0x00007f60f07560a4 in start_thread (arg=0x7f60e7555700) at pthread_create.c:309 #5 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f60ef14f700 (LWP 28191)): #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f60f1842a74 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007f60f18527dc in check_deadlock () at lockmgr.c:566 #3 0x00007f60f07560a4 in start_thread (arg=0x7f60ef14f700) at pthread_create.c:309 #4 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 #0 0x00007f60f075d18d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 in ../sysdeps/unix/syscall-template.S No locals. #1 0x00007f60f1842a74 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 171 bsys.c: No such file or directory. timeout = {tv_sec = 30, tv_nsec = 0} tv = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = -283838720, tz_dsttime = 32608} status = #2 0x00007f60f18527dc in check_deadlock () at lockmgr.c:566 566 lockmgr.c: No such file or directory. __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -153894275553991124, 0, 140054363684960, 0, 140054304716544, 224229801886705196, 224233244058412588}, __mask_was_saved = 0}}, __pad = {0x7f60ef14ef30, 0x0, 0x7f60ef14f700, 0x7f60ef14f700}} __cancel_routine = 0x7f60f18528f0 __not_first_call = old = 0 #3 0x00007f60f07560a4 in start_thread (arg=0x7f60ef14f700) at pthread_create.c:309 309 pthread_create.c: No such file or directory. __res = pd = 0x7f60ef14f700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140054304716544, -153894275553991124, 0, 140054363684960, 0, 140054304716544, 224229801909773868, 224231180218230316}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #4 0x00007f60ef65587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 111 ../sysdeps/unix/sysv/linux/x86_64/clone.S: No such file or directory. No locals. #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available.