Created /var/lib/bareos/bareos-dir.core.35014 for doing postmortem debugging [New LWP 35017] [New LWP 35060] [New LWP 35061] [New LWP 35062] [New LWP 45839] [New LWP 45881] [New LWP 45882] [New LWP 35014] [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 0x00007fa9afcf114d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory. $1 = 0x6b1e00 "ld4-bar-dir" $2 = 0x778738 "bareos-dir" $3 = 0x778778 "/usr/sbin/bareos-dir" $4 = 0x7fa964069878 "MySQL" $5 = 0x7fa9b142cfc6 "16.2.4 (01 July 2016)" $6 = 0x7fa9b142cfb2 "x86_64-pc-linux-gnu" $7 = 0x7fa9b142cfab "debian" $8 = 0x7fa9b142cf8d "Debian GNU/Linux 8.0 (jessie)" $9 = "ld4-bar-dir-01", '\000' $10 = 0x7fa9b142d4a8 "debian Debian GNU/Linux 8.0 (jessie)" Environment variable "TestName" not defined. #0 0x00007fa9afcf114d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13fd354 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007fa9b140e05c in check_deadlock () at lockmgr.c:566 #3 0x00007fa9afcea064 in start_thread (arg=0x7fa9aeaf3700) at pthread_create.c:309 #4 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7fa9b2538740 (LWP 35014)): #0 0x00007fa9afcf114d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13fd354 in bmicrosleep (sec=60, usec=0) at bsys.c:171 #2 0x00000000004450bf in wait_for_next_job (one_shot_job_to_run=0x58d23ec3 ) at scheduler.c:171 #3 0x0000000000410236 in main (argc=, argv=) at dird.c:433 Thread 7 (Thread 0x7fa99e7fc700 (LWP 45882)): #0 0x00007fa9afcf1489 in __libc_waitpid (pid=45924, stat_loc=0x7fa99e7faf8c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 #1 0x00007fa9b141d264 in signal_handler (sig=11) at signal.c:240 #2 #3 0x00007fa9b140f6bb in sm_check_pool_memory_size (fname=, lineno=, obuf=0x0, size=) at mem_pool.c:238 #4 0x0000000000416a8f in update_attribute (jcr=0x7fa9640bc598, msg=0x7fa9a0001300 "UpdCat Job=TLL1-ECN-MT.2017-03-22_11.07.41_04 FileAttributes ", msglen=206) at catreq.c:472 #5 0x0000000000418088 in catalog_update (jcr=0x0, bs=0x0) at catreq.c:660 #6 0x000000000042758b in bget_dirmsg (bs=0x7fa9640be018, allow_any_message=false) at getmsg.c:260 #7 0x000000000043462c in msg_thread (arg=0x0, arg@entry=0x7fa9640bc598) at msgchan.c:434 #8 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7fa9640bd3b8) at lockmgr.c:926 #9 0x00007fa9afcea064 in start_thread (arg=0x7fa99e7fc700) at pthread_create.c:309 #10 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7fa99dffb700 (LWP 45881)): #0 0x00007fa9afcf0a9d in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13fb540 in BSOCK_TCP::read_nbytes (this=0x7fa9640be1d8, ptr=, nbytes=4) at bsock_tcp.c:957 #2 0x00007fa9b13fadbf in BSOCK_TCP::recv (this=0x7fa9640be1d8) at bsock_tcp.c:529 #3 0x000000000042728f in bget_dirmsg (bs=0x7fa9640be1d8, allow_any_message=false) at getmsg.c:150 #4 0x0000000000412e02 in wait_for_job_termination (jcr=0x7fa9640bc598, timeout=0) at backup.c:655 #5 0x0000000000414eab in do_native_backup (jcr=jcr@entry=0x7fa9640bc598) at backup.c:596 #6 0x000000000042a145 in job_thread (arg=0x7fa9640bc598) at job.c:494 #7 0x000000000042f171 in jobq_server (arg=0x6b2640 ) at jobq.c:484 #8 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7fa9640bd3b8) at lockmgr.c:926 #9 0x00007fa9afcea064 in start_thread (arg=0x7fa99dffb700) at pthread_create.c:309 #10 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7fa99cff9700 (LWP 45839)): #0 0x00007fa9afcf0a9d in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13fb540 in BSOCK_TCP::read_nbytes (this=0x7fa9a00011a8, ptr=, nbytes=4) at bsock_tcp.c:957 #2 0x00007fa9b13fadbf in BSOCK_TCP::recv (this=0x7fa9a00011a8) at bsock_tcp.c:529 #3 0x000000000046c608 in handle_UA_client_request (user=user@entry=0x7fa9a00011a8) at ua_server.c:91 #4 0x00000000004401f3 in handle_connection_request (arg=0x7fa9a00011a8) at socket_server.c:97 #5 0x00007fa9b1426d15 in workq_server (arg=arg@entry=0x6b2940 ) at workq.c:336 #6 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7fa9a0002338) at lockmgr.c:926 #7 0x00007fa9afcea064 in start_thread (arg=0x7fa99cff9700) at pthread_create.c:309 #8 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7fa9ac999700 (LWP 35062)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa9b140e58c in bthread_cond_timedwait_p (cond=0x6b2c60 , m=0x6b2ca0 <_ZL5mutex>, abstime=0x7fa9ac998d60, file=0x48a204 "stats.c", line=117) at lockmgr.c:811 #2 0x0000000000445e4e in wait_for_next_run () at stats.c:117 #3 statistics_thread_runner (arg=0x6b2c64 , arg@entry=0x0) at stats.c:327 #4 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7efcf8) at lockmgr.c:926 #5 0x00007fa9afcea064 in start_thread (arg=0x7fa9ac999700) at pthread_create.c:309 #6 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7fa9ad19a700 (LWP 35061)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fa9b140e58c in bthread_cond_timedwait_p (cond=cond@entry=0x7fa9b1643b80 <_ZL5timer>, m=m@entry=0x7fa9b1643bc0 <_ZL11timer_mutex>, abstime=abstime@entry=0x7fa9ad199e20, file=file@entry=0x7fa9b143186a "watchdog.c", line=line@entry=313) at lockmgr.c:811 #2 0x00007fa9b142636d in watchdog_thread (arg=arg@entry=0x0) at watchdog.c:313 #3 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7efcf8) at lockmgr.c:926 #4 0x00007fa9afcea064 in start_thread (arg=0x7fa9ad19a700) at pthread_create.c:309 #5 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fa9adba7700 (LWP 35060)): #0 0x00007fa9aeff0aed in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13f2203 in bnet_thread_server_tcp (addr_list=addr_list@entry=0x79fd28, max_clients=, sockfds=, client_wq=client_wq@entry=0x6b2940 , nokeepalive=, handle_client_request=handle_client_request@entry=0x440170 ) at bnet_server_tcp.c:302 #2 0x00000000004403ff in connect_thread (arg=arg@entry=0x79fd28) at socket_server.c:114 #3 0x00007fa9b140e0ef in lmgr_thread_launcher (x=0x7f2e58) at lockmgr.c:926 #4 0x00007fa9afcea064 in start_thread (arg=0x7fa9adba7700) at pthread_create.c:309 #5 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fa9aeaf3700 (LWP 35017)): #0 0x00007fa9afcf114d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa9b13fd354 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007fa9b140e05c in check_deadlock () at lockmgr.c:566 #3 0x00007fa9afcea064 in start_thread (arg=0x7fa9aeaf3700) at pthread_create.c:309 #4 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 #0 0x00007fa9afcf114d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 in ../sysdeps/unix/syscall-template.S No locals. #1 0x00007fa9b13fd354 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 = -1364248832, tz_dsttime = 32681} status = #2 0x00007fa9b140e05c in check_deadlock () at lockmgr.c:566 566 lockmgr.c: No such file or directory. __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 5896314722769966371, 0, 140366818111584, 0, 140366756919040, -5872493397977328349, -5872542724098353885}, __mask_was_saved = 0}}, __pad = {0x7fa9aeaf2f30, 0x0, 0x7fa9aeaf3700, 0x7fa9aeaf3700}} __cancel_routine = 0x7fa9b140e170 __not_first_call = old = 0 #3 0x00007fa9afcea064 in start_thread (arg=0x7fa9aeaf3700) at pthread_create.c:309 309 pthread_create.c: No such file or directory. __res = pd = 0x7fa9aeaf3700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140366756919040, 5896314722769966371, 0, 140366818111584, 0, 140366756919040, -5872493398025562845, -5872495326232439517}, 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 0x00007fa9aeff962d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111