[pkg-bacula-devel] Bug#869205: bacula-sd crashes on TLS connection from bacula-fd
Valentin Vidic
Valentin.Vidic at CARNet.hr
Fri Jul 21 14:26:49 UTC 2017
Package: bacula-sd
Version: 7.4.4+dfsg-6
Severity: normal
Dear Maintainer,
After upgrading the server to stretch bacula-sd crashes
with SIGSEGV whenever a client configured to use TLS
connects. Before the upgrade this configuration worked
without any issues. Full traceback file is attached.
Thread 4 (Thread 0x7f9a48e31700 (LWP 25286)):
#0 0x00007f9a4b979b3a in __waitpid (pid=25287, stat_loc=0x7f9a48e301ec, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f9a4bbbdf7e in signal_handler () from /usr/lib/bacula/libbac-7.4.4.so
#2 <signal handler called>
#3 0x00007f9a4bbc0c69 in new_tls_connection(TLS_Context*, int) () from /usr/lib/bacula/libbac-7.4.4.so
#4 0x00007f9a4bb9de4d in bnet_tls_server(TLS_Context*, BSOCK*, alist*) () from /usr/lib/bacula/libbac-7.4.4.so
#5 0x000055e4365a0ae9 in ?? ()
#6 0x000055e4365b62df in ?? ()
#7 0x000055e4365b3890 in ?? ()
#8 0x00007f9a4bbc8d02 in workq_server () from /usr/lib/bacula/libbac-7.4.4.so
#9 0x00007f9a4b970494 in start_thread (arg=0x7f9a48e31700) at pthread_create.c:333
#10 0x00007f9a4a134aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages bacula-sd depends on:
ii bacula-common 7.4.4+dfsg-6
ii dpkg 1.18.24
ii init-system-helpers 1.48
ii libc6 2.24-11+deb9u1
ii libcap2 1:2.25-1
ii libgcc1 1:6.3.0-18
ii liblzo2-2 2.08-1.2+b2
ii libssl1.0.2 1.0.2l-2
ii libstdc++6 6.3.0-18
ii libwrap0 7.6.q-26
ii lsb-base 9.20161125
ii mtx 1.3.12-10
ii ucf 3.0036
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages bacula-sd recommends:
ii bacula-bscan 7.4.4+dfsg-6
ii mt-st 1.3-1
Versions of packages bacula-sd suggests:
ii dds2tar 2.5.2-7+b1
ii python 2.7.13-2
ii scsitools 0.12-2.3+b1
ii sg3-utils 1.42-2
-- no debconf information
-------------- next part --------------
[New LWP 24674]
[New LWP 25284]
[New LWP 25286]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f9a4a12d3f3 in select () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
$1 = 1244475698
$2 = 1685219682
$3 = 920792216
$4 = 920792280
$5 = 0
$6 = 0
$7 = 1270688453
$8 = 1270688422
$9 = 1270688415
$10 = 1270688449
$11 = 1685219682
$12 = 1270688442
Environment variable "TestName" not defined.
#0 0x00007f9a4a12d3f3 in select () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f9a4bb9f1ca in bnet_thread_server(dlist*, int, workq_tag*, void* (*)(void*)) () from /usr/lib/bacula/libbac-7.4.4.so
#2 0x000055e436592a84 in ?? ()
#3 0x00007f9a4a06c2b1 in __libc_start_main (main=0x55e436592130, argc=4, argv=0x7ffc27a37c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc27a37c78) at ../csu/libc-start.c:291
#4 0x000055e436592dba in ?? ()
Thread 4 (Thread 0x7f9a48e31700 (LWP 25286)):
#0 0x00007f9a4b979b3a in __waitpid (pid=25287, stat_loc=0x7f9a48e301ec, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f9a4bbbdf7e in signal_handler () from /usr/lib/bacula/libbac-7.4.4.so
#2 <signal handler called>
#3 0x00007f9a4bbc0c69 in new_tls_connection(TLS_Context*, int) () from /usr/lib/bacula/libbac-7.4.4.so
#4 0x00007f9a4bb9de4d in bnet_tls_server(TLS_Context*, BSOCK*, alist*) () from /usr/lib/bacula/libbac-7.4.4.so
#5 0x000055e4365a0ae9 in ?? ()
#6 0x000055e4365b62df in ?? ()
#7 0x000055e4365b3890 in ?? ()
#8 0x00007f9a4bbc8d02 in workq_server () from /usr/lib/bacula/libbac-7.4.4.so
#9 0x00007f9a4b970494 in start_thread (arg=0x7f9a48e31700) at pthread_create.c:333
#10 0x00007f9a4a134aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 3 (Thread 0x7f9a49e33700 (LWP 25284)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x000055e4365b5530 in ?? ()
#2 0x000055e4365b3a4f in ?? ()
#3 0x00007f9a4bbc8d02 in workq_server () from /usr/lib/bacula/libbac-7.4.4.so
#4 0x00007f9a4b970494 in start_thread (arg=0x7f9a49e33700) at pthread_create.c:333
#5 0x00007f9a4a134aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 2 (Thread 0x7f9a49632700 (LWP 24674)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00007f9a4bbc8361 in watchdog_thread () from /usr/lib/bacula/libbac-7.4.4.so
#2 0x00007f9a4b970494 in start_thread (arg=0x7f9a49632700) at pthread_create.c:333
#3 0x00007f9a4a134aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 1 (Thread 0x7f9a4c41e680 (LWP 24672)):
#0 0x00007f9a4a12d3f3 in select () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f9a4bb9f1ca in bnet_thread_server(dlist*, int, workq_tag*, void* (*)(void*)) () from /usr/lib/bacula/libbac-7.4.4.so
#2 0x000055e436592a84 in ?? ()
#3 0x00007f9a4a06c2b1 in __libc_start_main (main=0x55e436592130, argc=4, argv=0x7ffc27a37c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc27a37c78) at ../csu/libc-start.c:291
#4 0x000055e436592dba in ?? ()
#0 0x00007f9a4a12d3f3 in select () at ../sysdeps/unix/syscall-template.S:84
84 in ../sysdeps/unix/syscall-template.S
No locals.
#1 0x00007f9a4bb9f1ca in bnet_thread_server(dlist*, int, workq_tag*, void* (*)(void*)) () from /usr/lib/bacula/libbac-7.4.4.so
No symbol table info available.
#2 0x000055e436592a84 in ?? ()
No symbol table info available.
#3 0x00007f9a4a06c2b1 in __libc_start_main (main=0x55e436592130, argc=4, argv=0x7ffc27a37c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc27a37c78) at ../csu/libc-start.c:291
291 ../csu/libc-start.c: No such file or directory.
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 6556574215614556920, 94438652718480, 140720973511808, 0, 0, 1066652166784084728, 1009185879964707576}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffc27a37cb0, 0x7f9a4c430170}, data = {prev = 0x0, cleanup = 0x0, canceltype = 665025712}}}
not_first_call = <optimized out>
#4 0x000055e436592dba 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.
More information about the pkg-bacula-devel
mailing list