The test client actually wont start anymore.
It had it rough as i was testing for the directory pool cleaning by interrupting client and server in alternance
thread 7 “file indexing” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe3fff700 (LWP 1418)]
0x00007ffff652724c in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
(gdb) backtrace
#0 0x00007ffff652724c in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
#1 0x00007ffff7106a03 in std::char_traits::copy (__n=36, __s2=, __s1=) at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/char_traits.h:350
#2 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_S_copy (__n=36, __s=, __d=)
at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/basic_string.h:339
#3 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign (this=this@entry=0x7fffe3ffdcf0, __str=<error: Cannot access memory at address 0x10>)
at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/basic_string.tcc:272
#4 0x00000000005c7b3e in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign (__str=<error: Cannot access memory at address 0x10>, this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:1346
#5 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator= (__str=<error: Cannot access memory at address 0x10>, this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:684
#6 IndexThread::getAbsSymlinkTarget (this=this@entry=0x9c4570, symlink="/etc/alternatives/policytool", orig_path="/etc/alternatives", target=<error: Cannot access memory at address 0x10>,
output_target=<error: Cannot access memory at address 0x1e>, exclude_dirs=std::vector of length 5, capacity 8 = {…}, include_dirs=std::vector of length 0, capacity 0) at urbackupclient/client.cpp:5982
#7 0x00000000005c9427 in IndexThread::convertToFileAndHash (this=this@entry=0x9c4570, orig_dir="/etc/alternatives", named_path=".symlink_policytool", exclude_dirs=std::vector of length 5, capacity 8 = {…},
include_dirs=std::vector of length 0, capacity 0, files=std::vector of length 61, capacity 61 = {…}, fn_filter=“policytool”) at urbackupclient/client.cpp:6262
#8 0x00000000005cbcbb in IndexThread::getFilesProxy (this=this@entry=0x9c4570, orig_path="/etc/alternatives", path="/etc/alternatives", named_path=".symlink_policytool", use_db=use_db@entry=false, fn_filter=“policytool”,
use_db_hashes=true, exclude_dirs=std::vector of length 5, capacity 8 = {…}, include_dirs=std::vector of length 0, capacity 0, target_generation=@0x7fffe3ffe3a8: 0) at urbackupclient/client.cpp:2407
#9 0x00000000005ccccd in IndexThread::initialCheck (this=this@entry=0x9c4570, volume="/etc/alternatives/policytool", vssvolume="/etc/alternatives/policytool", orig_dir="/etc/alternatives", dir="/etc/alternatives",
named_path=".symlink_policytool", outfile=…, first=true, flags=38, use_db=true, symlinked=true, depth=0, dir_recurse=true, include_exclude_dirs=true, exclude_dirs=std::vector of length 5, capacity 8 = {…},
include_dirs=std::vector of length 0, capacity 0, orig_path="") at urbackupclient/client.cpp:1877
#10 0x00000000005d9194 in IndexThread::indexDirs (this=this@entry=0x9c4570, full_backup=full_backup@entry=false, simultaneous_other=false) at urbackupclient/client.cpp:1530
#11 0x00000000005db337 in IndexThread::operator() (this=) at urbackupclient/client.cpp:578
#12 0x000000000044af56 in thread_helper_f (t=0x9c4570) at Server.cpp:1345
#13 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#14 0x00007ffff658a98f in clone () from /lib64/libc.so.6
(gdb) thread apply all bt
Thread 15 (Thread 0x7fffa37fe700 (LWP 1431)):
#0 0x00007ffff6863cbb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000048215b in CCondition::wait (this=, lock=, timems=-1) at Condition_lin.cpp:50
#2 0x000000000047df5e in CThreadPool::getRunnable (this=0x97ea40, todel=todel@entry=0x7fffa37fde2c, del=del@entry=true, stop=@0x7fffa37fde2b: false, name="") at ThreadPool.cpp:145
#3 0x000000000047e36d in CPoolThread::operator() (this=0x7fff9c0010c0) at ThreadPool.cpp:84
#4 0x000000000044af56 in thread_helper_f (t=0x7fff9c0010c0) at Server.cpp:1345
#5 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 14 (Thread 0x7fffa3fff700 (LWP 1430)):
#0 0x00007ffff6863cbb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000048215b in CCondition::wait (this=, lock=, timems=-1) at Condition_lin.cpp:50
#2 0x000000000047df5e in CThreadPool::getRunnable (this=0x97ea40, todel=todel@entry=0x7fffa3ffee2c, del=del@entry=true, stop=@0x7fffa3ffee2b: false, name="") at ThreadPool.cpp:145
#3 0x000000000047e36d in CPoolThread::operator() (this=0x7fff9c0010a0) at ThreadPool.cpp:84
#4 0x000000000044af56 in thread_helper_f (t=0x7fff9c0010a0) at Server.cpp:1345
#5 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 11 (Thread 0x7fffedffb700 (LWP 1421)):
#0 0x00007ffff6864266 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000048212d in CCondition::wait (this=0x97e8a0, lock=, timems=) at Condition_lin.cpp:59
#2 0x000000000045e1c7 in CSessionMgr::operator() (this=0x97e7c0) at SessionMgr.cpp:244
#3 0x000000000044af56 in thread_helper_f (t=0x97e7c8) at Server.cpp:1345
#4 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 10 (Thread 0x7fffee7fc700 (LWP 1420)):
#0 0x00007ffff657e3db in poll () from /lib64/libc.so.6
#1 0x000000000045c7fc in poll (__timeout=10, __nfds=, __fds=) at /usr/include/bits/poll2.h:46
#2 CServiceWorker::work (this=this@entry=0x7fffac000b70, skip_client=skip_client@entry=0x0) at ServiceWorker.cpp:212
#3 0x000000000045cdeb in CServiceWorker::operator() (this=0x7fffac000b70) at ServiceWorker.cpp:291
#4 0x000000000044af56 in thread_helper_f (t=0x7fffac000b70) at Server.cpp:1345
#5 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 9 (Thread 0x7fffeeffd700 (LWP 1419)):
#0 0x00007ffff654ead0 in nanosleep () from /lib64/libc.so.6
#1 0x00007ffff6580c37 in usleep () from /lib64/libc.so.6
#2 0x000000000063f2f4 in InternetClient::operator() (this=0x9c35c0) at urbackupclient/InternetClient.cpp:177
#3 0x000000000044af56 in thread_helper_f (t=0x9c35c0) at Server.cpp:1345
#4 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 8 (Thread 0x7fffef7fe700 (LWP 1417)):
#0 0x00007ffff657e3db in poll () from /lib64/libc.so.6
#1 0x000000000069e29e in poll (__timeout=60000, __nfds=1, __fds=0x7fffef7fd940) at /usr/include/bits/poll2.h:46
#2 CUDPThread::UdpStep (this=this@entry=0x7fffe4000c30) at fileservplugin/CUDPThread.cpp:324
#3 0x000000000069e5a8 in CUDPThread::operator() (this=0x7fffe4000c30) at fileservplugin/CUDPThread.cpp:258
#4 0x000000000047e291 in CPoolThread::operator() (this=0x7fffe4000c70) at ThreadPool.cpp:73
#5 0x000000000044af56 in thread_helper_f (t=0x7fffe4000c70) at Server.cpp:1345
#6 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#7 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fffe3fff700 (LWP 1418)):
#0 0x00007ffff652724c in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
—Type to continue, or q to quit—
#1 0x00007ffff7106a03 in std::char_traits::copy (__n=36, __s2=, __s1=) at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/char_traits.h:350
#2 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_S_copy (__n=36, __s=, __d=)
at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/basic_string.h:339
#3 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign (this=this@entry=0x7fffe3ffdcf0, __str=<error: Cannot access memory at address 0x10>)
at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/basic_string.tcc:272
#4 0x00000000005c7b3e in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign (__str=<error: Cannot access memory at address 0x10>, this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:1346
#5 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator= (__str=<error: Cannot access memory at address 0x10>, this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:684
#6 IndexThread::getAbsSymlinkTarget (this=this@entry=0x9c4570, symlink="/etc/alternatives/policytool", orig_path="/etc/alternatives", target=<error: Cannot access memory at address 0x10>,
output_target=<error: Cannot access memory at address 0x1e>, exclude_dirs=std::vector of length 5, capacity 8 = {…}, include_dirs=std::vector of length 0, capacity 0) at urbackupclient/client.cpp:5982
#7 0x00000000005c9427 in IndexThread::convertToFileAndHash (this=this@entry=0x9c4570, orig_dir="/etc/alternatives", named_path=".symlink_policytool", exclude_dirs=std::vector of length 5, capacity 8 = {…},
include_dirs=std::vector of length 0, capacity 0, files=std::vector of length 61, capacity 61 = {…}, fn_filter=“policytool”) at urbackupclient/client.cpp:6262
#8 0x00000000005cbcbb in IndexThread::getFilesProxy (this=this@entry=0x9c4570, orig_path="/etc/alternatives", path="/etc/alternatives", named_path=".symlink_policytool", use_db=use_db@entry=false, fn_filter=“policytool”,
use_db_hashes=true, exclude_dirs=std::vector of length 5, capacity 8 = {…}, include_dirs=std::vector of length 0, capacity 0, target_generation=@0x7fffe3ffe3a8: 0) at urbackupclient/client.cpp:2407
#9 0x00000000005ccccd in IndexThread::initialCheck (this=this@entry=0x9c4570, volume="/etc/alternatives/policytool", vssvolume="/etc/alternatives/policytool", orig_dir="/etc/alternatives", dir="/etc/alternatives",
named_path=".symlink_policytool", outfile=…, first=true, flags=38, use_db=true, symlinked=true, depth=0, dir_recurse=true, include_exclude_dirs=true, exclude_dirs=std::vector of length 5, capacity 8 = {…},
include_dirs=std::vector of length 0, capacity 0, orig_path="") at urbackupclient/client.cpp:1877
#10 0x00000000005d9194 in IndexThread::indexDirs (this=this@entry=0x9c4570, full_backup=full_backup@entry=false, simultaneous_other=false) at urbackupclient/client.cpp:1530
#11 0x00000000005db337 in IndexThread::operator() (this=) at urbackupclient/client.cpp:578
#12 0x000000000044af56 in thread_helper_f (t=0x9c4570) at Server.cpp:1345
#13 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#14 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fffeffff700 (LWP 1416)):
#0 0x00007ffff657e3db in poll () from /lib64/libc.so.6
#1 0x000000000069d06d in poll (__timeout=10000, __nfds=1, __fds=0x7fffefffec48) at /usr/include/bits/poll2.h:46
#2 CTCPFileServ::TcpStep (this=this@entry=0x7fffe4000b80) at fileservplugin/CTCPFileServ.cpp:236
#3 0x000000000069d209 in CTCPFileServ::Run (this=this@entry=0x7fffe4000b80) at fileservplugin/CTCPFileServ.cpp:208
#4 0x00000000006a3b4f in start_server_int (tcpport=, udpport=, pSname=“urbackup.localdomain”, pDostop=0x9c3670, use_fqdn=) at fileservplugin/main.cpp:345
#5 0x00000000006a3769 in ExecThread::operator() (this=0x9c1470) at fileservplugin/FileServFactory.cpp:45
#6 0x000000000047e291 in CPoolThread::operator() (this=0x9bd550) at ThreadPool.cpp:73
#7 0x000000000044af56 in thread_helper_f (t=0x9bd550) at Server.cpp:1345
#8 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#9 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7ffff4c6f700 (LWP 1415)):
#0 0x00007ffff657e3db in poll () from /lib64/libc.so.6
#1 0x000000000045b900 in poll (__timeout=100000, __nfds=2, __fds=0x7ffff4c6ee50) at /usr/include/bits/poll2.h:46
#2 CServiceAcceptor::operator() (this=0x9bd8d0) at ServiceAcceptor.cpp:173
#3 0x000000000044af56 in thread_helper_f (t=0x9bd8d0) at Server.cpp:1345
#4 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7ffff5470700 (LWP 1414)):
#0 0x00007ffff654ead0 in nanosleep () from /lib64/libc.so.6
#1 0x00007ffff6580c37 in usleep () from /lib64/libc.so.6
#2 0x00000000005eb9fd in (anonymous namespace)::TimeoutFilesrvThread::operator() (this=) at urbackupclient/ClientService.cpp:156
#3 0x000000000044af56 in thread_helper_f (t=0x983a50) at Server.cpp:1345
#4 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7ffff5c71700 (LWP 1413)):
#0 0x00007ffff6864266 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000048212d in CCondition::wait (this=0x981f00, lock=, timems=) at Condition_lin.cpp:59
#2 0x000000000054d9b4 in WalCheckpointThread::waitAndLockForBackup (this=this@entry=0x981f40) at urbackupcommon/WalCheckpointThread.cpp:160
#3 0x000000000054f738 in WalCheckpointThread::operator() (this=0x981f40) at urbackupcommon/WalCheckpointThread.cpp:113
#4 0x000000000044af56 in thread_helper_f (t=0x981f40) at Server.cpp:1345
—Type to continue, or q to quit—
#5 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7ffff6472700 (LWP 1412)):
#0 0x00007ffff654ead0 in nanosleep () from /lib64/libc.so.6
#1 0x00007ffff6580c37 in usleep () from /lib64/libc.so.6
#2 0x00000000006abc54 in PipeSessions::operator() (this=) at fileservplugin/PipeSessions.cpp:329
#3 0x000000000047e291 in CPoolThread::operator() (this=0x981580) at ThreadPool.cpp:73
#4 0x000000000044af56 in thread_helper_f (t=0x981580) at Server.cpp:1345
#5 0x00007ffff685d61b in start_thread () from /lib64/libpthread.so.0
#6 0x00007ffff658a98f in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7ffff7fd6f00 (LWP 1411)):
#0 0x00007ffff654ead0 in nanosleep () from /lib64/libc.so.6
#1 0x00007ffff6580c37 in usleep () from /lib64/libc.so.6
#2 0x0000000000468b4e in main_fkt (argc=, argv=argv@entry=0x97db30) at main.cpp:594
#3 0x000000000046a655 in real_main (argc=, argv=argv@entry=0x97db30) at main.cpp:137
#4 0x00000000006782dc in run_real_main (args=std::vector of length 14, capacity 14 = {…}) at urbackupclient/cmdline_preprocessor.cpp:59
#5 0x000000000043b965 in main (argc=3, argv=) at urbackupclient/cmdline_preprocessor.cpp:335