"file indexing" received signal SIGSEGV, Segmentation fault


#1

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


#2

2018-02-04 21:40:52: Backing up “.symlink_unpack200” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_tnameserv” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_soffice” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_servertool” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_rmiregistry” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_rmid” without snapshot.
2018-02-04 21:40:52: Backing up “.symlink_policytool” without snapshot.
terminate called after throwing an instance of 'std::bad_alloc’
what(): std::bad_alloc

Thread 7 “file indexing” received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe3fff700 (LWP 3287)]
__GI_raise (sig=sig@entry=6) at …/sysdeps/unix/sysv/linux/raise.c:51
51 }
(gdb) thread apply all bt

Thread 11 (Thread 0x7fffedffb700 (LWP 3293)):
#0 0x00007ffff657e3db in __GI___poll (fds=0x7fffa4001330, nfds=3, timeout=timeout@entry=10) at …/sysdeps/unix/sysv/linux/poll.c:29
#1 0x000000000045c7fc in poll (__timeout=10, __nfds=, __fds=) at /usr/include/bits/poll2.h:46
#2 CServiceWorker::work (this=this@entry=0x7fffb0000b70, skip_client=skip_client@entry=0x0) at ServiceWorker.cpp:212
#3 0x000000000045cdeb in CServiceWorker::operator() (this=0x7fffb0000b70) at ServiceWorker.cpp:291
#4 0x000000000044af56 in thread_helper_f (t=0x7fffb0000b70) at Server.cpp:1345
#5 0x00007ffff685d61b in start_thread (arg=0x7fffedffb700) at pthread_create.c:465
#6 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffee7fc700 (LWP 3289)):
#0 0x00007ffff6864266 in futex_abstimed_wait_cancelable (private=, abstime=0x7fffee7fbe70, expected=0, futex_word=0x97e8d0) at …/sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7fffee7fbe70, mutex=0x97e8e8, cond=0x97e8a8) at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=cond@entry=0x97e8a8, mutex=mutex@entry=0x97e8e8, abstime=abstime@entry=0x7fffee7fbe70) at pthread_cond_wait.c:667
#3 0x000000000048212d in CCondition::wait (this=0x97e8a0, lock=, timems=) at Condition_lin.cpp:59
#4 0x000000000045e1c7 in CSessionMgr::operator() (this=0x97e7c0) at SessionMgr.cpp:244
#5 0x000000000044af56 in thread_helper_f (t=0x97e7c8) at Server.cpp:1345
#6 0x00007ffff685d61b in start_thread (arg=0x7fffee7fc700) at pthread_create.c:465
#7 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffeeffd700 (LWP 3288)):
#0 0x00007ffff654ead0 in __GI___nanosleep (requested_time=requested_time@entry=0x7fffeeffcdd0, remaining=remaining@entry=0x0) at …/sysdeps/unix/sysv/linux/nanosleep.c:27
#1 0x00007ffff6580c37 in usleep (useconds=) at …/sysdeps/posix/usleep.c:32
#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 (arg=0x7fffeeffd700) at pthread_create.c:465
#5 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffef7fe700 (LWP 3286)):
#0 0x00007ffff657e3db in __GI___poll (fds=fds@entry=0x7fffef7fd940, nfds=nfds@entry=1, timeout=timeout@entry=60000) at …/sysdeps/unix/sysv/linux/poll.c:29
#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 (arg=0x7fffef7fe700) at pthread_create.c:465
#7 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe3fff700 (LWP 3287)):
#0 __GI_raise (sig=sig@entry=6) at …/sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff64ac381 in __GI_abort () at abort.c:79
#2 0x00007ffff7073025 in __gnu_cxx::__verbose_terminate_handler () at …/…/…/…/libstdc+±v3/libsupc++/vterminate.cc:95
#3 0x00007ffff7070c16 in __cxxabiv1::__terminate (handler=) at …/…/…/…/libstdc+±v3/libsupc++/eh_terminate.cc:47
#4 0x00007ffff7070c61 in std::terminate () at …/…/…/…/libstdc+±v3/libsupc++/eh_terminate.cc:57
#5 0x00007ffff7070ea4 in __cxxabiv1::__cxa_throw (obj=, tinfo=0x7ffff7359750 , dest=0x7ffff706ef00 std::bad_alloc::~bad_alloc()) at …/…/…/…/libstdc+±v3/libsupc++/eh_throw.cc:93
#6 0x00007ffff707142c in operator new (sz=140736213604465) at …/…/…/…/libstdc+±v3/libsupc++/new_op.cc:54
#7 0x00007ffff71069cf in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign (this=this@entry=0x7fffe3ffdcf0, __str="")
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:265
#8 0x00000000005c7b3e in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::assign (__str="", this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:1346
#9 std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator= (__str="", this=0x7fffe3ffdcf0) at /usr/include/c++/7/bits/basic_string.h:684
#10 IndexThread::getAbsSymlinkTarget (this=this@entry=0x9c4570, symlink="/etc/alternatives/policytool", orig_path="/etc/alternatives", target="", output_target=<error: Cannot access memory at address 0x62696c2f7273752f>,
exclude_dirs=std::vector of length 5, capacity 8 = {…}, include_dirs=std::vector of length 0, capacity 0) at urbackupclient/client.cpp:5982
#11 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
#12 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
—Type to continue, or q to quit—
#13 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
#14 0x00000000005d9194 in IndexThread::indexDirs (this=this@entry=0x9c4570, full_backup=full_backup@entry=false, simultaneous_other=false) at urbackupclient/client.cpp:1530
#15 0x00000000005db337 in IndexThread::operator() (this=) at urbackupclient/client.cpp:578
#16 0x000000000044af56 in thread_helper_f (t=0x9c4570) at Server.cpp:1345
#17 0x00007ffff685d61b in start_thread (arg=0x7fffe3fff700) at pthread_create.c:465
#18 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffeffff700 (LWP 3285)):
#0 0x00007ffff657e3db in __GI___poll (fds=fds@entry=0x7fffefffec48, nfds=nfds@entry=1, timeout=timeout@entry=10000) at …/sysdeps/unix/sysv/linux/poll.c:29
#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 (arg=0x7fffeffff700) at pthread_create.c:465
#9 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ffff4c6f700 (LWP 3284)):
#0 0x00007ffff657e3db in __GI___poll (fds=fds@entry=0x7ffff4c6ee50, nfds=nfds@entry=2, timeout=timeout@entry=100000) at …/sysdeps/unix/sysv/linux/poll.c:29
#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 (arg=0x7ffff4c6f700) at pthread_create.c:465
#5 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ffff5470700 (LWP 3283)):
#0 0x00007ffff654ead0 in __GI___nanosleep (requested_time=requested_time@entry=0x7ffff546fea0, remaining=remaining@entry=0x0) at …/sysdeps/unix/sysv/linux/nanosleep.c:27
#1 0x00007ffff6580c37 in usleep (useconds=) at …/sysdeps/posix/usleep.c:32
#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 (arg=0x7ffff5470700) at pthread_create.c:465
#5 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ffff5c71700 (LWP 3282)):
#0 0x00007ffff6864266 in futex_abstimed_wait_cancelable (private=, abstime=0x7ffff5c70e40, expected=0, futex_word=0x981f30) at …/sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x7ffff5c70e40, mutex=0x981ec8, cond=0x981f08) at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=cond@entry=0x981f08, mutex=mutex@entry=0x981ec8, abstime=abstime@entry=0x7ffff5c70e40) at pthread_cond_wait.c:667
#3 0x000000000048212d in CCondition::wait (this=0x981f00, lock=, timems=) at Condition_lin.cpp:59
#4 0x000000000054d9b4 in WalCheckpointThread::waitAndLockForBackup (this=this@entry=0x981f40) at urbackupcommon/WalCheckpointThread.cpp:160
#5 0x000000000054f738 in WalCheckpointThread::operator() (this=0x981f40) at urbackupcommon/WalCheckpointThread.cpp:113
#6 0x000000000044af56 in thread_helper_f (t=0x981f40) at Server.cpp:1345
#7 0x00007ffff685d61b in start_thread (arg=0x7ffff5c71700) at pthread_create.c:465
#8 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff6472700 (LWP 3281)):
#0 0x00007ffff654ead0 in __GI___nanosleep (requested_time=requested_time@entry=0x7ffff6471d10, remaining=remaining@entry=0x0) at …/sysdeps/unix/sysv/linux/nanosleep.c:27
#1 0x00007ffff6580c37 in usleep (useconds=) at …/sysdeps/posix/usleep.c:32
#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 (arg=0x7ffff6472700) at pthread_create.c:465
#6 0x00007ffff658a98f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95
—Type to continue, or q to quit—

Thread 1 (Thread 0x7ffff7fd6f00 (LWP 3269)):
#0 0x00007ffff654ead0 in __GI___nanosleep (requested_time=requested_time@entry=0x7fffffffc110, remaining=remaining@entry=0x0) at …/sysdeps/unix/sysv/linux/nanosleep.c:27
#1 0x00007ffff6580c37 in usleep (useconds=) at …/sysdeps/posix/usleep.c:32
#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


#3

Thanks for the report. Symlink to a symlink both pointing outside of the backed up dirs with symlink following enabled it seems.

What version are you using? Lines do not match up with neither 2.1.x or 2.2.x.


#4

beta compiled on fedora


closed #5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.