Public bug reported: Trying to restore a client on bacula the bacula-fd processes dies. GDB trace below :
[New LWP 3156] [New LWP 1945] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f026897dda3 in select () from /lib/x86_64-linux-gnu/libc.so.6 $1 = '\000' <repeats 29 times> $2 = 0x1586088 "bacula-fd" $3 = 0x0 $4 = 0x0 $5 = 0x7f0269634ffb "5.2.6 (21 February 2012)" $6 = 0x7f0269634fda "x86_64-pc-linux-gnu" $7 = 0x7f0269634fd3 "ubuntu" $8 = 0x7f0269634ff5 "14.04" $9 = "prd-qua-za-backups.int.domain.com", '\000' <repeats 15 times> $10 = 0x7f0269634fee "ubuntu 14.04" $11 = 0 Environment variable "TestName" not defined. #0 0x00007f026897dda3 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f0269603858 in bnet_thread_server (addrs=<optimized out>, max_clients=<optimized out>, client_wq=client_wq@entry=0x62be40 <dir_workq>, handle_client_request=<optimized out>) at bnet_server.c:160 #2 0x0000000000408f82 in main (argc=<optimized out>, argv=<optimized out>) at filed.c:278 Thread 3 (Thread 0x7f0266dfc700 (LWP 1945)): #0 0x00007f0268c5d7ce in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f026962a61c in watchdog_thread (arg=<optimized out>) at watchdog.c:321 #2 0x00007f0268c59182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f026898647d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 2 (Thread 0x7f02665fb700 (LWP 3156)): #0 0x00007f0268c60ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f026962103a in signal_handler (sig=11) at signal.c:229 #2 <signal handler called> #3 0x00007f0269618d3f in sm_free_pool_memory (fname=fname@entry=0x4239f0 "job.c", lineno=lineno@entry=330, obuf=0x7f02600031b0 "<") at mem_pool.c:228 #4 0x0000000000417381 in handle_client_request (dirp=0x15a4f68) at job.c:330 #5 0x00007f026962af39 in workq_server (arg=0x62be40 <dir_workq>) at workq.c:346 #6 0x00007f0268c59182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f026898647d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 1 (Thread 0x7f026a497780 (LWP 1933)): #0 0x00007f026897dda3 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f0269603858 in bnet_thread_server (addrs=<optimized out>, max_clients=<optimized out>, client_wq=client_wq@entry=0x62be40 <dir_workq>, handle_client_request=<optimized out>) at bnet_server.c:160 #2 0x0000000000408f82 in main (argc=<optimized out>, argv=<optimized out>) at filed.c:278 #0 0x00007f026897dda3 in select () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x00007f0269603858 in bnet_thread_server (addrs=<optimized out>, max_clients=<optimized out>, client_wq=client_wq@entry=0x62be40 <dir_workq>, handle_client_request=<optimized out>) at bnet_server.c:160 160 bnet_server.c: No such file or directory. maxfd = 3 sockset = {fds_bits = {8, 0 <repeats 15 times>}} clilen = 16 turnon = 1 p = <optimized out> buf = "127.0.0.1", '\000' <repeats 23 times>, "\260\f\232\314\377\177\000\000\240\f\232\314\377\177\000\000)\240\215h\002\177\000\000\003\357\204i\002\177\000\000\377\356\204i\002\177\000\000\352d\215h\002\177\000\000\000\000\000\000\000\000\000\000\325\341\002U\000\000\000\000?;\036\r\000\000\000\000\004\342)j\002\177\000\000\000\000\000\000\000\000\000\000\327\356\337f\002\177\000" allbuf = "\000\000\000\000\000\000\000\000\230qX\001", '\000' <repeats 12 times>, "\273\367bi\002\177\000\000\000\000\000\000\000\000\000\000\326\035bi\002\177\000\000\001\000\000\000\000\000\000\000\330sX\001", '\000' <repeats 12 times>, "\326\035bi\002\177\000\000#\216\000\000\000\000\000\000\002\000\000\000\000\000\000\000\070rX\001\000\000\000\000\270rX\001\000\000\000\000\330sX\001\000\000\000\000\070rX\001\000\000\000\000\230qX\001\000\000\000\000#\216\000\000\000\000\000\000\370fX\001\000\000\000\000\200Kci\002\177\000\000\370fX\001\000\000\000\000\200Kci\002\177\000\000\310\275b\000\000\000\000\000\226\034ai\002\177\000\000\330sX\001\000\000\000\000"... stat = <optimized out> tlog = <optimized out> fd_ptr = 0x0 sockfds = {<SMARTALLOC> = {<No data fields>}, head = 0x7fffcc9a0520, tail = 0x7fffcc9a0520, loffset = 0, num_items = 1} newsockfd = <optimized out> cli_addr = {sa_family = 2, sa_data = "\350\316\177\000\000\001\000\000\000\000\000\000\000"} request = {fd = 4, user = '\000' <repeats 127 times>, daemon = "prd-domain-bacula-fd", '\000' <repeats 106 times>, pid = "1933\000\000\000\000\000", client = {{name = '\000' <repeats 127 times>, addr = '\000' <repeats 127 times>, sin = 0x7f0268685bc0, unit = 0x0, request = 0x7fffcc9a06f0}}, server = {{name = '\000' <repeats 127 times>, addr = '\000' <repeats 127 times>, sin = 0x7f0268685b40, unit = 0x0, request = 0x7fffcc9a06f0}}, sink = 0x0, hostname = 0x7f0268482aa0 <sock_hostname>, hostaddr = 0x7f0268482a50 <sock_hostaddr>, cleanup = 0x0, config = 0x0} #2 0x0000000000408f82 in main (argc=<optimized out>, argv=<optimized out>) at filed.c:278 278 filed.c: No such file or directory. test_config = false keep_readall_caps = false ch = <optimized out> uid = 0x0 gid = 0x0 python_args = {progname = 0x15871e8 "prd-domain-bacula-fd", scriptdir = 0x0, modulename = 0x4210e5 "FDStartUp", configfile = 0x15862f8 "/etc/bacula/bacula-fd.conf", workingdir = 0x1587338 "/var/lib/bacula", job_getattr = 0x4193a0 <job_getattr(_object*, char*)>, job_setattr = 0x419570 <job_setattr(_object*, char*, _object*)>} p = 0x0 #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available. #0 0x0000000000000000 in ?? () No symbol table info available. ** Affects: bacula (Ubuntu) Importance: Undecided Status: New ** Tags: bacula -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1483999 Title: bacula-fd dies on restore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1483999/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs