Created /var/lib/bareos/bareos-dir.core.42247 for doing postmortem debugging [New LWP 42248] [New LWP 42251] [New LWP 42252] [New LWP 42253] [New LWP 43824] [New LWP 43866] [New LWP 43867] [New LWP 42247] [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 0x00007f0418da514d 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 = 0x9bf738 "bareos-dir" $3 = 0x9bf778 "/usr/sbin/bareos-dir" $4 = 0xa51868 "MySQL" $5 = 0x7f041a4e0fc6 "16.2.4 (01 July 2016)" $6 = 0x7f041a4e0fb2 "x86_64-pc-linux-gnu" $7 = 0x7f041a4e0fab "debian" $8 = 0x7f041a4e0f8d "Debian GNU/Linux 8.0 (jessie)" $9 = "ld4-bar-dir-01", '\000' $10 = 0x7f041a4e14a8 "debian Debian GNU/Linux 8.0 (jessie)" Environment variable "TestName" not defined. #0 0x00007f0418da514d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4b1354 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007f041a4c205c in check_deadlock () at lockmgr.c:566 #3 0x00007f0418d9e064 in start_thread (arg=0x7f0417ba7700) at pthread_create.c:309 #4 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f041b5ec740 (LWP 42247)): #0 0x00007f0418da514d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4b1354 in bmicrosleep (sec=47, usec=0) at bsys.c:171 #2 0x00000000004450bf in wait_for_next_job (one_shot_job_to_run=0x58d18611 ) at scheduler.c:171 #3 0x0000000000410236 in main (argc=, argv=) at dird.c:433 Thread 7 (Thread 0x7f03ffde8700 (LWP 43867)): #0 0x00007f0418da5489 in __libc_waitpid (pid=43868, stat_loc=0x7f03ffde6f8c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 #1 0x00007f041a4d1264 in signal_handler (sig=11) at signal.c:240 #2 #3 0x00007f041a4c36bb in sm_check_pool_memory_size (fname=, lineno=, obuf=0x0, size=) at mem_pool.c:238 #4 0x0000000000416a8f in update_attribute (jcr=0x7f0404005568, msg=0x7f03f80016f0 "UpdCat Job=TLL1-ECN-MT.2017-03-21_21.59.27_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=0x7f03f8001598, allow_any_message=false) at getmsg.c:260 #7 0x000000000043462c in msg_thread (arg=0x0, arg@entry=0x7f0404005568) at msgchan.c:434 #8 0x00007f041a4c20ef in lmgr_thread_launcher (x=0x7f03f8002838) at lockmgr.c:926 #9 0x00007f0418d9e064 in start_thread (arg=0x7f03ffde8700) at pthread_create.c:309 #10 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f0414a4b700 (LWP 43866)): #0 0x00007f0418da4a9d in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4af540 in BSOCK_TCP::read_nbytes (this=0x7f03f80043b8, ptr=, nbytes=4) at bsock_tcp.c:957 #2 0x00007f041a4aedbf in BSOCK_TCP::recv (this=0x7f03f80043b8) at bsock_tcp.c:529 #3 0x000000000042728f in bget_dirmsg (bs=0x7f03f80043b8, allow_any_message=false) at getmsg.c:150 #4 0x0000000000412e02 in wait_for_job_termination (jcr=0x7f0404005568, timeout=0) at backup.c:655 #5 0x0000000000414eab in do_native_backup (jcr=jcr@entry=0x7f0404005568) at backup.c:596 #6 0x000000000042a145 in job_thread (arg=0x7f0404005568) at job.c:494 #7 0x000000000042f171 in jobq_server (arg=0x6b2640 ) at jobq.c:484 #8 0x00007f041a4c20ef in lmgr_thread_launcher (x=0x7f0404006b88) at lockmgr.c:926 #9 0x00007f0418d9e064 in start_thread (arg=0x7f0414a4b700) at pthread_create.c:309 #10 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f041524c700 (LWP 43824)): #0 0x00007f0418da4a9d in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4af540 in BSOCK_TCP::read_nbytes (this=0x7f04080011a8, ptr=, nbytes=4) at bsock_tcp.c:957 #2 0x00007f041a4aedbf in BSOCK_TCP::recv (this=0x7f04080011a8) at bsock_tcp.c:529 #3 0x000000000046c608 in handle_UA_client_request (user=user@entry=0x7f04080011a8) at ua_server.c:91 #4 0x00000000004401f3 in handle_connection_request (arg=0x7f04080011a8) at socket_server.c:97 #5 0x00007f041a4dad15 in workq_server (arg=arg@entry=0x6b2940 ) at workq.c:336 #6 0x00007f041a4c20ef in lmgr_thread_launcher (x=0x7f0408002658) at lockmgr.c:926 #7 0x00007f0418d9e064 in start_thread (arg=0x7f041524c700) at pthread_create.c:309 #8 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f0415a4d700 (LWP 42253)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f041a4c258c in bthread_cond_timedwait_p (cond=0x6b2c60 , m=0x6b2ca0 <_ZL5mutex>, abstime=0x7f0415a4cd60, 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 0x00007f041a4c20ef in lmgr_thread_launcher (x=0xa39fa8) at lockmgr.c:926 #5 0x00007f0418d9e064 in start_thread (arg=0x7f0415a4d700) at pthread_create.c:309 #6 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f041624e700 (LWP 42252)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f041a4c258c in bthread_cond_timedwait_p (cond=cond@entry=0x7f041a6f7b80 <_ZL5timer>, m=m@entry=0x7f041a6f7bc0 <_ZL11timer_mutex>, abstime=abstime@entry=0x7f041624de20, file=file@entry=0x7f041a4e586a "watchdog.c", line=line@entry=313) at lockmgr.c:811 #2 0x00007f041a4da36d in watchdog_thread (arg=arg@entry=0x0) at watchdog.c:313 #3 0x00007f041a4c20ef in lmgr_thread_launcher (x=0xa39fa8) at lockmgr.c:926 #4 0x00007f0418d9e064 in start_thread (arg=0x7f041624e700) at pthread_create.c:309 #5 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f0416c5b700 (LWP 42251)): #0 0x00007f04180a4aed in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4a6203 in bnet_thread_server_tcp (addr_list=addr_list@entry=0x9e7088, 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=0x9e7088) at socket_server.c:114 #3 0x00007f041a4c20ef in lmgr_thread_launcher (x=0xa3a348) at lockmgr.c:926 #4 0x00007f0418d9e064 in start_thread (arg=0x7f0416c5b700) at pthread_create.c:309 #5 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f0417ba7700 (LWP 42248)): #0 0x00007f0418da514d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f041a4b1354 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171 #2 0x00007f041a4c205c in check_deadlock () at lockmgr.c:566 #3 0x00007f0418d9e064 in start_thread (arg=0x7f0417ba7700) at pthread_create.c:309 #4 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 #0 0x00007f0418da514d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 in ../sysdeps/unix/syscall-template.S No locals. #1 0x00007f041a4b1354 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 = 398096128, tz_dsttime = 32516} status = #2 0x00007f041a4c205c in check_deadlock () at lockmgr.c:566 566 lockmgr.c: No such file or directory. __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -5982215179877381202, 0, 139655615885408, 0, 139655554692864, 5977061249686801326, 5977070986946251694}, __mask_was_saved = 0}}, __pad = {0x7f0417ba6f30, 0x0, 0x7f0417ba7700, 0x7f0417ba7700}} __cancel_routine = 0x7f041a4c2170 __not_first_call = old = 0 #3 0x00007f0418d9e064 in start_thread (arg=0x7f0417ba7700) at pthread_create.c:309 309 pthread_create.c: No such file or directory. __res = pd = 0x7f0417ba7700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139655554692864, -5982215179877381202, 0, 139655615885408, 0, 139655554692864, 5977061249735035822, 5977076389527915438}, 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 0x00007f04180ad62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111