root@urbackup:~ # valgrind --track-origins=yes /usr/local/bin/urbackupsrv run -g 104857600 -u root -v debug ==1784== Memcheck, a memory error detector ==1784== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==1784== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==1784== Command: /usr/local/bin/urbackupsrv run -g 104857600 -u root -v debug ==1784== --1784-- WARNING: unhandled syscall: 570 --1784-- You may be able to write your own handler. --1784-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --1784-- Nevertheless we consider this a bug. Please report --1784-- it at http://valgrind.org/support/bug_reports.html. --1784-- WARNING: unhandled syscall: 570 --1784-- You may be able to write your own handler. --1784-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --1784-- Nevertheless we consider this a bug. Please report --1784-- it at http://valgrind.org/support/bug_reports.html. --1784-- sigprocmask: unknown 'how' field 0 Raising maximum file descriptor to 65535 failed. This may cause problems with many clients. (errno=1) ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE93F: ??? ==1784== by 0x515C1B4: ??? (in /usr/lib/libc++.so.1) ==1784== by 0x4637C8: operator= (string:890) ==1784== by 0x4637C8: main_fkt(int, char**) (main.cpp:232) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x833CED: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:335) ==1784== ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE78F: ??? ==1784== by 0x44867B: length (__string:253) ==1784== by 0x44867B: operator<< > (ostream:869) ==1784== by 0x44867B: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:418) ==1784== by 0x5F7C56: LoadActions_httpserver (dllmain.cpp:106) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== by 0x4656E5: main_fkt(int, char**) (main.cpp:554) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== 2020-11-21 16:00:08: Starting HTTP-Server on port 55414 ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE78F: ??? ==1784== by 0x44888E: length (__string:253) ==1784== by 0x44888E: operator<< > (ostream:869) ==1784== by 0x44888E: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:437) ==1784== by 0x5F7C56: LoadActions_httpserver (dllmain.cpp:106) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== by 0x4656E5: main_fkt(int, char**) (main.cpp:554) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE68F: ??? ==1784== by 0x44867B: length (__string:253) ==1784== by 0x44867B: operator<< > (ostream:869) ==1784== by 0x44867B: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:418) ==1784== by 0x457785: CServiceAcceptor::CServiceAcceptor(IService*, std::__1::basic_string, std::__1::allocator >, unsigned short, int, IServer::BindTarget) (ServiceAcceptor.cpp:111) ==1784== by 0x44C6F3: CServer::StartCustomStreamService(IService*, std::__1::basic_string, std::__1::allocator >, unsigned short, int, IServer::BindTarget) (Server.cpp:1023) ==1784== by 0x5F7CCC: LoadActions_httpserver (dllmain.cpp:108) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== by 0x4656E5: main_fkt(int, char**) (main.cpp:554) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== 2020-11-21 16:00:08: HTTP: Server started up successfully! ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE68F: ??? ==1784== by 0x44888E: length (__string:253) ==1784== by 0x44888E: operator<< > (ostream:869) ==1784== by 0x44888E: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:437) ==1784== by 0x457785: CServiceAcceptor::CServiceAcceptor(IService*, std::__1::basic_string, std::__1::allocator >, unsigned short, int, IServer::BindTarget) (ServiceAcceptor.cpp:111) ==1784== by 0x44C6F3: CServer::StartCustomStreamService(IService*, std::__1::basic_string, std::__1::allocator >, unsigned short, int, IServer::BindTarget) (Server.cpp:1023) ==1784== by 0x5F7CCC: LoadActions_httpserver (dllmain.cpp:108) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== by 0x4656E5: main_fkt(int, char**) (main.cpp:554) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== --1784-- sigprocmask: unknown 'how' field 0 --1784-- sigprocmask: unknown 'how' field 0 --1784-- sigprocmask: unknown 'how' field 0 --1784-- sigprocmask: unknown 'how' field 0 --1784-- sigprocmask: unknown 'how' field 0 --1784-- sigprocmask: unknown 'how' field 0 ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFE0CF: ??? ==1784== by 0x8A6CDB: length (__string:253) ==1784== by 0x8A6CDB: basic_string (string:819) ==1784== by 0x8A6CDB: getSystemServerName(bool) (CUDPThread.cpp:128) ==1784== by 0x8A8740: FileServ::FileServ(bool*, std::__1::basic_string, std::__1::allocator > const&, unsigned int, bool) (FileServ.cpp:48) ==1784== by 0x8ABB07: FileServFactory::createFileServNoBind(std::__1::basic_string, std::__1::allocator > const&, bool, bool, bool) (FileServFactory.cpp:120) ==1784== by 0x607CC0: LoadActions_urbackupserver (dllmain.cpp:630) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== by 0x4656E5: main_fkt(int, char**) (main.cpp:554) ==1784== by 0x462FEF: main_fkt_catch(int, char**) (main.cpp:130) ==1784== by 0x83724A: run_real_main (cmdline_preprocessor.cpp:98) ==1784== by 0x83724A: action_run(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) (cmdline_preprocessor.cpp:531) ==1784== by 0x84B701: main (cmdline_preprocessor.cpp:1270) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x8A6C2D: getSystemServerName(bool) (CUDPThread.cpp:78) ==1784== ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFC66F: ??? ==1784== by 0x43CEC6: length (__string:253) ==1784== by 0x43CEC6: basic_string (string:819) ==1784== by 0x43CEC6: (anonymous namespace)::errorLogCallback(void*, int, char const*) (Database.cpp:78) ==1784== by 0x4A2BC3: renderLogMsg (sqlite3.c:28119) ==1784== by 0x4A2BC3: sqlite3_log (sqlite3.c:28130) ==1784== by 0x4C4E20: walIndexRecover (sqlite3.c:59080) ==1784== by 0x4C4E20: walIndexReadHdr (sqlite3.c:59976) ==1784== by 0x4C4161: walTryBeginRead (sqlite3.c:60273) ==1784== by 0x4CB65E: sqlite3WalBeginReadTransaction (sqlite3.c:60542) ==1784== by 0x4CB65E: pagerBeginReadTransaction (sqlite3.c:53341) ==1784== by 0x4CB65E: sqlite3PagerSharedLock (sqlite3.c:55435) ==1784== by 0x4A5C75: lockBtree (sqlite3.c:65655) ==1784== by 0x4A5C75: sqlite3BtreeBeginTrans (sqlite3.c:66029) ==1784== by 0x4EDA29: sqlite3InitOne (sqlite3.c:122405) ==1784== by 0x4BA2AA: sqlite3Init (sqlite3.c:122590) ==1784== by 0x53553F: sqlite3ReadSchema (sqlite3.c:122616) ==1784== by 0x53553F: sqlite3Pragma (sqlite3.c:120139) ==1784== by 0x5022F0: yy_reduce (sqlite3.c:149651) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4A2A7B: sqlite3_log (sqlite3.c:28126) ==1784== ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFC58F: ??? ==1784== by 0x44867B: length (__string:253) ==1784== by 0x44867B: operator<< > (ostream:869) ==1784== by 0x44867B: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:418) ==1784== by 0x43D064: (anonymous namespace)::errorLogCallback(void*, int, char const*) (Database.cpp:78) ==1784== by 0x4A2BC3: renderLogMsg (sqlite3.c:28119) ==1784== by 0x4A2BC3: sqlite3_log (sqlite3.c:28130) ==1784== by 0x4C4E20: walIndexRecover (sqlite3.c:59080) ==1784== by 0x4C4E20: walIndexReadHdr (sqlite3.c:59976) ==1784== by 0x4C4161: walTryBeginRead (sqlite3.c:60273) ==1784== by 0x4CB65E: sqlite3WalBeginReadTransaction (sqlite3.c:60542) ==1784== by 0x4CB65E: pagerBeginReadTransaction (sqlite3.c:53341) ==1784== by 0x4CB65E: sqlite3PagerSharedLock (sqlite3.c:55435) ==1784== by 0x4A5C75: lockBtree (sqlite3.c:65655) ==1784== by 0x4A5C75: sqlite3BtreeBeginTrans (sqlite3.c:66029) ==1784== by 0x4EDA29: sqlite3InitOne (sqlite3.c:122405) ==1784== by 0x4BA2AA: sqlite3Init (sqlite3.c:122590) ==1784== by 0x53553F: sqlite3ReadSchema (sqlite3.c:122616) ==1784== by 0x53553F: sqlite3Pragma (sqlite3.c:120139) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== 2020-11-21 16:00:11: SQLite: recovered 4 frames from WAL file /usr/local/var/urbackup/backup_server.db-wal code: 283 ==1784== Conditional jump or move depends on uninitialised value(s) ==1784== at 0x53C0A77: ??? (in /lib/libc.so.7) ==1784== by 0x7FEFFC58F: ??? ==1784== by 0x44888E: length (__string:253) ==1784== by 0x44888E: operator<< > (ostream:869) ==1784== by 0x44888E: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:437) ==1784== by 0x43D064: (anonymous namespace)::errorLogCallback(void*, int, char const*) (Database.cpp:78) ==1784== by 0x4A2BC3: renderLogMsg (sqlite3.c:28119) ==1784== by 0x4A2BC3: sqlite3_log (sqlite3.c:28130) ==1784== by 0x4C4E20: walIndexRecover (sqlite3.c:59080) ==1784== by 0x4C4E20: walIndexReadHdr (sqlite3.c:59976) ==1784== by 0x4C4161: walTryBeginRead (sqlite3.c:60273) ==1784== by 0x4CB65E: sqlite3WalBeginReadTransaction (sqlite3.c:60542) ==1784== by 0x4CB65E: pagerBeginReadTransaction (sqlite3.c:53341) ==1784== by 0x4CB65E: sqlite3PagerSharedLock (sqlite3.c:55435) ==1784== by 0x4A5C75: lockBtree (sqlite3.c:65655) ==1784== by 0x4A5C75: sqlite3BtreeBeginTrans (sqlite3.c:66029) ==1784== by 0x4EDA29: sqlite3InitOne (sqlite3.c:122405) ==1784== by 0x4BA2AA: sqlite3Init (sqlite3.c:122590) ==1784== by 0x53553F: sqlite3ReadSchema (sqlite3.c:122616) ==1784== by 0x53553F: sqlite3Pragma (sqlite3.c:120139) ==1784== Uninitialised value was created by a stack allocation ==1784== at 0x4485B6: CServer::Log(std::__1::basic_string, std::__1::allocator > const&, int) (Server.cpp:398) ==1784== 2020-11-21 16:00:12: SQLite: recovered 1 frames from WAL file /usr/local/var/urbackup/backup_server_link_journal.db-wal code: 283 ==1784== Invalid read of size 8 ==1784== at 0x4BE9F3: unixShmUnmap (sqlite3.c:37019) ==1784== by 0x4C9D5D: sqlite3OsShmUnmap (sqlite3.c:22032) ==1784== by 0x4C9D5D: walIndexClose (sqlite3.c:59106) ==1784== by 0x4C9D5D: sqlite3WalClose (sqlite3.c:59820) ==1784== by 0x4C1808: sqlite3PagerClose (sqlite3.c:54247) ==1784== by 0x4D28CC: sqlite3BtreeClose (sqlite3.c:65325) ==1784== by 0x4A7993: sqlite3LeaveMutexAndCloseZombie (sqlite3.c:152945) ==1784== by 0x4B6C57: sqlite3Close (sqlite3.c:152888) ==1784== by 0x43C3FB: CDatabase::~CDatabase() (Database.cpp:115) ==1784== by 0x43C61D: CDatabase::~CDatabase() (Database.cpp:106) ==1784== by 0x447388: CServer::destroyDatabases(int) (Server.cpp:255) ==1784== by 0x6037B8: open_server_database(bool) (dllmain.cpp:324) ==1784== by 0x607EAD: LoadActions_urbackupserver (dllmain.cpp:644) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==1784== ==1784== ==1784== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==1784== Access not within mapped region at address 0x8 ==1784== at 0x4BE9F3: unixShmUnmap (sqlite3.c:37019) ==1784== by 0x4C9D5D: sqlite3OsShmUnmap (sqlite3.c:22032) ==1784== by 0x4C9D5D: walIndexClose (sqlite3.c:59106) ==1784== by 0x4C9D5D: sqlite3WalClose (sqlite3.c:59820) ==1784== by 0x4C1808: sqlite3PagerClose (sqlite3.c:54247) ==1784== by 0x4D28CC: sqlite3BtreeClose (sqlite3.c:65325) ==1784== by 0x4A7993: sqlite3LeaveMutexAndCloseZombie (sqlite3.c:152945) ==1784== by 0x4B6C57: sqlite3Close (sqlite3.c:152888) ==1784== by 0x43C3FB: CDatabase::~CDatabase() (Database.cpp:115) ==1784== by 0x43C61D: CDatabase::~CDatabase() (Database.cpp:106) ==1784== by 0x447388: CServer::destroyDatabases(int) (Server.cpp:255) ==1784== by 0x6037B8: open_server_database(bool) (dllmain.cpp:324) ==1784== by 0x607EAD: LoadActions_urbackupserver (dllmain.cpp:644) ==1784== by 0x450BD5: CServer::LoadStaticPlugins() (Server.cpp:2246) ==1784== If you believe this happened as a result of a stack ==1784== overflow in your program's main thread (unlikely but ==1784== possible), you can try to increase the size of the ==1784== main thread stack using the --main-stacksize= flag. ==1784== The main thread stack size used in this run was 16777216. ==1784== ==1784== HEAP SUMMARY: ==1784== in use at exit: 0 bytes in 0 blocks ==1784== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==1784== ==1784== All heap blocks were freed -- no leaks are possible ==1784== ==1784== For counts of detected and suppressed errors, rerun with: -v ==1784== ERROR SUMMARY: 13 errors from 10 contexts (suppressed: 0 from 0) Killed root@urbackup:~ #