Andersbakken / rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang.
http://www.rtags.net
GNU General Public License v3.0
1.83k stars 252 forks source link

SEGFAULT in rdm #369

Closed pekenator closed 8 years ago

pekenator commented 9 years ago

Hi,

I built the latest rtags from source and whenever I try to lookup something from Emacs rdm crashes with a segfault:

Program received signal SIGSEGV, Segmentation fault.
_S_right (__x=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:553
553       { return static_cast<_Link_type>(__x->_M_right); }

(gdb) bt
#0  _S_right (__x=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:553
#1  std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less<String>, std::allocator<std::pair<String const, Value> > >::_M_erase (this=0x7fffffff80e8, 
    __x=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:1245
#2  0x00000000008079a8 in ?? ()
#3  0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fffffff8168 in ?? ()
#8  0x000000000073ab60 in ?? ()
#9  0x00007ffff7180678 in std::string::_Rep::_S_empty_rep_storage () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fffffff8460 in ?? ()
#11 0x00007fffffff8460 in ?? ()
#12 0x00007ffff7180660 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00000000004c8f26 in std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (this=0x7fffffff80e8, 
    __rhs=<unknown type in /usr/local/bin/rdm, CU 0xa04965, DIE 0xb3d17e>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/regex.h:572
#14 0x00000000004bc936 in Match::operator=(Match&&) (this=0x7fffffff80e8) at /home/pek/packages/rtags/src/Match.h:24
#15 0x00000000004bc51c in Server::projectForQuery (this=<optimized out>, query=...) at /home/pek/packages/rtags/src/Server.cpp:1236
#16 0x00000000004baed7 in Server::isIndexed (this=0x7fffffff80e8, query=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 3, weak 0) 0x1a00130, conn=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 8, weak 2) 0x1212770)
    at /home/pek/packages/rtags/src/Server.cpp:1069
#17 0x00000000004ad066 in Server::handleQueryMessage (this=0x73ab60, message=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 3, weak 0) 0x1a00130, conn=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 8, weak 2) 0x1212770)
    at /home/pek/packages/rtags/src/Server.cpp:724
#18 0x00000000004ac137 in Server::onNewMessage (this=0x73ab60, message=..., connection=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/Server.cpp:380
#19 0x00000000004efb20 in std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (this=0x7fffffff80e8, __args=..., 
    __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439
#20 0x00000000004eeff9 in Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (this=<optimized out>, args=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 8, weak 2) 0x1212770, args=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/rct/rct/SignalSlot.h:69
#21 0x00000000004ecce5 in Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (this=0x1212770, buf=<unknown type in /usr/local/bin/rdm, CU 0xe11e01, DIE 0xe41395>)
---Type <return> to continue, or q <return> to quit---
    at /home/pek/packages/rtags/src/rct/rct/Connection.cpp:180
#22 0x0000000000505bcd in operator() (this=<optimized out>, __args=<optimized out>, __args=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439
#23 Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (this=<optimized out>, 
    args=<unknown type in /usr/local/bin/rdm, CU 0xee58d3, DIE 0xf053ec>, args=<unknown type in /usr/local/bin/rdm, CU 0xee58d3, DIE 0xf053ec>) at /home/pek/packages/rtags/src/rct/rct/SignalSlot.h:69
#24 0x000000000050339f in SocketClient::socketCallback (this=0x12124d0, f=<optimized out>, mode=<optimized out>) at /home/pek/packages/rtags/src/rct/rct/SocketClient.cpp:617
#25 0x00000000004f35b9 in operator() (__args=1, __args=1, this=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439
#26 EventLoop::fireSocket (this=<optimized out>, fd=15, mode=1) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:684
#27 0x00000000004f3352 in EventLoop::processSocketEvents (this=0x73a760, events=0x7fffffffc9b0, eventCount=1) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:823
#28 0x00000000004f3846 in EventLoop::exec (this=0x73a760, timeoutTime=<optimized out>) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:941
#29 0x0000000000431bef in main (argc=<optimized out>, argv=<optimized out>) at /home/pek/packages/rtags/src/rdm.cpp:729
Andersbakken commented 9 years ago

Hi

Any chance you could run it with valgrind? I can't seem to reproduce the problem on my end and I can't immediately see what the error is.

What version of GCC are you on? It seems to happen when a std::regex object is copied and I kinda recall there being some problems with std::regex in earlier GCC version.

Anders

On Thu, Jul 2, 2015 at 8:37 AM, pekenator notifications@github.com wrote:

Hi,

I built the latest rtags from source and whenever I try to lookup something from Emacs rdm crashes with a segfault:

Program received signal SIGSEGV, Segmentation fault. _S_right (__x=) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:553 553 { return static_cast<_Link_type>(__x->_M_right); }

(gdb) bt

0 _S_right (__x=) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:553

1 std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less, std::allocator<std::pair<String const, Value> > >::_M_erase (this=0x7fffffff80e8,

__x=<optimized out>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_tree.h:1245

2 0x00000000008079a8 in ?? ()

3 0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

4 0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

5 0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

6 0x00007ffff7180080 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

7 0x00007fffffff8168 in ?? ()

8 0x000000000073ab60 in ?? ()

9 0x00007ffff7180678 in std::string::_Rep::_S_empty_rep_storage () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

10 0x00007fffffff8460 in ?? ()

11 0x00007fffffff8460 in ?? ()

12 0x00007ffff7180660 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

13 0x00000000004c8f26 in std::basic_regex<char, std::regex_traits >::operator=(std::basic_regex<char, std::regex_traits >&&) (this=0x7fffffff80e8,

__rhs=<unknown type in /usr/local/bin/rdm, CU 0xa04965, DIE 0xb3d17e>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/regex.h:572

14 0x00000000004bc936 in Match::operator=(Match&&) (this=0x7fffffff80e8) at /home/pek/packages/rtags/src/Match.h:24

15 0x00000000004bc51c in Server::projectForQuery (this=, query=...) at /home/pek/packages/rtags/src/Server.cpp:1236

16 0x00000000004baed7 in Server::isIndexed (this=0x7fffffff80e8, query=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'

warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 3, weak 0) 0x1a00130, conn=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection, (gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/Server.cpp:1069

17 0x00000000004ad066 in Server::handleQueryMessage (this=0x73ab60, message=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message*, (__gnu_cxx::_Lock_policy)2>'

warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Message, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 3, weak 0) 0x1a00130, conn=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection, (gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/Server.cpp:724

18 0x00000000004ac137 in Server::onNewMessage (this=0x73ab60, message=..., connection=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'

warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/Server.cpp:380

19 0x00000000004efb20 in std::function<void (std::shared_ptr, std::shared_ptr)>::operator()(std::shared_ptr, std::shared_ptr) const (this=0x7fffffff80e8, __args=...,

__args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439

20 0x00000000004eeff9 in Signal<std::function<void (std::shared_ptr, std::shared_ptr)> >::operator()std::shared_ptr<Message&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&) (this=, args=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (__gnu_cxx::_Lock_policy)2>'

warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 8, weak 2) 0x1212770, args=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection, (gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Connection*, (gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 8, weak 2) 0x1212770) at /home/pek/packages/rtags/src/rct/rct/SignalSlot.h:69

21 0x00000000004ecce5 in Connection::onDataAvailable(std::shared_ptr const&, Buffer&&) (this=0x1212770, buf=<unknown type in /usr/local/bin/rdm, CU 0xe11e01, DIE 0xe41395>)

---Type to continue, or q to quit--- at /home/pek/packages/rtags/src/rct/rct/Connection.cpp:180

22 0x0000000000505bcd in operator() (this=, args=, args=) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439

23 Signal<std::function<void (std::shared_ptr const&, Buffer&&)> >::operator()std::shared_ptr<SocketClient&, Buffer>(std::shared_ptr&, Buffer&&) (this=,

args=<unknown type in /usr/local/bin/rdm, CU 0xee58d3, DIE 0xf053ec>, args=<unknown type in /usr/local/bin/rdm, CU 0xee58d3, DIE 0xf053ec>) at /home/pek/packages/rtags/src/rct/rct/SignalSlot.h:69

24 0x000000000050339f in SocketClient::socketCallback (this=0x12124d0, f=, mode=) at /home/pek/packages/rtags/src/rct/rct/SocketClient.cpp:617

25 0x00000000004f35b9 in operator() (args=1, args=1, this=) at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:2439

26 EventLoop::fireSocket (this=, fd=15, mode=1) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:684

27 0x00000000004f3352 in EventLoop::processSocketEvents (this=0x73a760, events=0x7fffffffc9b0, eventCount=1) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:823

28 0x00000000004f3846 in EventLoop::exec (this=0x73a760, timeoutTime=) at /home/pek/packages/rtags/src/rct/rct/EventLoop.cpp:941

29 0x0000000000431bef in main (argc=, argv=) at /home/pek/packages/rtags/src/rdm.cpp:729

— Reply to this email directly or view it on GitHub https://github.com/Andersbakken/rtags/issues/369.

pekenator commented 9 years ago

Hi. I will try it with valgrind. I'm on GCC 4.9.1.

Thanks.

Pek

Andersbakken commented 9 years ago

Thanks. Let me know what you find.

Anders

On Thu, Jul 2, 2015 at 9:20 AM, pekenator notifications@github.com wrote:

Hi. I will try it with valgrind. I'm on GCC 4.9.1.

Thanks.

Pek

— Reply to this email directly or view it on GitHub https://github.com/Andersbakken/rtags/issues/369#issuecomment-118083378.

pekenator commented 9 years ago

The output is way to large for the comment limit. Which options do you want me to use with valgrind? I did this : valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes /usr/local/bin/rdm

and removed most of the heap info to fit in the comment

Jobs took 892.19s, (avg 1.22s). We're using 271mb of memory. 
==30101== Invalid read of size 8
==30101==    at 0x4C90D0: _S_right (stl_tree.h:553)
==30101==    by 0x4C90D0: std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less<String>, std::allocator<std::pair<String const, Value> > >::_M_erase(std::_Rb_tree_node<std::pair<String const, Value> >*) (stl_tree.h:1245)
==30101==    by 0x1101: ???
==30101==    by 0xFFEFFA077: ???
==30101==    by 0x9AABCCF: ???
==30101==    by 0x5D9E677: ???
==30101==    by 0xFFEFFA36F: ???
==30101==    by 0xFFEFFA36F: ???
==30101==    by 0x5D9E65F: ???
==30101==    by 0x4C8F25: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
==30101==    by 0x4BC935: Match::operator=(Match&&) (Match.h:24)
==30101==    by 0x4BC51B: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1236)
==30101==    by 0x4BAED6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1069)
==30101==    by 0x4AD065: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:724)
==30101==    by 0x4AC136: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:380)
==30101==    by 0x4EFB1F: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
==30101==    by 0x4EEFF8: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
==30101==    by 0x4ECCE4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:180)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==  Address 0x23 is not stack'd, malloc'd or (recently) free'd
==30101== 
==30101== 
==30101== Process terminating with default action of signal 11 (SIGSEGV)
==30101==  Access not within mapped region at address 0x23
==30101==    at 0x4C90D0: _S_right (stl_tree.h:553)
==30101==    by 0x4C90D0: std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less<String>, std::allocator<std::pair<String const, Value> > >::_M_erase(std::_Rb_tree_node<std::pair<String const, Value> >*) (stl_tree.h:1245)
==30101==    by 0x1101: ???
==30101==    by 0xFFEFFA077: ???
==30101==    by 0x9AABCCF: ???
==30101==    by 0x5D9E677: ???
==30101==    by 0xFFEFFA36F: ???
==30101==    by 0xFFEFFA36F: ???
==30101==    by 0x5D9E65F: ???
==30101==    by 0x4C8F25: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
==30101==    by 0x4BC935: Match::operator=(Match&&) (Match.h:24)
==30101==    by 0x4BC51B: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1236)
==30101==    by 0x4BAED6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1069)
==30101==    by 0x4AD065: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:724)
==30101==    by 0x4AC136: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:380)
==30101==    by 0x4EFB1F: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
==30101==    by 0x4EEFF8: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
==30101==    by 0x4ECCE4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:180)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==  If you believe this happened as a result of a stack
==30101==  overflow in your program's main thread (unlikely but
==30101==  possible), you can try to increase the size of the
==30101==  main thread stack using the --main-stacksize= flag.
==30101==  The main thread stack size used in this run was 8388608.
==30101== 
==30101== FILE DESCRIPTORS: 10 open at exit.
==30101== Open AF_UNIX socket 7: /home/pek/.rdm
==30101==    at 0x640A03D: ??? (syscall-template.S:81)
==30101==    by 0x507132: SocketServer::socketCallback(int, int) (SocketServer.cpp:208)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== Open file descriptor 11:
==30101==    at 0x7629CD7: pipe (syscall-template.S:81)
==30101==    by 0x4FC2F7: ProcessThread (Process.cpp:80)
==30101==    by 0x4FC2F7: ProcessThread::installProcessHandler() (Process.cpp:218)
==30101==    by 0x640872F: pthread_once (pthread_once.S:103)
==30101==    by 0x4FC5A5: __gthread_once (gthr-default.h:699)
==30101==    by 0x4FC5A5: call_once<void (&)()> (mutex:746)
==30101==    by 0x4FC5A5: Process::Process() (Process.cpp:226)
==30101==    by 0x470749: JobScheduler::startJobs() (JobScheduler.cpp:131)
==30101==    by 0x488C27: ~JobScope (JobScheduler.h:42)
==30101==    by 0x488C27: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1022)
==30101==    by 0x484225: Project::init() (Project.cpp:400)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== Open file descriptor 10:
==30101==    at 0x7629CD7: pipe (syscall-template.S:81)
==30101==    by 0x4FC2F7: ProcessThread (Process.cpp:80)
==30101==    by 0x4FC2F7: ProcessThread::installProcessHandler() (Process.cpp:218)
==30101==    by 0x640872F: pthread_once (pthread_once.S:103)
==30101==    by 0x4FC5A5: __gthread_once (gthr-default.h:699)
==30101==    by 0x4FC5A5: call_once<void (&)()> (mutex:746)
==30101==    by 0x4FC5A5: Process::Process() (Process.cpp:226)
==30101==    by 0x470749: JobScheduler::startJobs() (JobScheduler.cpp:131)
==30101==    by 0x488C27: ~JobScope (JobScheduler.h:42)
==30101==    by 0x488C27: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1022)
==30101==    by 0x484225: Project::init() (Project.cpp:400)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== Open AF_UNIX socket 6: /home/pek/.rdm
==30101==    at 0x7638E77: socket (syscall-template.S:81)
==30101==    by 0x506D35: SocketServer::listen(Path const&) (SocketServer.cpp:108)
==30101==    by 0x4A91D0: Server::initUnixServer() (Server.cpp:280)
==30101==    by 0x4A7461: Server::init(Server::Options const&) (Server.cpp:206)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== Open file descriptor 5:
==30101==    at 0x7638247: epoll_create1 (syscall-template.S:81)
==30101==    by 0x4F1B25: EventLoop::init(unsigned int) (EventLoop.cpp:123)
==30101==    by 0x43103F: main (rdm.cpp:684)
==30101== 
==30101== Open file descriptor 4:
==30101==    at 0x7629CD7: pipe (syscall-template.S:81)
==30101==    by 0x4F1AF3: EventLoop::init(unsigned int) (EventLoop.cpp:110)
==30101==    by 0x43103F: main (rdm.cpp:684)
==30101== 
==30101== Open file descriptor 3:
==30101==    at 0x7629CD7: pipe (syscall-template.S:81)
==30101==    by 0x4F1AF3: EventLoop::init(unsigned int) (EventLoop.cpp:110)
==30101==    by 0x43103F: main (rdm.cpp:684)
==30101== 
==30101== Open file descriptor 2: /dev/pts/11
==30101==    <inherited from parent>
==30101== 
==30101== Open file descriptor 1: /dev/pts/11
==30101==    <inherited from parent>
==30101== 
==30101== Open file descriptor 0: /dev/pts/11
==30101==    <inherited from parent>
==30101== 
==30101== 
==30101== HEAP SUMMARY:
==30101==     in use at exit: 24,817,343 bytes in 342,056 blocks
==30101==   total heap usage: 24,057,219 allocs, 23,715,163 frees, 3,641,855,753 bytes allocated
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 1 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80DF6FD: void* llvm::object_creator<std::string>() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB8723: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 2 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4448D9: allocate (new_allocator.h:104)
==30101==    by 0x4448D9: allocate (alloc_traits.h:357)
==30101==    by 0x4448D9: _M_allocate (stl_vector.h:170)
==30101==    by 0x4448D9: void std::vector<char*, std::allocator<char*> >::_M_emplace_back_aux<char* const&>(char* const&) (vector.tcc:412)
==30101==    by 0x42D6B3: push_back (stl_vector.h:923)
==30101==    by 0x42D6B3: append (List.h:50)
==30101==    by 0x42D6B3: main (rdm.cpp:288)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 3 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4E9DEB: registerMessage<IndexMessage> (Message.h:41)
==30101==    by 0x4E9DEB: RTags::initMessages() (RTags.cpp:338)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 4 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4E9E56: registerMessage<IndexDataMessage> (Message.h:41)
==30101==    by 0x4E9E56: RTags::initMessages() (RTags.cpp:339)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 5 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4E9EC1: registerMessage<LogOutputMessage> (Message.h:41)
==30101==    by 0x4E9EC1: RTags::initMessages() (RTags.cpp:340)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 6 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4E9F2C: registerMessage<QueryMessage> (Message.h:41)
==30101==    by 0x4E9F2C: RTags::initMessages() (RTags.cpp:341)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 7 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4E9F97: registerMessage<VisitFileMessage> (Message.h:41)
==30101==    by 0x4E9F97: RTags::initMessages() (RTags.cpp:342)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 8 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA002: registerMessage<VisitFileResponseMessage> (Message.h:41)
==30101==    by 0x4EA002: RTags::initMessages() (RTags.cpp:343)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 9 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511CE9: _M_init_functor (functional:1955)
==30101==    by 0x511CE9: _M_init_functor (functional:1926)
==30101==    by 0x511CE9: function<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30), void> (functional:2426)
==30101==    by 0x511CE9: pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30), void> (stl_pair.h:151)
==30101==    by 0x511CE9: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (new_allocator.h:120)
==30101==    by 0x511CE9: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (alloc_traits.h:253)
==30101==    by 0x511CE9: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (alloc_traits.h:399)
==30101==    by 0x511CE9: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:421)
==30101==    by 0x511CE9: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1143)
==30101==    by 0x511CE9: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1501)
==30101==    by 0x511CE9: insert<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)>, void> (stl_map.h:638)
==30101==    by 0x511CE9: connect<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> (SignalSlot.h:22)
==30101==    by 0x511CE9: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:13)
==30101==    by 0x4816C3: Project::Project(Path const&) (Project.cpp:243)
==30101==    by 0x4AB7EB: Server::addProject(Path const&) (Server.cpp:306)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 10 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511D62: _M_init_functor (functional:1955)
==30101==    by 0x511D62: _M_init_functor (functional:1926)
==30101==    by 0x511D62: function<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:18:72), void> (functional:2426)
==30101==    by 0x511D62: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:18)
==30101==    by 0x4816C3: Project::Project(Path const&) (Project.cpp:243)
==30101==    by 0x4AB7EB: Server::addProject(Path const&) (Server.cpp:306)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 11 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511CE9: _M_init_functor (functional:1955)
==30101==    by 0x511CE9: _M_init_functor (functional:1926)
==30101==    by 0x511CE9: function<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30), void> (functional:2426)
==30101==    by 0x511CE9: pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30), void> (stl_pair.h:151)
==30101==    by 0x511CE9: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (new_allocator.h:120)
==30101==    by 0x511CE9: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (alloc_traits.h:253)
==30101==    by 0x511CE9: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (alloc_traits.h:399)
==30101==    by 0x511CE9: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:421)
==30101==    by 0x511CE9: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1143)
==30101==    by 0x511CE9: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1501)
==30101==    by 0x511CE9: insert<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)>, void> (stl_map.h:638)
==30101==    by 0x511CE9: connect<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> (SignalSlot.h:22)
==30101==    by 0x511CE9: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:13)
==30101==    by 0x45F6B7: FileManager::FileManager() (FileManager.cpp:24)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 12 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511D62: _M_init_functor (functional:1955)
==30101==    by 0x511D62: _M_init_functor (functional:1926)
==30101==    by 0x511D62: function<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:18:72), void> (functional:2426)
==30101==    by 0x511D62: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:18)
==30101==    by 0x45F6B7: FileManager::FileManager() (FileManager.cpp:24)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 13 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F77B6: Message::create(int, char const*, int) (Message.cpp:76)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 14 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F77E7: Message::create(int, char const*, int) (Message.cpp:77)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 15 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F7818: Message::create(int, char const*, int) (Message.cpp:78)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 8 bytes in 1 blocks are still reachable in loss record 16 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x443B77: allocate (new_allocator.h:104)
==30101==    by 0x443B77: allocate (alloc_traits.h:357)
==30101==    by 0x443B77: _M_allocate (stl_vector.h:170)
==30101==    by 0x443B77: void std::vector<unsigned long, std::allocator<unsigned long> >::_M_emplace_back_aux<unsigned long const&>(unsigned long const&) (vector.tcc:412)
==30101==    by 0x43467C: push_back (stl_vector.h:923)
==30101==    by 0x43467C: std::__detail::_NFA<std::regex_traits<char> >::_M_insert_subexpr_begin() (regex_automaton.h:197)
==30101==    by 0x433F88: std::__detail::_Compiler<std::regex_traits<char> >::_Compiler(char const*, char const*, std::regex_traits<char> const&, std::regex_constants::syntax_option_type) (regex_compiler.tcc:81)
==30101==    by 0x433BB1: __compile_nfa<std::regex_traits<char> > (regex_compiler.h:155)
==30101==    by 0x433BB1: std::basic_regex<char, std::regex_traits<char> >& std::basic_regex<char, std::regex_traits<char> >::assign<std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::regex_constants::syntax_option_type) (regex.h:681)
==30101==    by 0x4C905D: imbue (regex.h:748)
==30101==    by 0x4C905D: std::basic_regex<char, std::regex_traits<char> >::assign(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:625)
==30101==    by 0x4C8F25: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
==30101==    by 0x4BC935: Match::operator=(Match&&) (Match.h:24)
==30101==    by 0x4BC51B: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1236)
==30101==    by 0x4BAED6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1069)
==30101==    by 0x4AD065: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:724)
==30101==    by 0x4AC136: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:380)
==30101==    by 0x4EFB1F: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
==30101==    by 0x4EEFF8: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
==30101==    by 0x4ECCE4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:180)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101== 
==30101== 16 bytes in 1 blocks are still reachable in loss record 17 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x7F04AAA: void std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_emplace_back_aux<llvm::PassRegistrationListener* const&>(llvm::PassRegistrationListener* const&) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7F04C1D: llvm::PassRegistry::addRegistrationListener(llvm::PassRegistrationListener*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB4604: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 16 bytes in 1 blocks are still reachable in loss record 18 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80CC6D9: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB80F8: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 16 bytes in 1 blocks are still reachable in loss record 19 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x7EE93BA: void* llvm::object_creator<llvm::sys::SmartMutex<true> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80B9CF7: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 16 bytes in 1 blocks are still reachable in loss record 20 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F1C90: localEventLoop (EventLoop.cpp:70)
==30101==    by 0x4F1C90: EventLoop::init(unsigned int) (EventLoop.cpp:182)
==30101==    by 0x43103F: main (rdm.cpp:684)
==30101== 
==30101== 16 bytes in 1 blocks are still reachable in loss record 21 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4333AD: allocate (new_allocator.h:104)
==30101==    by 0x4333AD: allocate (alloc_traits.h:357)
==30101==    by 0x4333AD: _M_allocate (stl_vector.h:170)
==30101==    by 0x4333AD: void std::vector<Source::Include, std::allocator<Source::Include> >::_M_emplace_back_aux<Source::Include const&>(Source::Include const&) (vector.tcc:412)
==30101==    by 0x4A6B41: push_back (stl_vector.h:923)
==30101==    by 0x4A6B41: append (List.h:50)
==30101==    by 0x4A6B41: Server::init(Server::Options const&) (Server.cpp:192)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 21 bytes in 1 blocks are still reachable in loss record 22 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 22 bytes in 1 blocks are still reachable in loss record 23 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD33AB: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 22 bytes in 1 blocks are still reachable in loss record 24 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD33C3: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 22 bytes in 1 blocks are still reachable in loss record 25 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3482: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 23 bytes in 1 blocks are still reachable in loss record 26 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD33DE: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 23 bytes in 1 blocks are still reachable in loss record 27 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD346A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 28 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD33F2: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 29 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD340A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 30 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD343A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 31 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3452: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 32 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F52E5: __shared_count<StderrOutput *> (shared_ptr_base.h:569)
==30101==    by 0x4F52E5: __shared_ptr<StderrOutput> (shared_ptr_base.h:872)
==30101==    by 0x4F52E5: shared_ptr<StderrOutput> (shared_ptr.h:113)
==30101==    by 0x4F52E5: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:232)
==30101==    by 0x430C93: main (rdm.cpp:662)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 33 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x430CDD: __shared_count<EventLoop *> (shared_ptr_base.h:569)
==30101==    by 0x430CDD: __shared_ptr<EventLoop> (shared_ptr_base.h:872)
==30101==    by 0x430CDD: shared_ptr<EventLoop> (shared_ptr.h:113)
==30101==    by 0x430CDD: main (rdm.cpp:683)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 34 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x43105E: __shared_count<Server *> (shared_ptr_base.h:569)
==30101==    by 0x43105E: __shared_ptr<Server> (shared_ptr_base.h:872)
==30101==    by 0x43105E: shared_ptr<Server> (shared_ptr.h:113)
==30101==    by 0x43105E: main (rdm.cpp:686)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 35 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4A8E01: __shared_count<SocketServer *> (shared_ptr_base.h:569)
==30101==    by 0x4A8E01: __shared_ptr<SocketServer> (shared_ptr_base.h:872)
==30101==    by 0x4A8E01: reset<SocketServer> (shared_ptr_base.h:1023)
==30101==    by 0x4A8E01: Server::initUnixServer() (Server.cpp:278)
==30101==    by 0x4A7461: Server::init(Server::Options const&) (Server.cpp:206)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 36 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x506EB8: _M_init_functor (functional:1955)
==30101==    by 0x506EB8: _M_init_functor (functional:1926)
==30101==    by 0x506EB8: function<std::_Bind<std::_Mem_fn<void (SocketServer::*)(int, int)> (SocketServer *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x506EB8: SocketServer::commonListen() (SocketServer.cpp:164)
==30101==    by 0x506DB1: commonBindAndListen (SocketServer.cpp:147)
==30101==    by 0x506DB1: SocketServer::listen(Path const&) (SocketServer.cpp:123)
==30101==    by 0x4A91D0: Server::initUnixServer() (Server.cpp:280)
==30101==    by 0x4A7461: Server::init(Server::Options const&) (Server.cpp:206)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 37 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4A9218: __shared_count<JobScheduler *> (shared_ptr_base.h:569)
==30101==    by 0x4A9218: __shared_ptr<JobScheduler> (shared_ptr_base.h:872)
==30101==    by 0x4A9218: void std::__shared_ptr<JobScheduler, (__gnu_cxx::_Lock_policy)2>::reset<JobScheduler>(JobScheduler*) (shared_ptr_base.h:1023)
==30101==    by 0x4A7498: Server::init(Server::Options const&) (Server.cpp:215)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 38 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C6A1D: _M_init_functor (functional:1955)
==30101==    by 0x4C6A1D: _M_init_functor (functional:1926)
==30101==    by 0x4C6A1D: function<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x4C6A1D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x4C6A1D: construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x4C6A1D: _S_construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x4C6A1D: construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x4C6A1D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x4C6A1D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x4C6A1D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (SocketServer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (SocketServer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4A750F: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4A750F: connect<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4A750F: Server::init(Server::Options const&) (Server.cpp:218)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 39 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4AB868: __shared_count<Project *> (shared_ptr_base.h:569)
==30101==    by 0x4AB868: __shared_ptr<Project> (shared_ptr_base.h:872)
==30101==    by 0x4AB868: void std::__shared_ptr<Project, (__gnu_cxx::_Lock_policy)2>::reset<Project>(Project*) (shared_ptr_base.h:1023)
==30101==    by 0x4AB7F6: Server::addProject(Path const&) (Server.cpp:306)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 40 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462DBD: _M_init_functor (functional:1955)
==30101==    by 0x462DBD: _M_init_functor (functional:1926)
==30101==    by 0x462DBD: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x462DBD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x462DBD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x462DBD: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x462DBD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x462DBD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x462DBD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462DBD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F734: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F734: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F734: FileManager::FileManager() (FileManager.cpp:25)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 41 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462DBD: _M_init_functor (functional:1955)
==30101==    by 0x462DBD: _M_init_functor (functional:1926)
==30101==    by 0x462DBD: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x462DBD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x462DBD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x462DBD: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x462DBD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x462DBD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x462DBD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462DBD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F7A4: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F7A4: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F7A4: FileManager::FileManager() (FileManager.cpp:26)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 42 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462BED: _M_init_functor (functional:1955)
==30101==    by 0x462BED: _M_init_functor (functional:1926)
==30101==    by 0x462BED: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x462BED: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x462BED: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x462BED: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x462BED: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x462BED: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x462BED: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462BED: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F807: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F807: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F807: FileManager::FileManager() (FileManager.cpp:27)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 43 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4823BC: __shared_count<FileManager *> (shared_ptr_base.h:569)
==30101==    by 0x4823BC: __shared_ptr<FileManager> (shared_ptr_base.h:872)
==30101==    by 0x4823BC: reset<FileManager> (shared_ptr_base.h:1023)
==30101==    by 0x4823BC: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 44 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA8D: _M_init_functor (functional:1955)
==30101==    by 0x49BA8D: _M_init_functor (functional:1926)
==30101==    by 0x49BA8D: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x49BA8D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x49BA8D: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x49BA8D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x49BA8D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA8D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4824DD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4824DD: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4824DD: Project::init() (Project.cpp:289)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 45 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA8D: _M_init_functor (functional:1955)
==30101==    by 0x49BA8D: _M_init_functor (functional:1926)
==30101==    by 0x49BA8D: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x49BA8D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x49BA8D: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x49BA8D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x49BA8D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA8D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x482555: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x482555: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x482555: Project::init() (Project.cpp:290)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 46 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA8D: _M_init_functor (functional:1955)
==30101==    by 0x49BA8D: _M_init_functor (functional:1926)
==30101==    by 0x49BA8D: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x49BA8D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x49BA8D: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x49BA8D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x49BA8D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x49BA8D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA8D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4825D4: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4825D4: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4825D4: Project::init() (Project.cpp:291)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 47 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49B8BD: _M_init_functor (functional:1955)
==30101==    by 0x49B8BD: _M_init_functor (functional:1926)
==30101==    by 0x49B8BD: function<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)>, void> (functional:2426)
==30101==    by 0x49B8BD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)>, void> (stl_pair.h:151)
==30101==    by 0x49B8BD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (new_allocator.h:120)
==30101==    by 0x49B8BD: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (alloc_traits.h:253)
==30101==    by 0x49B8BD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (alloc_traits.h:399)
==30101==    by 0x49B8BD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:421)
==30101==    by 0x49B8BD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:1143)
==30101==    by 0x49B8BD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> >&&) (stl_tree.h:1501)
==30101==    by 0x48265E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> >, void> (stl_map.h:638)
==30101==    by 0x48265E: connect<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > (SignalSlot.h:22)
==30101==    by 0x48265E: Project::init() (Project.cpp:294)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 48 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49B8BD: _M_init_functor (functional:1955)
==30101==    by 0x49B8BD: _M_init_functor (functional:1926)
==30101==    by 0x49B8BD: function<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)>, void> (functional:2426)
==30101==    by 0x49B8BD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)>, void> (stl_pair.h:151)
==30101==    by 0x49B8BD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (new_allocator.h:120)
==30101==    by 0x49B8BD: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (alloc_traits.h:253)
==30101==    by 0x49B8BD: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (alloc_traits.h:399)
==30101==    by 0x49B8BD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:421)
==30101==    by 0x49B8BD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:1143)
==30101==    by 0x49B8BD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> >&&) (stl_tree.h:1501)
==30101==    by 0x4826D6: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> >, void> (stl_map.h:638)
==30101==    by 0x4826D6: connect<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > (SignalSlot.h:22)
==30101==    by 0x4826D6: Project::init() (Project.cpp:295)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 49 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49B6DD: _M_init_functor (functional:1955)
==30101==    by 0x49B6DD: _M_init_functor (functional:1926)
==30101==    by 0x49B6DD: function<std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x49B6DD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x49B6DD: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x49B6DD: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x49B6DD: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x49B6DD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x49B6DD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49B6DD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x48283F: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x48283F: connect<std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x48283F: Project::init() (Project.cpp:298)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 50 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x502AAB: _M_init_functor (functional:1955)
==30101==    by 0x502AAB: _M_init_functor (functional:1926)
==30101==    by 0x502AAB: function<std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x502AAB: SocketClient::SocketClient(int, unsigned int) (SocketClient.cpp:45)
==30101==    by 0x5072B3: SocketServer::nextConnection() (SocketServer.cpp:186)
==30101==    by 0x4A98C4: Server::onNewConnection(SocketServer*) (Server.cpp:356)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 51 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5065BE: _M_clone (functional:1878)
==30101==    by 0x5065BE: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
==30101==    by 0x4F3590: function (functional:2412)
==30101==    by 0x4F3590: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:682)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 52 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F78AE: __shared_count<Message *> (shared_ptr_base.h:569)
==30101==    by 0x4F78AE: __shared_ptr<Message> (shared_ptr_base.h:872)
==30101==    by 0x4F78AE: shared_ptr<Message> (shared_ptr.h:113)
==30101==    by 0x4F78AE: Message::create(int, char const*, int) (Message.cpp:86)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 24 bytes in 1 blocks are still reachable in loss record 53 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C634E: _M_clone (functional:1878)
==30101==    by 0x4C634E: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
==30101==    by 0x4EFCC1: function (functional:2412)
==30101==    by 0x4EFCC1: pair (stl_pair.h:127)
==30101==    by 0x4EFCC1: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (new_allocator.h:120)
==30101==    by 0x4EFCC1: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (alloc_traits.h:253)
==30101==    by 0x4EFCC1: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (alloc_traits.h:399)
==30101==    by 0x4EFCC1: _M_create_node<const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (stl_tree.h:421)
==30101==    by 0x4EFCC1: _M_clone_node (stl_tree.h:445)
==30101==    by 0x4EFCC1: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >*) (stl_tree.h:1207)
==30101==    by 0x4EEEDC: operator= (stl_tree.h:1117)
==30101==    by 0x4EEEDC: operator= (stl_map.h:295)
==30101==    by 0x4EEEDC: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:66)
==30101==    by 0x4ECCE4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:180)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 25 bytes in 1 blocks are still reachable in loss record 54 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3422: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 29 bytes in 1 blocks are possibly lost in loss record 55 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x7CC4608: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 29 bytes in 1 blocks are possibly lost in loss record 56 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x7CCAD24: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 30 bytes in 1 blocks are possibly lost in loss record 57 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x7CC73E1: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 30 bytes in 1 blocks are possibly lost in loss record 58 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4A6421: String (String.h:28)
==30101==    by 0x4A6421: Server::init(Server::Options const&) (Server.cpp:158)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 31 bytes in 1 blocks are possibly lost in loss record 59 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x445097: substr (basic_string.h:2226)
==30101==    by 0x445097: String::mid(int, int) const (String.h:533)
==30101==    by 0x4325CD: String::split(char, unsigned int) const (String.h:578)
==30101==    by 0x42DFC1: main (rdm.cpp:340)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 60 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x7F05054: llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB3022: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 61 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80B9B3D: void* llvm::object_creator<llvm::StringMap<void*, llvm::MallocAllocator> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80B9D27: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 62 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x44473D: allocate (new_allocator.h:104)
==30101==    by 0x44473D: allocate (alloc_traits.h:357)
==30101==    by 0x44473D: _M_allocate (stl_vector.h:170)
==30101==    by 0x44473D: void std::vector<String, std::allocator<String> >::_M_emplace_back_aux<String const&>(String const&) (vector.tcc:412)
==30101==    by 0x43257A: push_back (stl_vector.h:923)
==30101==    by 0x43257A: append (List.h:50)
==30101==    by 0x43257A: String::split(char, unsigned int) const (String.h:574)
==30101==    by 0x42DFC1: main (rdm.cpp:340)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 63 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F52BE: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:232)
==30101==    by 0x430C93: main (rdm.cpp:662)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 64 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x446CD4: allocate (new_allocator.h:104)
==30101==    by 0x446CD4: allocate (alloc_traits.h:357)
==30101==    by 0x446CD4: _M_allocate (stl_vector.h:170)
==30101==    by 0x446CD4: _M_allocate_and_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > > > (stl_vector.h:1224)
==30101==    by 0x446CD4: std::vector<String, std::allocator<String> >::operator=(std::vector<String, std::allocator<String> > const&) (vector.tcc:194)
==30101==    by 0x4A8218: operator= (List.h:11)
==30101==    by 0x4A8218: Server::Options::operator=(Server::Options const&) (Server.h:78)
==30101==    by 0x4A62FD: Server::init(Server::Options const&) (Server.cpp:153)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 65 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x44473D: allocate (new_allocator.h:104)
==30101==    by 0x44473D: allocate (alloc_traits.h:357)
==30101==    by 0x44473D: _M_allocate (stl_vector.h:170)
==30101==    by 0x44473D: void std::vector<String, std::allocator<String> >::_M_emplace_back_aux<String const&>(String const&) (vector.tcc:412)
==30101==    by 0x4A6639: push_back (stl_vector.h:923)
==30101==    by 0x4A6639: append (List.h:50)
==30101==    by 0x4A6639: operator<< (List.h:332)
==30101==    by 0x4A6639: Server::init(Server::Options const&) (Server.cpp:162)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 66 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C8D07: allocate (new_allocator.h:104)
==30101==    by 0x4C8D07: allocate (alloc_traits.h:357)
==30101==    by 0x4C8D07: _M_allocate_node<const std::pair<const Path, unsigned int> &> (hashtable_policy.h:1951)
==30101==    by 0x4C8D07: std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true>* std::__detail::_ReuseOrAllocNode<std::allocator<std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> > >::operator()<std::pair<Path const, unsigned int> const&>(std::pair<Path const, unsigned int> const&) const (hashtable_policy.h:156)
==30101==    by 0x4C8C1B: operator() (hashtable.h:917)
==30101==    by 0x4C8C1B: void std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign<std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2}>(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&, std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2} const&) (hashtable.h:960)
==30101==    by 0x4C8AFA: std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&) (hashtable.h:915)
==30101==    by 0x4BD0D3: operator= (unordered_map.h:224)
==30101==    by 0x4BD0D3: operator= (Hash.h:22)
==30101==    by 0x4BD0D3: Location::init(Hash<Path, unsigned int> const&) (Location.h:232)
==30101==    by 0x4A94F2: Server::restoreFileIds() (Server.cpp:1591)
==30101==    by 0x4A74A0: Server::init(Server::Options const&) (Server.cpp:217)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 67 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4A9BA8: _M_init_functor (functional:1955)
==30101==    by 0x4A9BA8: _M_init_functor (functional:1926)
==30101==    by 0x4A9BA8: function<std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()>, void> (functional:2426)
==30101==    by 0x4A9BA8: pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()>, void> (stl_pair.h:151)
==30101==    by 0x4A9BA8: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (new_allocator.h:120)
==30101==    by 0x4A9BA8: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (alloc_traits.h:253)
==30101==    by 0x4A9BA8: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (alloc_traits.h:399)
==30101==    by 0x4A9BA8: _M_create_node<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (stl_tree.h:421)
==30101==    by 0x4A9BA8: _M_insert_<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (stl_tree.h:1143)
==30101==    by 0x4A9BA8: _M_insert_unique<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > > (stl_tree.h:1501)
==30101==    by 0x4A9BA8: insert<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> >, void> (stl_map.h:638)
==30101==    by 0x4A9BA8: connect<std::_Bind<(lambda at /home/pek/packages/rtags/src/Server.cpp:364:48) ()> > (SignalSlot.h:22)
==30101==    by 0x4A9BA8: Server::onNewConnection(SocketServer*) (Server.cpp:364)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 32 bytes in 1 blocks are still reachable in loss record 68 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F0C5B: _M_clone (functional:1878)
==30101==    by 0x4F0C5B: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
==30101==    by 0x505FC1: function (functional:2412)
==30101==    by 0x505FC1: pair (stl_pair.h:127)
==30101==    by 0x505FC1: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (new_allocator.h:120)
==30101==    by 0x505FC1: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (alloc_traits.h:253)
==30101==    by 0x505FC1: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (alloc_traits.h:399)
==30101==    by 0x505FC1: _M_create_node<const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (stl_tree.h:421)
==30101==    by 0x505FC1: _M_clone_node (stl_tree.h:445)
==30101==    by 0x505FC1: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >*) (stl_tree.h:1207)
==30101==    by 0x505B4C: operator= (stl_tree.h:1117)
==30101==    by 0x505B4C: operator= (stl_map.h:295)
==30101==    by 0x505B4C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:66)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 32 bytes in 1 blocks are possibly lost in loss record 69 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x7CC9A6E: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 32 bytes in 1 blocks are possibly lost in loss record 70 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4BAE9A: String (String.h:28)
==30101==    by 0x4BAE9A: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1067)
==30101==    by 0x4AD065: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:724)
==30101==    by 0x4AC136: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:380)
==30101==    by 0x4EFB1F: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
==30101==    by 0x4EEFF8: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
==30101==    by 0x4ECCE4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:180)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 39 bytes in 1 blocks are possibly lost in loss record 71 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B536F3: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B53D2D: std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x444BA4: assign (String.h:65)
==30101==    by 0x444BA4: String String::format<128>(char const*, __va_list_tag*) (String.h:772)
==30101==    by 0x432AA5: String String::format<128>(char const*, ...) (String.h:756)
==30101==    by 0x42DE7F: main (rdm.cpp:322)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 72 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C493C: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49A0: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7F04363: llvm::PassRegistry::getPassRegistry() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB3015: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 73 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB3894: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 74 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB7FA4: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 75 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB8234: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 76 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD1684: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 77 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7EE93CA: void* llvm::object_creator<llvm::sys::SmartMutex<true> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80B9CF7: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 78 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C64B7: allocate (new_allocator.h:104)
==30101==    by 0x4C64B7: allocate (alloc_traits.h:357)
==30101==    by 0x4C64B7: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
==30101==    by 0x4C64B7: std::__detail::_Map_base<Path, std::pair<Path const, std::shared_ptr<Project> >, std::allocator<std::pair<Path const, std::shared_ptr<Project> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
==30101==    by 0x4AB7C8: operator[] (unordered_map.h:627)
==30101==    by 0x4AB7C8: operator[] (Hash.h:113)
==30101==    by 0x4AB7C8: Server::addProject(Path const&) (Server.cpp:304)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 79 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B429: allocate (new_allocator.h:104)
==30101==    by 0x47B429: allocate (alloc_traits.h:357)
==30101==    by 0x47B429: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B429: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B429: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B429: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1219)
==30101==    by 0x47B45B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1223)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 80 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B3DB: allocate (new_allocator.h:104)
==30101==    by 0x47B3DB: allocate (alloc_traits.h:357)
==30101==    by 0x47B3DB: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B3DB: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B3DB: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B3DB: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 81 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B429: allocate (new_allocator.h:104)
==30101==    by 0x47B429: allocate (alloc_traits.h:357)
==30101==    by 0x47B429: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B429: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B429: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B429: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1219)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 82 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B429: allocate (new_allocator.h:104)
==30101==    by 0x47B429: allocate (alloc_traits.h:357)
==30101==    by 0x47B429: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B429: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B429: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B429: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1219)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 83 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B3DB: allocate (new_allocator.h:104)
==30101==    by 0x47B3DB: allocate (alloc_traits.h:357)
==30101==    by 0x47B3DB: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B3DB: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B3DB: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B3DB: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
==30101==    by 0x47B45B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1223)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 84 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B3DB: allocate (new_allocator.h:104)
==30101==    by 0x47B3DB: allocate (alloc_traits.h:357)
==30101==    by 0x47B3DB: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B3DB: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B3DB: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B3DB: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
==30101==    by 0x47B45B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1223)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are still reachable in loss record 85 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x47B3DB: allocate (new_allocator.h:104)
==30101==    by 0x47B3DB: allocate (alloc_traits.h:357)
==30101==    by 0x47B3DB: _M_get_node (stl_tree.h:385)
==30101==    by 0x47B3DB: _M_create_node<const unsigned int &> (stl_tree.h:417)
==30101==    by 0x47B3DB: _M_clone_node (stl_tree.h:445)
==30101==    by 0x47B3DB: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B45B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1223)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47B40C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
==30101==    by 0x47977F: operator= (stl_tree.h:1117)
==30101==    by 0x47977F: operator= (stl_set.h:265)
==30101==    by 0x47977F: operator= (Set.h:9)
==30101==    by 0x47977F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:420)
==30101==    by 0x4829EB: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
==30101==    by 0x4829EB: Project::init() (Project.cpp:313)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 40 bytes in 1 blocks are possibly lost in loss record 86 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4A6350: String (String.h:28)
==30101==    by 0x4A6350: Server::init(Server::Options const&) (Server.cpp:156)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 41 bytes in 1 blocks are possibly lost in loss record 87 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4A65C3: String (String.h:28)
==30101==    by 0x4A65C3: Server::init(Server::Options const&) (Server.cpp:162)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 43 bytes in 1 blocks are possibly lost in loss record 88 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x7CC3D47: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 43 bytes in 1 blocks are possibly lost in loss record 89 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5010B1: String (String.h:28)
==30101==    by 0x5010B1: Path (Path.h:24)
==30101==    by 0x5010B1: Rct::findExecutablePath(char const*) (Rct.cpp:213)
==30101==    by 0x42D2AE: main (rdm.cpp:156)
==30101== 
==30101== 44 bytes in 1 blocks are still reachable in loss record 90 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x451F81: String (String.h:43)
==30101==    by 0x451F81: _Construct<String, const String &> (stl_construct.h:75)
==30101==    by 0x451F81: __uninit_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:75)
==30101==    by 0x451F81: uninitialized_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:122)
==30101==    by 0x451F81: __uninitialized_copy_a<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *, String> (stl_uninitialized.h:278)
==30101==    by 0x451F81: vector (stl_vector.h:322)
==30101==    by 0x451F81: List (List.h:11)
==30101==    by 0x451F81: Source::Source(Source const&) (Source.h:25)
==30101==    by 0x488460: construct<Source, const Source &> (new_allocator.h:120)
==30101==    by 0x488460: _S_construct<Source, const Source &> (alloc_traits.h:253)
==30101==    by 0x488460: construct<Source, const Source &> (alloc_traits.h:399)
==30101==    by 0x488460: push_back (stl_vector.h:917)
==30101==    by 0x488460: append (List.h:50)
==30101==    by 0x488460: operator<< (List.h:332)
==30101==    by 0x488460: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:996)
==30101==    by 0x484225: Project::init() (Project.cpp:400)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 91 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F6881: allocate (new_allocator.h:104)
==30101==    by 0x4F6881: allocate (alloc_traits.h:357)
==30101==    by 0x4F6881: _M_get_node (stl_tree.h:385)
==30101==    by 0x4F6881: _M_create_node<const std::shared_ptr<LogOutput> &> (stl_tree.h:417)
==30101==    by 0x4F6881: _M_insert_<const std::shared_ptr<LogOutput> &> (stl_tree.h:1143)
==30101==    by 0x4F6881: std::pair<std::_Rb_tree_iterator<std::shared_ptr<LogOutput> >, bool> std::_Rb_tree<std::shared_ptr<LogOutput>, std::shared_ptr<LogOutput>, std::_Identity<std::shared_ptr<LogOutput> >, std::less<std::shared_ptr<LogOutput> >, std::allocator<std::shared_ptr<LogOutput> > >::_M_insert_unique<std::shared_ptr<LogOutput> const&>(std::shared_ptr<LogOutput> const&) (stl_tree.h:1501)
==30101==    by 0x4F6057: insert (stl_set.h:502)
==30101==    by 0x4F6057: insert (Set.h:73)
==30101==    by 0x4F6057: LogOutput::add() (Log.cpp:302)
==30101==    by 0x4F538E: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:233)
==30101==    by 0x430C93: main (rdm.cpp:662)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 92 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9DD8: operator[] (Map.h:111)
==30101==    by 0x4E9DD8: registerMessage<IndexMessage> (Message.h:39)
==30101==    by 0x4E9DD8: RTags::initMessages() (RTags.cpp:338)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 93 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9E43: operator[] (Map.h:111)
==30101==    by 0x4E9E43: registerMessage<IndexDataMessage> (Message.h:39)
==30101==    by 0x4E9E43: RTags::initMessages() (RTags.cpp:339)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 94 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9EAE: operator[] (Map.h:111)
==30101==    by 0x4E9EAE: registerMessage<LogOutputMessage> (Message.h:39)
==30101==    by 0x4E9EAE: RTags::initMessages() (RTags.cpp:340)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 95 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9F19: operator[] (Map.h:111)
==30101==    by 0x4E9F19: registerMessage<QueryMessage> (Message.h:39)
==30101==    by 0x4E9F19: RTags::initMessages() (RTags.cpp:341)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 96 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9F84: operator[] (Map.h:111)
==30101==    by 0x4E9F84: registerMessage<VisitFileMessage> (Message.h:39)
==30101==    by 0x4E9F84: RTags::initMessages() (RTags.cpp:342)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 97 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4E9FEF: operator[] (Map.h:111)
==30101==    by 0x4E9FEF: registerMessage<VisitFileResponseMessage> (Message.h:39)
==30101==    by 0x4E9FEF: RTags::initMessages() (RTags.cpp:343)
==30101==    by 0x4A62EB: Server::init(Server::Options const&) (Server.cpp:151)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 98 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x44BCC1: allocate (new_allocator.h:104)
==30101==    by 0x44BCC1: allocate (alloc_traits.h:357)
==30101==    by 0x44BCC1: _M_get_node (stl_tree.h:385)
==30101==    by 0x44BCC1: _M_create_node<const Source::Define &> (stl_tree.h:417)
==30101==    by 0x44BCC1: _M_clone_node (stl_tree.h:445)
==30101==    by 0x44BCC1: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
==30101==    by 0x44BD72: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
==30101==    by 0x44BD03: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
==30101==    by 0x452441: operator= (stl_tree.h:1117)
==30101==    by 0x452441: operator= (stl_set.h:265)
==30101==    by 0x452441: operator= (Set.h:9)
==30101==    by 0x452441: Source::operator=(Source const&) (Source.h:25)
==30101==    by 0x48C70E: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:748)
==30101==    by 0x488AAF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1018)
==30101==    by 0x484225: Project::init() (Project.cpp:400)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 99 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C6151: allocate (new_allocator.h:104)
==30101==    by 0x4C6151: allocate (alloc_traits.h:357)
==30101==    by 0x4C6151: _M_get_node (stl_tree.h:385)
==30101==    by 0x4C6151: _M_create_node<const std::shared_ptr<Connection> &> (stl_tree.h:417)
==30101==    by 0x4C6151: _M_insert_<const std::shared_ptr<Connection> &> (stl_tree.h:1143)
==30101==    by 0x4C6151: std::pair<std::_Rb_tree_iterator<std::shared_ptr<Connection> >, bool> std::_Rb_tree<std::shared_ptr<Connection>, std::shared_ptr<Connection>, std::_Identity<std::shared_ptr<Connection> >, std::less<std::shared_ptr<Connection> >, std::allocator<std::shared_ptr<Connection> > >::_M_insert_unique<std::shared_ptr<Connection> const&>(std::shared_ptr<Connection> const&) (stl_tree.h:1501)
==30101==    by 0x4A99C5: insert (stl_set.h:502)
==30101==    by 0x4A99C5: insert (Set.h:73)
==30101==    by 0x4A99C5: Server::onNewConnection(SocketServer*) (Server.cpp:362)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 100 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4F77DA: operator[] (Map.h:111)
==30101==    by 0x4F77DA: Message::create(int, char const*, int) (Message.cpp:76)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 101 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4F780B: operator[] (Map.h:111)
==30101==    by 0x4F780B: Message::create(int, char const*, int) (Message.cpp:77)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 1 blocks are still reachable in loss record 102 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4EA18C: allocate (new_allocator.h:104)
==30101==    by 0x4EA18C: allocate (alloc_traits.h:357)
==30101==    by 0x4EA18C: _M_get_node (stl_tree.h:385)
==30101==    by 0x4EA18C: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
==30101==    by 0x4EA18C: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
==30101==    by 0x4EA18C: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
==30101==    by 0x4F783C: operator[] (Map.h:111)
==30101==    by 0x4F783C: Message::create(int, char const*, int) (Message.cpp:78)
==30101==    by 0x4ECB94: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:173)
==30101==    by 0x505BCC: operator() (functional:2439)
==30101==    by 0x505BCC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
==30101==    by 0x50339E: SocketClient::socketCallback(int, int) (SocketClient.cpp:617)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 2 blocks are still reachable in loss record 103 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5072C0: __shared_count<SocketClient *> (shared_ptr_base.h:569)
==30101==    by 0x5072C0: __shared_ptr<SocketClient> (shared_ptr_base.h:872)
==30101==    by 0x5072C0: shared_ptr<SocketClient> (shared_ptr.h:113)
==30101==    by 0x5072C0: SocketServer::nextConnection() (SocketServer.cpp:186)
==30101==    by 0x4A98C4: Server::onNewConnection(SocketServer*) (Server.cpp:356)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 2 blocks are still reachable in loss record 104 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4ABAB3: __shared_count<Connection *> (shared_ptr_base.h:569)
==30101==    by 0x4ABAB3: __shared_ptr<Connection> (shared_ptr_base.h:872)
==30101==    by 0x4ABAB3: shared_ptr<Connection> (shared_ptr.h:113)
==30101==    by 0x4ABAB3: Connection::create(std::shared_ptr<SocketClient> const&, int) (Connection.h:26)
==30101==    by 0x4A98FF: Server::onNewConnection(SocketServer*) (Server.cpp:360)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 48 bytes in 2 blocks are still reachable in loss record 105 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C628D: _M_init_functor (functional:1955)
==30101==    by 0x4C628D: _M_init_functor (functional:1926)
==30101==    by 0x4C628D: function<std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x4C628D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:151)
==30101==    by 0x4C628D: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
==30101==    by 0x4C628D: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
==30101==    by 0x4C628D: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
==30101==    by 0x4C628D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
==30101==    by 0x4C628D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
==30101==    by 0x4C628D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4A995C: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
==30101==    by 0x4A995C: connect<std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
==30101==    by 0x4A995C: Server::onNewConnection(SocketServer*) (Server.cpp:361)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 52 bytes in 1 blocks are possibly lost in loss record 106 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4A6694: String (String.h:28)
==30101==    by 0x4A6694: Server::init(Server::Options const&) (Server.cpp:164)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 55 bytes in 1 blocks are possibly lost in loss record 107 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54669: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5473D: std::string::append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4702A9: append (basic_string.h:1026)
==30101==    by 0x4702A9: operator+= (basic_string.h:959)
==30101==    by 0x4702A9: operator+= (String.h:396)
==30101==    by 0x4702A9: operator+ (String.h:797)
==30101==    by 0x4702A9: JobScheduler::startJobs() (JobScheduler.cpp:87)
==30101==    by 0x488C27: ~JobScope (JobScheduler.h:42)
==30101==    by 0x488C27: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1022)
==30101==    by 0x484225: Project::init() (Project.cpp:400)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 56 bytes in 1 blocks are still reachable in loss record 108 of 334
==30101==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x80D0099: llvm::sys::RWMutexImpl::RWMutexImpl() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7F04275: void* llvm::object_creator<llvm::PassRegistry>() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7F04363: llvm::PassRegistry::getPassRegistry() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x7CB3015: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
==30101==    by 0x4010139: call_init.part.0 (dl-init.c:78)
==30101==    by 0x4010222: call_init (dl-init.c:36)
==30101==    by 0x4010222: _dl_init (dl-init.c:126)
==30101==    by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==30101== 
==30101== 56 bytes in 1 blocks are possibly lost in loss record 109 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x432BEB: String (String.h:43)
==30101==    by 0x432BEB: Path (Path.h:18)
==30101==    by 0x432BEB: Path::ensureTrailingSlash() const (Path.h:91)
==30101==    by 0x4AA27F: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 57 bytes in 1 blocks are possibly lost in loss record 110 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x432C1D: push_back (basic_string.h:1073)
==30101==    by 0x432C1D: operator+= (basic_string.h:969)
==30101==    by 0x432C1D: operator+= (String.h:389)
==30101==    by 0x432C1D: operator+ (String.h:811)
==30101==    by 0x432C1D: Path::ensureTrailingSlash() const (Path.h:90)
==30101==    by 0x431ABC: main (rdm.cpp:717)
==30101== 
==30101== 64 bytes in 1 blocks are still reachable in loss record 111 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F134D: allocate (new_allocator.h:104)
==30101==    by 0x4F134D: _M_allocate_map (stl_deque.h:549)
==30101==    by 0x4F134D: _M_initialize_map (stl_deque.h:594)
==30101==    by 0x4F134D: _Deque_base (stl_deque.h:458)
==30101==    by 0x4F134D: deque (stl_deque.h:788)
==30101==    by 0x4F134D: EventLoop::EventLoop() (EventLoop.cpp:91)
==30101==    by 0x430CD3: main (rdm.cpp:683)
==30101== 
==30101== 64 bytes in 1 blocks are still reachable in loss record 112 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x506634: allocate (new_allocator.h:104)
==30101==    by 0x506634: _M_allocate_map (stl_deque.h:549)
==30101==    by 0x506634: _M_initialize_map (stl_deque.h:594)
==30101==    by 0x506634: _Deque_base (stl_deque.h:458)
==30101==    by 0x506634: deque (stl_deque.h:788)
==30101==    by 0x506634: SocketServer::SocketServer() (SocketServer.cpp:24)
==30101==    by 0x4A8DF7: Server::initUnixServer() (Server.cpp:278)
==30101==    by 0x4A7461: Server::init(Server::Options const&) (Server.cpp:206)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 64 bytes in 2 blocks are still reachable in loss record 113 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F0E3F: _M_init_functor (functional:1955)
==30101==    by 0x4F0E3F: _M_init_functor (functional:1926)
==30101==    by 0x4F0E3F: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)>, void> (functional:2426)
==30101==    by 0x4F0E3F: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)>, void> (stl_pair.h:151)
==30101==    by 0x4F0E3F: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > > (new_allocator.h:120)
==30101==    by 0x4F0E3F: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > > (alloc_traits.h:253)
==30101==    by 0x4F0E3F: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > > (alloc_traits.h:399)
==30101==    by 0x4F0E3F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > > (stl_tree.h:421)
==30101==    by 0x4F0E3F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x4F0E3F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4EC766: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4EC766: unsigned int Signal<std::function<void (std::shared_ptr<SocketClient> const&)> >::connect<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (std::shared_ptr<Connection>, std::_Placeholder<1>)> >(std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (std::shared_ptr<Connection>, std::_Placeholder<1>)>&&) (SignalSlot.h:22)
==30101==    by 0x4EC17A: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:30)
==30101==    by 0x4ABB50: Connection::create(std::shared_ptr<SocketClient> const&, int) (Connection.h:27)
==30101==    by 0x4A98FF: Server::onNewConnection(SocketServer*) (Server.cpp:360)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 64 bytes in 2 blocks are still reachable in loss record 114 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F0B7F: _M_init_functor (functional:1955)
==30101==    by 0x4F0B7F: _M_init_functor (functional:1926)
==30101==    by 0x4F0B7F: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x4F0B7F: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:151)
==30101==    by 0x4F0B7F: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
==30101==    by 0x4F0B7F: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
==30101==    by 0x4F0B7F: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
==30101==    by 0x4F0B7F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
==30101==    by 0x4F0B7F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
==30101==    by 0x4F0B7F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4EC976: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
==30101==    by 0x4EC976: unsigned int Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::connect<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >(std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>&&) (SignalSlot.h:22)
==30101==    by 0x4EC25E: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:31)
==30101==    by 0x4ABB50: Connection::create(std::shared_ptr<SocketClient> const&, int) (Connection.h:27)
==30101==    by 0x4A98FF: Server::onNewConnection(SocketServer*) (Server.cpp:360)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 64 bytes in 2 blocks are still reachable in loss record 115 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F08BF: _M_init_functor (functional:1955)
==30101==    by 0x4F08BF: _M_init_functor (functional:1926)
==30101==    by 0x4F08BF: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x4F08BF: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:151)
==30101==    by 0x4F08BF: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
==30101==    by 0x4F08BF: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
==30101==    by 0x4F08BF: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
==30101==    by 0x4F08BF: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
==30101==    by 0x4F08BF: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
==30101==    by 0x4F08BF: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4ED0A6: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
==30101==    by 0x4ED0A6: unsigned int Signal<std::function<void (std::shared_ptr<SocketClient> const&, int)> >::connect<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >(std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>&&) (SignalSlot.h:22)
==30101==    by 0x4EC342: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:32)
==30101==    by 0x4ABB50: Connection::create(std::shared_ptr<SocketClient> const&, int) (Connection.h:27)
==30101==    by 0x4A98FF: Server::onNewConnection(SocketServer*) (Server.cpp:360)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 64 bytes in 2 blocks are still reachable in loss record 116 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4F05FF: _M_init_functor (functional:1955)
==30101==    by 0x4F05FF: _M_init_functor (functional:1926)
==30101==    by 0x4F05FF: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
==30101==    by 0x4F05FF: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:151)
==30101==    by 0x4F05FF: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
==30101==    by 0x4F05FF: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
==30101==    by 0x4F05FF: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
==30101==    by 0x4F05FF: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
==30101==    by 0x4F05FF: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
==30101==    by 0x4F05FF: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4ED2C6: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
==30101==    by 0x4ED2C6: unsigned int Signal<std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> >::connect<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)> >(std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (std::shared_ptr<Connection>, std::_Placeholder<1>, std::_Placeholder<2>)>&&) (SignalSlot.h:22)
==30101==    by 0x4EC426: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:33)
==30101==    by 0x4ABB50: Connection::create(std::shared_ptr<SocketClient> const&, int) (Connection.h:27)
==30101==    by 0x4A98FF: Server::onNewConnection(SocketServer*) (Server.cpp:360)
==30101==    by 0x50748A: operator() (functional:2439)
==30101==    by 0x50748A: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
==30101==    by 0x507125: SocketServer::socketCallback(int, int) (SocketServer.cpp:220)
==30101==    by 0x4F35B8: operator() (functional:2439)
==30101==    by 0x4F35B8: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
==30101==    by 0x4F3351: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
==30101==    by 0x4F3845: EventLoop::exec(int) (EventLoop.cpp:941)
==30101==    by 0x431BEE: main (rdm.cpp:729)
==30101== 
==30101== 67 bytes in 1 blocks are possibly lost in loss record 117 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
==30101==    by 0x4A6ADD: String (String.h:43)
==30101==    by 0x4A6ADD: Path (Path.h:18)
==30101==    by 0x4A6ADD: Include (Source.h:103)
==30101==    by 0x4A6ADD: Server::init(Server::Options const&) (Server.cpp:192)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 118 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x4C69FF: allocate (new_allocator.h:104)
==30101==    by 0x4C69FF: allocate (alloc_traits.h:357)
==30101==    by 0x4C69FF: _M_get_node (stl_tree.h:385)
==30101==    by 0x4C69FF: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x4C69FF: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x4C69FF: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (SocketServer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (SocketServer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4A750F: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4A750F: connect<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4A750F: Server::init(Server::Options const&) (Server.cpp:218)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 119 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511CD8: allocate (new_allocator.h:104)
==30101==    by 0x511CD8: allocate (alloc_traits.h:357)
==30101==    by 0x511CD8: _M_get_node (stl_tree.h:385)
==30101==    by 0x511CD8: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:417)
==30101==    by 0x511CD8: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1143)
==30101==    by 0x511CD8: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1501)
==30101==    by 0x511CD8: insert<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)>, void> (stl_map.h:638)
==30101==    by 0x511CD8: connect<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> (SignalSlot.h:22)
==30101==    by 0x511CD8: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:13)
==30101==    by 0x4816C3: Project::Project(Path const&) (Project.cpp:243)
==30101==    by 0x4AB7EB: Server::addProject(Path const&) (Server.cpp:306)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 120 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x511CD8: allocate (new_allocator.h:104)
==30101==    by 0x511CD8: allocate (alloc_traits.h:357)
==30101==    by 0x511CD8: _M_get_node (stl_tree.h:385)
==30101==    by 0x511CD8: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:417)
==30101==    by 0x511CD8: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1143)
==30101==    by 0x511CD8: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> > (stl_tree.h:1501)
==30101==    by 0x511CD8: insert<std::pair<unsigned int, (lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)>, void> (stl_map.h:638)
==30101==    by 0x511CD8: connect<(lambda at /home/pek/packages/rtags/src/rct/rct/FileSystemWatcher_inotify.cpp:13:30)> (SignalSlot.h:22)
==30101==    by 0x511CD8: FileSystemWatcher::FileSystemWatcher() (FileSystemWatcher_inotify.cpp:13)
==30101==    by 0x45F6B7: FileManager::FileManager() (FileManager.cpp:24)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 121 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462D9F: allocate (new_allocator.h:104)
==30101==    by 0x462D9F: allocate (alloc_traits.h:357)
==30101==    by 0x462D9F: _M_get_node (stl_tree.h:385)
==30101==    by 0x462D9F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x462D9F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462D9F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F734: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F734: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F734: FileManager::FileManager() (FileManager.cpp:25)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 122 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462D9F: allocate (new_allocator.h:104)
==30101==    by 0x462D9F: allocate (alloc_traits.h:357)
==30101==    by 0x462D9F: _M_get_node (stl_tree.h:385)
==30101==    by 0x462D9F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x462D9F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462D9F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F7A4: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F7A4: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F7A4: FileManager::FileManager() (FileManager.cpp:26)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 123 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x462BCF: allocate (new_allocator.h:104)
==30101==    by 0x462BCF: allocate (alloc_traits.h:357)
==30101==    by 0x462BCF: _M_get_node (stl_tree.h:385)
==30101==    by 0x462BCF: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x462BCF: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x462BCF: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x45F807: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x45F807: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x45F807: FileManager::FileManager() (FileManager.cpp:27)
==30101==    by 0x4823B2: Project::init() (Project.cpp:287)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 124 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA6F: allocate (new_allocator.h:104)
==30101==    by 0x49BA6F: allocate (alloc_traits.h:357)
==30101==    by 0x49BA6F: _M_get_node (stl_tree.h:385)
==30101==    by 0x49BA6F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x49BA6F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA6F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4824DD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4824DD: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4824DD: Project::init() (Project.cpp:289)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 125 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA6F: allocate (new_allocator.h:104)
==30101==    by 0x49BA6F: allocate (alloc_traits.h:357)
==30101==    by 0x49BA6F: _M_get_node (stl_tree.h:385)
==30101==    by 0x49BA6F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x49BA6F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA6F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x482555: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x482555: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x482555: Project::init() (Project.cpp:290)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 126 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49BA6F: allocate (new_allocator.h:104)
==30101==    by 0x49BA6F: allocate (alloc_traits.h:357)
==30101==    by 0x49BA6F: _M_get_node (stl_tree.h:385)
==30101==    by 0x49BA6F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
==30101==    by 0x49BA6F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
==30101==    by 0x49BA6F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
==30101==    by 0x4825D4: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
==30101==    by 0x4825D4: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
==30101==    by 0x4825D4: Project::init() (Project.cpp:291)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 127 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49B89F: allocate (new_allocator.h:104)
==30101==    by 0x49B89F: allocate (alloc_traits.h:357)
==30101==    by 0x49B89F: _M_get_node (stl_tree.h:385)
==30101==    by 0x49B89F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:417)
==30101==    by 0x49B89F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:1143)
==30101==    by 0x49B89F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> >&&) (stl_tree.h:1501)
==30101==    by 0x48265E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> >, void> (stl_map.h:638)
==30101==    by 0x48265E: connect<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > (SignalSlot.h:22)
==30101==    by 0x48265E: Project::init() (Project.cpp:294)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 
==30101== 72 bytes in 1 blocks are still reachable in loss record 128 of 334
==30101==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30101==    by 0x49B89F: allocate (new_allocator.h:104)
==30101==    by 0x49B89F: allocate (alloc_traits.h:357)
==30101==    by 0x49B89F: _M_get_node (stl_tree.h:385)
==30101==    by 0x49B89F: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:417)
==30101==    by 0x49B89F: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > > (stl_tree.h:1143)
==30101==    by 0x49B89F: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project*)> >&&) (stl_tree.h:1501)
==30101==    by 0x4826D6: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> >, void> (stl_map.h:638)
==30101==    by 0x4826D6: connect<std::_Bind<std::_Mem_fn<void (Project::*)()> (Project *)> > (SignalSlot.h:22)
==30101==    by 0x4826D6: Project::init() (Project.cpp:295)
==30101==    by 0x4AB7FE: Server::addProject(Path const&) (Server.cpp:307)
==30101==    by 0x4AA294: Server::reloadProjects() (Server.cpp:337)
==30101==    by 0x4A7529: Server::init(Server::Options const&) (Server.cpp:219)
==30101==    by 0x431AED: main (rdm.cpp:718)
==30101== 

<snip>

==30101== LEAK SUMMARY:
==30101==    definitely lost: 177,520 bytes in 720 blocks
==30101==    indirectly lost: 1,973,648 bytes in 10,077 blocks
==30101==      possibly lost: 13,124,359 bytes in 167,965 blocks
==30101==    still reachable: 9,541,816 bytes in 163,294 blocks
==30101==         suppressed: 0 bytes in 0 blocks
==30101== 
==30101== For counts of detected and suppressed errors, rerun with: -v
==30101== ERROR SUMMARY: 76 errors from 76 contexts (suppressed: 0 from 0)
Killed
Andersbakken commented 9 years ago

Hi

Can you still reproduce this? I've made some fixes that should take care of the leaks that valgrind reports and refactored some other code. Any chance you could do another valgrind run?

pekenator commented 9 years ago

Hi,

Yeah, I still get a crash with the latest rtags from github. I will try to run it with valgrind again but it will be in 2-3 weeks I'm afraid (vacation..).

Thanks.

Andersbakken commented 9 years ago

No worries. Have a nice trip.

Anders

On Wed, Aug 5, 2015 at 6:56 AM, pekenator notifications@github.com wrote:

Hi,

Yeah, I still get a crash with the latest rtags from github. I will try to run it with valgrind again but it will be in 2-3 weeks I'm afraid (vacation..).

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Andersbakken/rtags/issues/369#issuecomment-128004416.

pekenator commented 9 years ago

Hi,

This is from rdm built from git today. Output is split because it's too large to fit in these comments.

└─[$ valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes /usr/local/bin/rdm
Memcheck, a memory error detector
Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
Command: /usr/local/bin/rdm
==21435==
Invalid read of size 8
   at 0x4D1E03: _S_right (stl_tree.h:553)
   by 0x4D1E03: std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less<String>, std::allocator<std::pair<String const, Value> > >::_M_erase(std::_Rb_tree_node<std::pair<String const, Value> >*) (stl_tree.h:1245)
 Address 0x23 is not stack'd, malloc'd or (recently) free'd
==21435==
==21435==
Process terminating with default action of signal 11 (SIGSEGV)
 Access not within mapped region at address 0x23
   at 0x4D1E03: _S_right (stl_tree.h:553)
   by 0x4D1E03: std::_Rb_tree<String, std::pair<String const, Value>, std::_Select1st<std::pair<String const, Value> >, std::less<String>, std::allocator<std::pair<String const, Value> > >::_M_erase(std::_Rb_tree_node<std::pair<String const, Value> >*) (stl_tree.h:1245)
 If you believe this happened as a result of a stack
 overflow in your program's main thread (unlikely but
 possible), you can try to increase the size of the
 main thread stack using the --main-stacksize= flag.
 The main thread stack size used in this run was 8388608.
==21435==
FILE DESCRIPTORS: 26 open at exit.
Open AF_UNIX socket 15: /home/pek/.rdm
   at 0x640A03D: ??? (syscall-template.S:81)
   by 0x50E472: SocketServer::socketCallback(int, int) (SocketServer.cpp:203)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open AF_UNIX socket 14: /home/pek/.rdm
   at 0x640A03D: ??? (syscall-template.S:81)
   by 0x50E472: SocketServer::socketCallback(int, int) (SocketServer.cpp:203)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open AF_UNIX socket 7: /home/pek/.rdm
   at 0x640A03D: ??? (syscall-template.S:81)
   by 0x50E472: SocketServer::socketCallback(int, int) (SocketServer.cpp:203)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 26:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x505417: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:343)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 19:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053F7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:342)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 17:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053D7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:341)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 29:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x505417: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:343)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 24:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053F7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:342)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 21:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053D7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:341)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open AF_UNIX socket 11: /home/pek/.rdm
   at 0x640A03D: ??? (syscall-template.S:81)
   by 0x50E472: SocketServer::socketCallback(int, int) (SocketServer.cpp:203)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 28:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x505417: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:343)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 22:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053F7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:342)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 20:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053D7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:341)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open AF_UNIX socket 12: /home/pek/.rdm
   at 0x640A03D: ??? (syscall-template.S:81)
   by 0x50E472: SocketServer::socketCallback(int, int) (SocketServer.cpp:203)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 27:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x505417: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:343)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 23:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053F7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:342)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 18:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x5053D7: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:341)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
Open file descriptor 10:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x503F67: ProcessThread (Process.cpp:80)
   by 0x503F67: ProcessThread::installProcessHandler() (Process.cpp:218)
   by 0x640872F: pthread_once (pthread_once.S:103)
   by 0x504226: __gthread_once (gthr-default.h:699)
   by 0x504226: call_once<void (&)()> (mutex:746)
   by 0x504226: Process::Process() (Process.cpp:226)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
Open file descriptor 9:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x503F67: ProcessThread (Process.cpp:80)
   by 0x503F67: ProcessThread::installProcessHandler() (Process.cpp:218)
   by 0x640872F: pthread_once (pthread_once.S:103)
   by 0x504226: __gthread_once (gthr-default.h:699)
   by 0x504226: call_once<void (&)()> (mutex:746)
   by 0x504226: Process::Process() (Process.cpp:226)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
Open AF_UNIX socket 6: /home/pek/.rdm
   at 0x7638E77: socket (syscall-template.S:81)
   by 0x50E095: SocketServer::listen(Path const&) (SocketServer.cpp:103)
   by 0x4AE66E: Server::initUnixServer() (Server.cpp:241)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
Open file descriptor 5:
   at 0x7638247: epoll_create1 (syscall-template.S:81)
   by 0x4F9285: EventLoop::init(unsigned int) (EventLoop.cpp:123)
   by 0x431AD9: main (rdm.cpp:689)
==21435==
Open file descriptor 4:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x4F9253: EventLoop::init(unsigned int) (EventLoop.cpp:110)
   by 0x431AD9: main (rdm.cpp:689)
==21435==
Open file descriptor 3:
   at 0x7629CD7: pipe (syscall-template.S:81)
   by 0x4F9253: EventLoop::init(unsigned int) (EventLoop.cpp:110)
   by 0x431AD9: main (rdm.cpp:689)
==21435==
Open file descriptor 2: /dev/pts/12
   <inherited from parent>
==21435==
Open file descriptor 1: /dev/pts/12
   <inherited from parent>
==21435==
Open file descriptor 0: /dev/pts/12
   <inherited from parent>
==21435==
==21435==
HEAP SUMMARY:
    in use at exit: 24,630,902 bytes in 331,344 blocks
  total heap usage: 3,597,667 allocs, 3,266,323 frees, 572,938,413 bytes allocated
==21435==
8 bytes in 1 blocks are still reachable in loss record 1 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80DF6FD: void* llvm::object_creator<std::string>() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB8723: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
8 bytes in 1 blocks are still reachable in loss record 2 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x444537: allocate (new_allocator.h:104)
   by 0x444537: allocate (alloc_traits.h:357)
   by 0x444537: _M_allocate (stl_vector.h:170)
   by 0x444537: void std::vector<char*, std::allocator<char*> >::_M_emplace_back_aux<char* const&>(char* const&) (vector.tcc:412)
   by 0x42E9C0: push_back (stl_vector.h:923)
   by 0x42E9C0: append (List.h:52)
   by 0x42E9C0: main (rdm.cpp:297)
==21435==
8 bytes in 1 blocks are still reachable in loss record 3 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F219B: registerMessage<IndexMessage> (Message.h:41)
   by 0x4F219B: RTags::initMessages() (RTags.cpp:338)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 4 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F2206: registerMessage<IndexDataMessage> (Message.h:41)
   by 0x4F2206: RTags::initMessages() (RTags.cpp:339)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 5 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F2271: registerMessage<LogOutputMessage> (Message.h:41)
   by 0x4F2271: RTags::initMessages() (RTags.cpp:340)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 6 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F22DC: registerMessage<QueryMessage> (Message.h:41)
   by 0x4F22DC: RTags::initMessages() (RTags.cpp:341)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 7 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F2347: registerMessage<VisitFileMessage> (Message.h:41)
   by 0x4F2347: RTags::initMessages() (RTags.cpp:342)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 8 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F23B2: registerMessage<VisitFileResponseMessage> (Message.h:41)
   by 0x4F23B2: RTags::initMessages() (RTags.cpp:343)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 9 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FC25E: _M_init_functor (functional:1955)
   by 0x4FC25E: _M_init_functor (functional:1926)
   by 0x4FC25E: function<(lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30), void> (functional:2426)
   by 0x4FC25E: pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30), void> (stl_pair.h:152)
   by 0x4FC25E: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (new_allocator.h:120)
   by 0x4FC25E: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (alloc_traits.h:253)
   by 0x4FC25E: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (alloc_traits.h:399)
   by 0x4FC25E: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:421)
   by 0x4FC25E: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:1143)
   by 0x4FC25E: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:1501)
   by 0x4FC25E: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)>, void> (stl_map.h:638)
   by 0x4FC25E: connect<(lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> (SignalSlot.h:22)
   by 0x4FC25E: FileSystemWatcher::FileSystemWatcher(FileSystemWatcher::Options const&) (FileSystemWatcher.cpp:7)
   by 0x481257: Project::Project(Path const&) (Project.cpp:242)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
8 bytes in 1 blocks are still reachable in loss record 10 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FF6F8: Message::create(int, char const*, int) (Message.cpp:76)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
8 bytes in 1 blocks are still reachable in loss record 11 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FF729: Message::create(int, char const*, int) (Message.cpp:77)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
8 bytes in 1 blocks are still reachable in loss record 12 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FF75A: Message::create(int, char const*, int) (Message.cpp:78)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
8 bytes in 1 blocks are still reachable in loss record 13 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x443637: allocate (new_allocator.h:104)
   by 0x443637: allocate (alloc_traits.h:357)
   by 0x443637: _M_allocate (stl_vector.h:170)
   by 0x443637: void std::vector<unsigned long, std::allocator<unsigned long> >::_M_emplace_back_aux<unsigned long const&>(unsigned long const&) (vector.tcc:412)
   by 0x434F5C: push_back (stl_vector.h:923)
   by 0x434F5C: std::__detail::_NFA<std::regex_traits<char> >::_M_insert_subexpr_begin() (regex_automaton.h:197)
   by 0x4348C8: std::__detail::_Compiler<std::regex_traits<char> >::_Compiler(char const*, char const*, std::regex_traits<char> const&, std::regex_constants::syntax_option_type) (regex_compiler.tcc:81)
   by 0x434511: __compile_nfa<std::regex_traits<char> > (regex_compiler.h:155)
   by 0x434511: std::basic_regex<char, std::regex_traits<char> >& std::basic_regex<char, std::regex_traits<char> >::assign<std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::regex_constants::syntax_option_type) (regex.h:681)
   by 0x4D1D8D: imbue (regex.h:748)
   by 0x4D1D8D: std::basic_regex<char, std::regex_traits<char> >::assign(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:625)
   by 0x4D1C65: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
   by 0x4C5D55: Match::operator=(Match&&) (Match.h:24)
   by 0x4C58CB: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1219)
   by 0x4C36F6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1047)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
==21435==
16 bytes in 1 blocks are still reachable in loss record 14 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7F04AAA: void std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_emplace_back_aux<llvm::PassRegistrationListener* const&>(llvm::PassRegistrationListener* const&) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04C1D: llvm::PassRegistry::addRegistrationListener(llvm::PassRegistrationListener*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB4604: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
16 bytes in 1 blocks are still reachable in loss record 15 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80CC6D9: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB80F8: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
16 bytes in 1 blocks are still reachable in loss record 16 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7EE93BA: void* llvm::object_creator<llvm::sys::SmartMutex<true> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80B9CF7: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
16 bytes in 1 blocks are still reachable in loss record 17 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F93F0: localEventLoop (EventLoop.cpp:70)
   by 0x4F93F0: EventLoop::init(unsigned int) (EventLoop.cpp:182)
   by 0x431AD9: main (rdm.cpp:689)
==21435==
16 bytes in 1 blocks are still reachable in loss record 18 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x433C5F: allocate (new_allocator.h:104)
   by 0x433C5F: allocate (alloc_traits.h:357)
   by 0x433C5F: _M_allocate (stl_vector.h:170)
   by 0x433C5F: void std::vector<Source::Include, std::allocator<Source::Include> >::_M_emplace_back_aux<Source::Include const&>(Source::Include const&) (vector.tcc:412)
   by 0x4AC54C: push_back (stl_vector.h:923)
   by 0x4AC54C: append (List.h:52)
   by 0x4AC54C: Server::init(Server::Options const&) (Server.cpp:156)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
16 bytes in 1 blocks are still reachable in loss record 19 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80CC7B1: llvm::sys::process::get_self() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C59EA: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C5D35: llvm::MemoryBuffer::getFile(llvm::Twine, long, bool, bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x502721A: ??? (in /usr/lib/x86_64-linux-gnu/libclang-3.5.so.1)
   by 0x5027545: ??? (in /usr/lib/x86_64-linux-gnu/libclang-3.5.so.1)
   by 0x502529F: ??? (in /usr/lib/x86_64-linux-gnu/libclang-3.5.so.1)
   by 0x4FB7AD2: clang_CompilationDatabase_fromDirectory (in /usr/lib/x86_64-linux-gnu/libclang-3.5.so.1)
   by 0x4B1FB8: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:497)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
21 bytes in 1 blocks are still reachable in loss record 20 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
22 bytes in 1 blocks are still reachable in loss record 21 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD33AB: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
22 bytes in 1 blocks are still reachable in loss record 22 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD33C3: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
22 bytes in 1 blocks are still reachable in loss record 23 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3482: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
23 bytes in 1 blocks are still reachable in loss record 24 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD33DE: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
23 bytes in 1 blocks are still reachable in loss record 25 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD346A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
24 bytes in 1 blocks are still reachable in loss record 26 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD33F2: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
24 bytes in 1 blocks are still reachable in loss record 27 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD340A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
24 bytes in 1 blocks are still reachable in loss record 28 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD343A: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
24 bytes in 1 blocks are still reachable in loss record 29 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3452: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
24 bytes in 1 blocks are still reachable in loss record 30 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FD5A5: __shared_count<StderrOutput *> (shared_ptr_base.h:569)
   by 0x4FD5A5: __shared_ptr<StderrOutput> (shared_ptr_base.h:871)
   by 0x4FD5A5: shared_ptr<StderrOutput> (shared_ptr.h:113)
   by 0x4FD5A5: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:232)
   by 0x431813: main (rdm.cpp:667)
==21435==
24 bytes in 1 blocks are still reachable in loss record 31 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x431851: __shared_count<EventLoop *> (shared_ptr_base.h:569)
   by 0x431851: __shared_ptr<EventLoop> (shared_ptr_base.h:871)
   by 0x431851: shared_ptr<EventLoop> (shared_ptr.h:113)
   by 0x431851: main (rdm.cpp:688)
==21435==
24 bytes in 1 blocks are still reachable in loss record 32 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x431AFD: __shared_count<Server *> (shared_ptr_base.h:569)
   by 0x431AFD: __shared_ptr<Server> (shared_ptr_base.h:871)
   by 0x431AFD: shared_ptr<Server> (shared_ptr.h:113)
   by 0x431AFD: main (rdm.cpp:691)
==21435==
24 bytes in 1 blocks are still reachable in loss record 33 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AE34E: __shared_count<SocketServer *> (shared_ptr_base.h:569)
   by 0x4AE34E: __shared_ptr<SocketServer> (shared_ptr_base.h:871)
   by 0x4AE34E: reset<SocketServer> (shared_ptr_base.h:1023)
   by 0x4AE34E: Server::initUnixServer() (Server.cpp:239)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 34 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50E218: _M_init_functor (functional:1955)
   by 0x50E218: _M_init_functor (functional:1926)
   by 0x50E218: function<std::_Bind<std::_Mem_fn<void (SocketServer::*)(int, int)> (SocketServer *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x50E218: SocketServer::commonListen() (SocketServer.cpp:159)
   by 0x50E111: commonBindAndListen (SocketServer.cpp:142)
   by 0x50E111: SocketServer::listen(Path const&) (SocketServer.cpp:118)
   by 0x4AE66E: Server::initUnixServer() (Server.cpp:241)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 35 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AE6F4: __shared_count<JobScheduler *> (shared_ptr_base.h:569)
   by 0x4AE6F4: __shared_ptr<JobScheduler> (shared_ptr_base.h:871)
   by 0x4AE6F4: void std::__shared_ptr<JobScheduler, (__gnu_cxx::_Lock_policy)2>::reset<JobScheduler>(JobScheduler*) (shared_ptr_base.h:1023)
   by 0x4ACD9D: Server::init(Server::Options const&) (Server.cpp:177)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 36 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5189AC: _M_init_functor (functional:1955)
   by 0x5189AC: _M_init_functor (functional:1926)
   by 0x5189AC: function<std::_Bind<std::_Mem_fn<void (FileSystemWatcher::*)()> (FileSystemWatcher *)>, void> (functional:2426)
   by 0x5189AC: FileSystemWatcher::init() (FileSystemWatcher_inotify.cpp:15)
   by 0x4FC192: FileSystemWatcher::FileSystemWatcher(FileSystemWatcher::Options const&) (FileSystemWatcher.cpp:6)
   by 0x481257: Project::Project(Path const&) (Project.cpp:242)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 37 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4B11B4: __shared_count<Project *> (shared_ptr_base.h:569)
   by 0x4B11B4: __shared_ptr<Project> (shared_ptr_base.h:871)
   by 0x4B11B4: void std::__shared_ptr<Project, (__gnu_cxx::_Lock_policy)2>::reset<Project>(Project*) (shared_ptr_base.h:1023)
   by 0x4AED2F: addProject (Server.cpp:267)
   by 0x4AED2F: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 38 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FED: _M_init_functor (functional:1955)
   by 0x4A0FED: _M_init_functor (functional:1926)
   by 0x4A0FED: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0FED: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0FED: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0FED: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0FED: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FED: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482ADB: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482ADB: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482ADB: Project::init() (Project.cpp:304)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 39 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FED: _M_init_functor (functional:1955)
   by 0x4A0FED: _M_init_functor (functional:1926)
   by 0x4A0FED: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0FED: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0FED: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0FED: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0FED: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FED: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482B5C: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482B5C: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482B5C: Project::init() (Project.cpp:305)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 40 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FED: _M_init_functor (functional:1955)
   by 0x4A0FED: _M_init_functor (functional:1926)
   by 0x4A0FED: function<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0FED: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0FED: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0FED: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0FED: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0FED: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FED: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482BDD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482BDD: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482BDD: Project::init() (Project.cpp:306)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 41 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x461A2D: _M_init_functor (functional:1955)
   by 0x461A2D: _M_init_functor (functional:1926)
   by 0x461A2D: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x461A2D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x461A2D: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x461A2D: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x461A2D: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x461A2D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x461A2D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x461A2D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x45E070: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x45E070: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x45E070: FileManager::FileManager(std::shared_ptr<Project> const&) (FileManager.cpp:25)
   by 0x482C5B: Project::init() (Project.cpp:308)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 42 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x486174: __shared_count<FileManager *> (shared_ptr_base.h:569)
   by 0x486174: __shared_ptr<FileManager> (shared_ptr_base.h:871)
   by 0x486174: void std::__shared_ptr<FileManager, (__gnu_cxx::_Lock_policy)2>::reset<FileManager>(FileManager*) (shared_ptr_base.h:1023)
   by 0x482C66: Project::init() (Project.cpp:308)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 43 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0D5D: _M_init_functor (functional:1955)
   by 0x4A0D5D: _M_init_functor (functional:1926)
   by 0x4A0D5D: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0D5D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0D5D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0D5D: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0D5D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0D5D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0D5D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0D5D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482D45: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482D45: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482D45: Project::init() (Project.cpp:309)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 44 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0D5D: _M_init_functor (functional:1955)
   by 0x4A0D5D: _M_init_functor (functional:1926)
   by 0x4A0D5D: function<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0D5D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0D5D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0D5D: _S_construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0D5D: construct<std::pair<const unsigned int, std::function<void (const Path &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0D5D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0D5D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0D5D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482DCD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482DCD: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482DCD: Project::init() (Project.cpp:310)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 45 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0B8D: _M_init_functor (functional:1955)
   by 0x4A0B8D: _M_init_functor (functional:1926)
   by 0x4A0B8D: function<std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4A0B8D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4A0B8D: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4A0B8D: _S_construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4A0B8D: construct<std::pair<const unsigned int, std::function<void (Timer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4A0B8D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4A0B8D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0B8D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482E4E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482E4E: connect<std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482E4E: Project::init() (Project.cpp:313)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 46 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF7DD: _M_init_functor (functional:1955)
   by 0x4CF7DD: _M_init_functor (functional:1926)
   by 0x4CF7DD: function<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4CF7DD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4CF7DD: construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4CF7DD: _S_construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4CF7DD: construct<std::pair<const unsigned int, std::function<void (SocketServer *)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4CF7DD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4CF7DD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4CF7DD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (SocketServer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (SocketServer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x4ACE13: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x4ACE13: connect<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x4ACE13: Server::init(Server::Options const&) (Server.cpp:180)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24 bytes in 1 blocks are still reachable in loss record 47 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50D92E: _M_clone (functional:1879)
   by 0x50D92E: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
   by 0x4FAC1F: function (functional:2412)
   by 0x4FAC1F: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:682)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
24 bytes in 1 blocks are still reachable in loss record 48 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F847E: _M_clone (functional:1879)
   by 0x4F847E: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
   by 0x50D424: function (functional:2412)
   by 0x50D424: pair (stl_pair.h:127)
   by 0x50D424: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (new_allocator.h:120)
   by 0x50D424: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (alloc_traits.h:253)
   by 0x50D424: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (alloc_traits.h:399)
   by 0x50D424: _M_create_node<const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (stl_tree.h:421)
   by 0x50D424: _M_clone_node (stl_tree.h:445)
   by 0x50D424: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >*) (stl_tree.h:1207)
   by 0x50CFFC: operator= (stl_tree.h:1117)
   by 0x50CFFC: operator= (stl_map.h:295)
   by 0x50CFFC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:66)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
24 bytes in 1 blocks are still reachable in loss record 49 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FF7F2: __shared_count<Message *> (shared_ptr_base.h:569)
   by 0x4FF7F2: __shared_ptr<Message> (shared_ptr_base.h:871)
   by 0x4FF7F2: shared_ptr<Message> (shared_ptr.h:113)
   by 0x4FF7F2: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
24 bytes in 1 blocks are still reachable in loss record 50 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF12E: _M_clone (functional:1879)
   by 0x4CF12E: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (functional:1914)
   by 0x4F7824: function (functional:2412)
   by 0x4F7824: pair (stl_pair.h:127)
   by 0x4F7824: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (new_allocator.h:120)
   by 0x4F7824: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (alloc_traits.h:253)
   by 0x4F7824: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (alloc_traits.h:399)
   by 0x4F7824: _M_create_node<const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (stl_tree.h:421)
   by 0x4F7824: _M_clone_node (stl_tree.h:445)
   by 0x4F7824: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >*) (stl_tree.h:1207)
   by 0x4F6AAC: operator= (stl_tree.h:1117)
   by 0x4F6AAC: operator= (stl_map.h:295)
   by 0x4F6AAC: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:66)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
25 bytes in 1 blocks are still reachable in loss record 51 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9D42: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3422: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
29 bytes in 1 blocks are possibly lost in loss record 52 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x7CC4608: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
29 bytes in 1 blocks are possibly lost in loss record 53 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x7CCAD24: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
30 bytes in 1 blocks are possibly lost in loss record 54 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x7CC73E1: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
30 bytes in 1 blocks are possibly lost in loss record 55 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4ABE9B: String (String.h:28)
   by 0x4ABE9B: Server::init(Server::Options const&) (Server.cpp:122)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
31 bytes in 1 blocks are possibly lost in loss record 56 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x432F0F: String::split(char, unsigned int) const (String.h:580)
   by 0x42F28F: main (rdm.cpp:349)
==21435==
32 bytes in 1 blocks are still reachable in loss record 57 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7F05054: llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3022: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
32 bytes in 1 blocks are still reachable in loss record 58 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80B9B3D: void* llvm::object_creator<llvm::StringMap<void*, llvm::MallocAllocator> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80B9D27: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
32 bytes in 1 blocks are still reachable in loss record 59 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44439D: allocate (new_allocator.h:104)
   by 0x44439D: allocate (alloc_traits.h:357)
   by 0x44439D: _M_allocate (stl_vector.h:170)
   by 0x44439D: void std::vector<String, std::allocator<String> >::_M_emplace_back_aux<String const&>(String const&) (vector.tcc:412)
   by 0x432EAA: push_back (stl_vector.h:923)
   by 0x432EAA: append (List.h:52)
   by 0x432EAA: String::split(char, unsigned int) const (String.h:576)
   by 0x42F28F: main (rdm.cpp:349)
==21435==
32 bytes in 1 blocks are still reachable in loss record 60 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FD57E: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:232)
   by 0x431813: main (rdm.cpp:667)
==21435==
32 bytes in 1 blocks are still reachable in loss record 61 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4467A4: allocate (new_allocator.h:104)
   by 0x4467A4: allocate (alloc_traits.h:357)
   by 0x4467A4: _M_allocate (stl_vector.h:170)
   by 0x4467A4: _M_allocate_and_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > > > (stl_vector.h:1224)
   by 0x4467A4: std::vector<String, std::allocator<String> >::operator=(std::vector<String, std::allocator<String> > const&) (vector.tcc:194)
   by 0x4AD888: operator= (List.h:13)
   by 0x4AD888: Server::Options::operator=(Server::Options const&) (Server.h:78)
   by 0x4ABD7C: Server::init(Server::Options const&) (Server.cpp:117)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
32 bytes in 1 blocks are still reachable in loss record 62 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44439D: allocate (new_allocator.h:104)
   by 0x44439D: allocate (alloc_traits.h:357)
   by 0x44439D: _M_allocate (stl_vector.h:170)
   by 0x44439D: void std::vector<String, std::allocator<String> >::_M_emplace_back_aux<String const&>(String const&) (vector.tcc:412)
   by 0x4AC0A9: push_back (stl_vector.h:923)
   by 0x4AC0A9: append (List.h:52)
   by 0x4AC0A9: operator<< (List.h:359)
   by 0x4AC0A9: Server::init(Server::Options const&) (Server.cpp:126)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
32 bytes in 1 blocks are still reachable in loss record 63 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4D181E: allocate (new_allocator.h:104)
   by 0x4D181E: allocate (alloc_traits.h:357)
   by 0x4D181E: _M_allocate_node<const std::pair<const Path, unsigned int> &> (hashtable_policy.h:1951)
   by 0x4D181E: operator()<const std::pair<const Path, unsigned int> &> (hashtable_policy.h:156)
   by 0x4D181E: operator() (hashtable.h:917)
   by 0x4D181E: void std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign<std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2}>(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&, std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2} const&) (hashtable.h:960)
   by 0x4D16B6: std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&) (hashtable.h:915)
   by 0x4C66BD: operator= (unordered_map.h:224)
   by 0x4C66BD: operator= (Hash.h:22)
   by 0x4C66BD: Location::init(Hash<Path, unsigned int> const&) (Location.h:233)
   by 0x4AE9E8: Server::load() (Server.cpp:1568)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
32 bytes in 1 blocks are still reachable in loss record 64 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x503B20: callLater<(lambda at /home/pek/work/packages/rtags/src/rct/rct/Process.cpp:165:49)> (EventLoop.h:123)
   by 0x503B20: ProcessThread::run() (Process.cpp:165)
   by 0x50F351: Thread::localStart(void*) (Thread.cpp:19)
   by 0x64030A4: start_thread (pthread_create.c:309)
   by 0x7637CFC: clone (clone.S:111)
==21435==
32 bytes in 1 blocks are still reachable in loss record 65 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4EDBAA: allocate (new_allocator.h:104)
   by 0x4EDBAA: allocate (alloc_traits.h:357)
   by 0x4EDBAA: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4EDBAA: std::__detail::_Map_base<Path, std::pair<Path const, Path>, std::allocator<std::pair<Path const, Path> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x4E7AA1: operator[] (unordered_map.h:627)
   by 0x4E7AA1: operator[] (Hash.h:113)
   by 0x4E7AA1: resolveCompiler (Source.cpp:306)
   by 0x4E7AA1: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:614)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
32 bytes in 4 blocks are still reachable in loss record 66 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46E9A6: _M_init_functor (functional:1955)
   by 0x46E9A6: _M_init_functor (functional:1926)
   by 0x46E9A6: function<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44), void> (functional:2426)
   by 0x46E9A6: pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44), void> (stl_pair.h:152)
   by 0x46E9A6: construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (new_allocator.h:120)
   by 0x46E9A6: _S_construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (alloc_traits.h:253)
   by 0x46E9A6: construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (alloc_traits.h:399)
   by 0x46E9A6: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:421)
   by 0x46E9A6: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:1143)
   by 0x46E9A6: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:1501)
   by 0x46E9A6: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)>, void> (stl_map.h:638)
   by 0x46E9A6: connect<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> (SignalSlot.h:22)
   by 0x46E9A6: JobScheduler::startJobs() (JobScheduler.cpp:139)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
32 bytes in 1 blocks are possibly lost in loss record 67 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x7CC9A6E: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
32 bytes in 1 blocks are possibly lost in loss record 68 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4C36BA: String (String.h:28)
   by 0x4C36BA: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1045)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
35 bytes in 1 blocks are possibly lost in loss record 69 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x500984: String (String.h:28)
   by 0x500984: Path::resolve(Path::ResolveMode, Path const&, bool*) (Path.cpp:218)
   by 0x50260A: resolved (Path.cpp:109)
   by 0x50260A: Path::home() (Path.cpp:544)
   by 0x4F0C9E: RTags::findProjectRoot(Path const&, RTags::ProjectRootMode) (RTags.cpp:194)
   by 0x4E6910: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:592)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
39 bytes in 1 blocks are possibly lost in loss record 70 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B536F3: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B53D2D: std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444754: assign (String.h:65)
   by 0x444754: String String::format<128>(char const*, __va_list_tag*) (String.h:774)
   by 0x4333B5: String String::format<128>(char const*, ...) (String.h:758)
   by 0x42F14F: main (rdm.cpp:331)
==21435==
39 bytes in 1 blocks are possibly lost in loss record 71 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4EED9D: resize (basic_string.h:763)
   by 0x4EED9D: resize (String.h:323)
   by 0x4EED9D: operator>><String> (Serializer.h:463)
   by 0x4EED9D: QueryMessage::decode(Deserializer&) (QueryMessage.cpp:34)
   by 0x4F2E8B: Message::MessageCreator<QueryMessage>::create(char const*, int) (Message.h:61)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
39 bytes in 1 blocks are possibly lost in loss record 72 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54B9B: std::string::assign(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4EF341: operator= (basic_string.h:555)
   by 0x4EF341: operator= (String.h:56)
   by 0x4EF341: Match (Match.h:42)
   by 0x4EF341: QueryMessage::match() const (QueryMessage.cpp:55)
   by 0x4C36E6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1046)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
39 bytes in 1 blocks are possibly lost in loss record 73 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54B9B: std::string::assign(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4EF341: operator= (basic_string.h:555)
   by 0x4EF341: operator= (String.h:56)
   by 0x4EF341: Match (Match.h:42)
   by 0x4EF341: QueryMessage::match() const (QueryMessage.cpp:55)
   by 0x4C58BB: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1219)
   by 0x4C36F6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1047)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
40 bytes in 1 blocks are still reachable in loss record 74 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C493C: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49A0: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04363: llvm::PassRegistry::getPassRegistry() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3015: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 75 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3894: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 76 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB7FA4: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 77 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB8234: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 78 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD1684: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 79 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80C5F8F: llvm::sys::MutexImpl::MutexImpl(bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7EE93CA: void* llvm::object_creator<llvm::sys::SmartMutex<true> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80B9CF7: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
40 bytes in 1 blocks are still reachable in loss record 80 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF29A: allocate (new_allocator.h:104)
   by 0x4CF29A: allocate (alloc_traits.h:357)
   by 0x4CF29A: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4CF29A: std::__detail::_Map_base<Path, std::pair<Path const, std::shared_ptr<Project> >, std::allocator<std::pair<Path const, std::shared_ptr<Project> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x4AECFE: operator[] (unordered_map.h:627)
   by 0x4AECFE: operator[] (Hash.h:113)
   by 0x4AECFE: addProject (Server.cpp:265)
   by 0x4AECFE: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
40 bytes in 1 blocks are possibly lost in loss record 81 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4ABDCE: String (String.h:28)
   by 0x4ABDCE: Server::init(Server::Options const&) (Server.cpp:120)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
41 bytes in 1 blocks are possibly lost in loss record 82 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4AC038: String (String.h:28)
   by 0x4AC038: Server::init(Server::Options const&) (Server.cpp:126)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
43 bytes in 1 blocks are still reachable in loss record 83 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x457440: resize (basic_string.h:763)
   by 0x457440: resize (String.h:323)
   by 0x457440: operator>><String> (Serializer.h:463)
   by 0x457440: Deserializer& operator>><String>(Deserializer&, List<String>&) (Serializer.h:436)
   by 0x4A157D: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:335)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
43 bytes in 1 blocks are possibly lost in loss record 84 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B55525: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x7CC3D47: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
43 bytes in 1 blocks are possibly lost in loss record 85 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x508911: String (String.h:28)
   by 0x508911: Path (Path.h:26)
   by 0x508911: Rct::findExecutablePath(char const*) (Rct.cpp:213)
   by 0x42E5E3: main (rdm.cpp:164)
==21435==
48 bytes in 1 blocks are still reachable in loss record 86 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FE8AF: allocate (new_allocator.h:104)
   by 0x4FE8AF: allocate (alloc_traits.h:357)
   by 0x4FE8AF: _M_get_node (stl_tree.h:385)
   by 0x4FE8AF: _M_create_node<const std::shared_ptr<LogOutput> &> (stl_tree.h:417)
   by 0x4FE8AF: _M_insert_<const std::shared_ptr<LogOutput> &> (stl_tree.h:1143)
   by 0x4FE8AF: std::pair<std::_Rb_tree_iterator<std::shared_ptr<LogOutput> >, bool> std::_Rb_tree<std::shared_ptr<LogOutput>, std::shared_ptr<LogOutput>, std::_Identity<std::shared_ptr<LogOutput> >, std::less<std::shared_ptr<LogOutput> >, std::allocator<std::shared_ptr<LogOutput> > >::_M_insert_unique<std::shared_ptr<LogOutput> const&>(std::shared_ptr<LogOutput> const&) (stl_tree.h:1501)
   by 0x4FE0D9: insert (stl_set.h:502)
   by 0x4FE0D9: insert (Set.h:73)
   by 0x4FE0D9: LogOutput::add() (Log.cpp:302)
   by 0x4FD64E: initLogging(char const*, Flags<LogMode>, LogLevel, Path const&, Flags<LogFileFlag>) (Log.cpp:233)
   by 0x431813: main (rdm.cpp:667)
==21435==
48 bytes in 1 blocks are still reachable in loss record 87 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F2188: operator[] (Map.h:111)
   by 0x4F2188: registerMessage<IndexMessage> (Message.h:39)
   by 0x4F2188: RTags::initMessages() (RTags.cpp:338)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 88 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F21F3: operator[] (Map.h:111)
   by 0x4F21F3: registerMessage<IndexDataMessage> (Message.h:39)
   by 0x4F21F3: RTags::initMessages() (RTags.cpp:339)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 89 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F225E: operator[] (Map.h:111)
   by 0x4F225E: registerMessage<LogOutputMessage> (Message.h:39)
   by 0x4F225E: RTags::initMessages() (RTags.cpp:340)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 90 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F22C9: operator[] (Map.h:111)
   by 0x4F22C9: registerMessage<QueryMessage> (Message.h:39)
   by 0x4F22C9: RTags::initMessages() (RTags.cpp:341)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 91 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F2334: operator[] (Map.h:111)
   by 0x4F2334: registerMessage<VisitFileMessage> (Message.h:39)
   by 0x4F2334: RTags::initMessages() (RTags.cpp:342)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 92 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4F239F: operator[] (Map.h:111)
   by 0x4F239F: registerMessage<VisitFileResponseMessage> (Message.h:39)
   by 0x4F239F: RTags::initMessages() (RTags.cpp:343)
   by 0x4ABD6B: Server::init(Server::Options const&) (Server.cpp:115)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
48 bytes in 1 blocks are still reachable in loss record 93 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4FF71C: operator[] (Map.h:111)
   by 0x4FF71C: Message::create(int, char const*, int) (Message.cpp:76)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
48 bytes in 1 blocks are still reachable in loss record 94 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4FF74D: operator[] (Map.h:111)
   by 0x4FF74D: Message::create(int, char const*, int) (Message.cpp:77)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
48 bytes in 1 blocks are still reachable in loss record 95 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F259E: allocate (new_allocator.h:104)
   by 0x4F259E: allocate (alloc_traits.h:357)
   by 0x4F259E: _M_get_node (stl_tree.h:385)
   by 0x4F259E: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:417)
   by 0x4F259E: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const unsigned char &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4F259E: std::map<unsigned char, Message::MessageCreatorBase*, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, Message::MessageCreatorBase*> > >::operator[](unsigned char const&) (stl_map.h:500)
   by 0x4FF77E: operator[] (Map.h:111)
   by 0x4FF77E: Message::create(int, char const*, int) (Message.cpp:78)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
52 bytes in 1 blocks are possibly lost in loss record 96 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4AC106: String (String.h:28)
   by 0x4AC106: Server::init(Server::Options const&) (Server.cpp:128)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
53 bytes in 1 blocks are possibly lost in loss record 97 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x432F0F: String::split(char, unsigned int) const (String.h:580)
   by 0x4AB8B3: Rct::pathEnvironment() (Rct.h:151)
   by 0x4AB735: Server::Server() (Server.cpp:91)
   by 0x431AF3: main (rdm.cpp:691)
==21435==
55 bytes in 1 blocks are possibly lost in loss record 98 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54669: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5473D: std::string::append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x46DFC9: append (basic_string.h:1026)
   by 0x46DFC9: operator+= (basic_string.h:959)
   by 0x46DFC9: operator+= (String.h:396)
   by 0x46DFC9: operator+ (String.h:799)
   by 0x46DFC9: JobScheduler::startJobs() (JobScheduler.cpp:89)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
56 bytes in 1 blocks are still reachable in loss record 99 of 336
   at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80D0099: llvm::sys::RWMutexImpl::RWMutexImpl() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04275: void* llvm::object_creator<llvm::PassRegistry>() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04363: llvm::PassRegistry::getPassRegistry() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3015: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
56 bytes in 1 blocks are possibly lost in loss record 100 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x43341B: String (String.h:42)
   by 0x43341B: Path (Path.h:20)
   by 0x43341B: Path::ensureTrailingSlash() const (Path.h:94)
   by 0x4AECF1: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
57 bytes in 1 blocks are possibly lost in loss record 101 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x43344D: push_back (basic_string.h:1073)
   by 0x43344D: operator+= (basic_string.h:969)
   by 0x43344D: operator+= (String.h:389)
   by 0x43344D: operator+ (String.h:813)
   by 0x43344D: Path::ensureTrailingSlash() const (Path.h:93)
   by 0x4324B1: main (rdm.cpp:724)
==21435==
64 bytes in 1 blocks are still reachable in loss record 102 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F8AD0: allocate (new_allocator.h:104)
   by 0x4F8AD0: _M_allocate_map (stl_deque.h:549)
   by 0x4F8AD0: _M_initialize_map (stl_deque.h:594)
   by 0x4F8AD0: _Deque_base (stl_deque.h:458)
   by 0x4F8AD0: deque (stl_deque.h:788)
   by 0x4F8AD0: EventLoop::EventLoop() (EventLoop.cpp:85)
   by 0x431847: main (rdm.cpp:688)
==21435==
64 bytes in 1 blocks are still reachable in loss record 103 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50D9A1: allocate (new_allocator.h:104)
   by 0x50D9A1: _M_allocate_map (stl_deque.h:549)
   by 0x50D9A1: _M_initialize_map (stl_deque.h:594)
   by 0x50D9A1: _Deque_base (stl_deque.h:458)
   by 0x50D9A1: deque (stl_deque.h:788)
   by 0x50D9A1: SocketServer::SocketServer() (SocketServer.cpp:17)
   by 0x4AE344: Server::initUnixServer() (Server.cpp:239)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
64 bytes in 4 blocks are still reachable in loss record 104 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46FD64: _M_init_functor (functional:1955)
   by 0x46FD64: _M_init_functor (functional:1926)
   by 0x46FD64: function<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37), void> (functional:2426)
   by 0x46FD64: pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37), void> (stl_pair.h:152)
   by 0x46FD64: construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (new_allocator.h:120)
   by 0x46FD64: _S_construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (alloc_traits.h:253)
   by 0x46FD64: construct<std::pair<const unsigned int, std::function<void (Process *)> >, std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (alloc_traits.h:399)
   by 0x46FD64: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:421)
   by 0x46FD64: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:1143)
   by 0x46FD64: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:1501)
   by 0x46FD64: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)>, void> (stl_map.h:638)
   by 0x46FD64: connect<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> (SignalSlot.h:22)
   by 0x46FD64: JobScheduler::startJobs() (JobScheduler.cpp:169)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
67 bytes in 1 blocks are possibly lost in loss record 105 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4AC4ED: String (String.h:42)
   by 0x4AC4ED: Path (Path.h:20)
   by 0x4AC4ED: Include (Source.h:104)
   by 0x4AC4ED: Server::init(Server::Options const&) (Server.cpp:156)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 106 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FC24D: allocate (new_allocator.h:104)
   by 0x4FC24D: allocate (alloc_traits.h:357)
   by 0x4FC24D: _M_get_node (stl_tree.h:385)
   by 0x4FC24D: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:417)
   by 0x4FC24D: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:1143)
   by 0x4FC24D: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> > (stl_tree.h:1501)
   by 0x4FC24D: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)>, void> (stl_map.h:638)
   by 0x4FC24D: connect<(lambda at /home/pek/work/packages/rtags/src/rct/rct/FileSystemWatcher.cpp:7:30)> (SignalSlot.h:22)
   by 0x4FC24D: FileSystemWatcher::FileSystemWatcher(FileSystemWatcher::Options const&) (FileSystemWatcher.cpp:7)
   by 0x481257: Project::Project(Path const&) (Project.cpp:242)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 107 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FD6: allocate (new_allocator.h:104)
   by 0x4A0FD6: allocate (alloc_traits.h:357)
   by 0x4A0FD6: _M_get_node (stl_tree.h:385)
   by 0x4A0FD6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0FD6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FD6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482ADB: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482ADB: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482ADB: Project::init() (Project.cpp:304)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 108 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FD6: allocate (new_allocator.h:104)
   by 0x4A0FD6: allocate (alloc_traits.h:357)
   by 0x4A0FD6: _M_get_node (stl_tree.h:385)
   by 0x4A0FD6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0FD6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FD6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482B5C: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482B5C: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482B5C: Project::init() (Project.cpp:305)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 109 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0FD6: allocate (new_allocator.h:104)
   by 0x4A0FD6: allocate (alloc_traits.h:357)
   by 0x4A0FD6: _M_get_node (stl_tree.h:385)
   by 0x4A0FD6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0FD6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0FD6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Path const&)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482BDD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482BDD: connect<std::_Bind<std::_Mem_fn<void (Project::*)(const Path &)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482BDD: Project::init() (Project.cpp:306)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 110 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x461A16: allocate (new_allocator.h:104)
   by 0x461A16: allocate (alloc_traits.h:357)
   by 0x461A16: _M_get_node (stl_tree.h:385)
   by 0x461A16: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x461A16: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x461A16: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer*)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x45E070: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x45E070: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(Timer *)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x45E070: FileManager::FileManager(std::shared_ptr<Project> const&) (FileManager.cpp:25)
   by 0x482C5B: Project::init() (Project.cpp:308)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 111 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0D46: allocate (new_allocator.h:104)
   by 0x4A0D46: allocate (alloc_traits.h:357)
   by 0x4A0D46: _M_get_node (stl_tree.h:385)
   by 0x4A0D46: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0D46: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0D46: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482D45: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482D45: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482D45: Project::init() (Project.cpp:309)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 112 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0D46: allocate (new_allocator.h:104)
   by 0x4A0D46: allocate (alloc_traits.h:357)
   by 0x4A0D46: _M_get_node (stl_tree.h:385)
   by 0x4A0D46: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0D46: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0D46: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Path const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Path const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Path const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Path const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(Path const&)> (FileManager*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482DCD: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482DCD: connect<std::_Bind<std::_Mem_fn<void (FileManager::*)(const Path &)> (FileManager *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482DCD: Project::init() (Project.cpp:310)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 113 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A0B76: allocate (new_allocator.h:104)
   by 0x4A0B76: allocate (alloc_traits.h:357)
   by 0x4A0B76: _M_get_node (stl_tree.h:385)
   by 0x4A0B76: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4A0B76: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4A0B76: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (Timer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (Timer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (Timer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (Timer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer*)> (Project*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x482E4E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x482E4E: connect<std::_Bind<std::_Mem_fn<void (Project::*)(Timer *)> (Project *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x482E4E: Project::init() (Project.cpp:313)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 114 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF7C6: allocate (new_allocator.h:104)
   by 0x4CF7C6: allocate (alloc_traits.h:357)
   by 0x4CF7C6: _M_get_node (stl_tree.h:385)
   by 0x4CF7C6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4CF7C6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4CF7C6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (SocketServer*)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (SocketServer*)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (SocketServer*)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer*)> (Server*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x4ACE13: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x4ACE13: connect<std::_Bind<std::_Mem_fn<void (Server::*)(SocketServer *)> (Server *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x4ACE13: Server::init(Server::Options const&) (Server.cpp:180)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
72 bytes in 1 blocks are still reachable in loss record 115 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50D3EB: allocate (new_allocator.h:104)
   by 0x50D3EB: allocate (alloc_traits.h:357)
   by 0x50D3EB: _M_get_node (stl_tree.h:385)
   by 0x50D3EB: _M_create_node<const std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> > &> (stl_tree.h:417)
   by 0x50D3EB: _M_clone_node (stl_tree.h:445)
   by 0x50D3EB: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >*) (stl_tree.h:1207)
   by 0x50CFFC: operator= (stl_tree.h:1117)
   by 0x50CFFC: operator= (stl_map.h:295)
   by 0x50CFFC: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:66)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
72 bytes in 1 blocks are still reachable in loss record 116 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F77EB: allocate (new_allocator.h:104)
   by 0x4F77EB: allocate (alloc_traits.h:357)
   by 0x4F77EB: _M_get_node (stl_tree.h:385)
   by 0x4F77EB: _M_create_node<const std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > &> (stl_tree.h:417)
   by 0x4F77EB: _M_clone_node (stl_tree.h:445)
   by 0x4F77EB: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_copy(std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > const*, std::_Rb_tree_node<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >*) (stl_tree.h:1207)
   by 0x4F6AAC: operator= (stl_tree.h:1117)
   by 0x4F6AAC: operator= (stl_map.h:295)
   by 0x4F6AAC: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:66)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
74 bytes in 1 blocks are possibly lost in loss record 117 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4EFD76: String (String.h:42)
   by 0x4EFD76: Path (Path.h:23)
   by 0x4EFD76: RTags::encodeSourceFilePath(Path const&, Path const&, unsigned int) (RTags.cpp:47)
   by 0x481035: Project::Project(Path const&) (Project.cpp:243)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
75 bytes in 1 blocks are possibly lost in loss record 118 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4EED53: resize (basic_string.h:763)
   by 0x4EED53: resize (String.h:323)
   by 0x4EED53: operator>><String> (Serializer.h:463)
   by 0x4EED53: QueryMessage::decode(Deserializer&) (QueryMessage.cpp:34)
   by 0x4F2E8B: Message::MessageCreator<QueryMessage>::create(char const*, int) (Message.h:61)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
80 bytes in 1 blocks are still reachable in loss record 119 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FA25B: allocate (new_allocator.h:104)
   by 0x4FA25B: allocate (alloc_traits.h:357)
   by 0x4FA25B: _M_get_node (stl_tree.h:385)
   by 0x4FA25B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x4FA25B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4FA25B: std::map<int, std::pair<unsigned int, std::function<void (int, unsigned int)> >, std::less<int>, std::allocator<std::pair<int const, std::pair<unsigned int, std::function<void (int, unsigned int)> > > > >::operator[](int const&) (stl_map.h:500)
   by 0x4FA029: EventLoop::registerSocket(int, unsigned int, std::function<void (int, unsigned int)>&&) (EventLoop.cpp:445)
   by 0x50E260: SocketServer::commonListen() (SocketServer.cpp:159)
   by 0x50E111: commonBindAndListen (SocketServer.cpp:142)
   by 0x50E111: SocketServer::listen(Path const&) (SocketServer.cpp:118)
   by 0x4AE66E: Server::initUnixServer() (Server.cpp:241)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
80 bytes in 1 blocks are still reachable in loss record 120 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FA25B: allocate (new_allocator.h:104)
   by 0x4FA25B: allocate (alloc_traits.h:357)
   by 0x4FA25B: _M_get_node (stl_tree.h:385)
   by 0x4FA25B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x4FA25B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4FA25B: std::map<int, std::pair<unsigned int, std::function<void (int, unsigned int)> >, std::less<int>, std::allocator<std::pair<int const, std::pair<unsigned int, std::function<void (int, unsigned int)> > > > >::operator[](int const&) (stl_map.h:500)
   by 0x4FA029: EventLoop::registerSocket(int, unsigned int, std::function<void (int, unsigned int)>&&) (EventLoop.cpp:445)
   by 0x5189F1: FileSystemWatcher::init() (FileSystemWatcher_inotify.cpp:15)
   by 0x4FC192: FileSystemWatcher::FileSystemWatcher(FileSystemWatcher::Options const&) (FileSystemWatcher.cpp:6)
   by 0x481257: Project::Project(Path const&) (Project.cpp:242)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
80 bytes in 2 blocks are still reachable in loss record 121 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BA89: allocate (new_allocator.h:104)
   by 0x47BA89: allocate (alloc_traits.h:357)
   by 0x47BA89: _M_get_node (stl_tree.h:385)
   by 0x47BA89: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x47BA89: _M_clone_node (stl_tree.h:445)
   by 0x47BA89: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1219)
   by 0x479F5F: operator= (stl_tree.h:1117)
   by 0x479F5F: operator= (stl_set.h:265)
   by 0x479F5F: operator= (Set.h:9)
   by 0x479F5F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
81 bytes in 1 blocks are possibly lost in loss record 122 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54669: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5473D: std::string::append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4815E5: append (basic_string.h:1026)
   by 0x4815E5: operator+= (basic_string.h:959)
   by 0x4815E5: operator+= (String.h:396)
   by 0x4815E5: operator+ (String.h:799)
   by 0x4815E5: Project::Project(Path const&) (Project.cpp:250)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
81 bytes in 1 blocks are possibly lost in loss record 123 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54669: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5473D: std::string::append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x48162C: append (basic_string.h:1026)
   by 0x48162C: operator+= (basic_string.h:959)
   by 0x48162C: operator+= (String.h:396)
   by 0x48162C: operator+ (String.h:799)
   by 0x48162C: Project::Project(Path const&) (Project.cpp:251)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
pekenator commented 9 years ago
==21435==
88 bytes in 1 blocks are still reachable in loss record 124 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x42DF58: allocate (new_allocator.h:104)
   by 0x42DF58: allocate (alloc_traits.h:357)
   by 0x42DF58: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x42DF58: _M_allocate_buckets (hashtable.h:347)
   by 0x42DF58: _Hashtable (hashtable.h:802)
   by 0x42DF58: _Hashtable (hashtable.h:421)
   by 0x42DF58: unordered_map (unordered_map.h:143)
   by 0x42DF58: Hash (Hash.h:13)
   by 0x42DF58: __cxx_global_var_init (CompilerManager.cpp:40)
   by 0x42DF58: _GLOBAL__sub_I_CompilerManager.cpp (CompilerManager.cpp:0)
   by 0x51B61C: __libc_csu_init (in /usr/local/bin/rdm)
   by 0x755FE54: (below main) (libc-start.c:246)
==21435==
88 bytes in 1 blocks are still reachable in loss record 125 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x42E3AB: allocate (new_allocator.h:104)
   by 0x42E3AB: allocate (alloc_traits.h:357)
   by 0x42E3AB: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x42E3AB: _M_allocate_buckets (hashtable.h:347)
   by 0x42E3AB: _Hashtable (hashtable.h:802)
   by 0x42E3AB: _Hashtable (hashtable.h:421)
   by 0x42E3AB: unordered_map (unordered_map.h:143)
   by 0x42E3AB: __cxx_global_var_init (Process.cpp:63)
   by 0x42E3AB: _GLOBAL__sub_I_Process.cpp (Process.cpp:0)
   by 0x51B61C: __libc_csu_init (in /usr/local/bin/rdm)
   by 0x755FE54: (below main) (libc-start.c:246)
==21435==
88 bytes in 1 blocks are still reachable in loss record 126 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F8CC3: allocate (new_allocator.h:104)
   by 0x4F8CC3: allocate (alloc_traits.h:357)
   by 0x4F8CC3: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4F8CC3: _M_allocate_buckets (hashtable.h:347)
   by 0x4F8CC3: _Hashtable (hashtable.h:802)
   by 0x4F8CC3: _Hashtable (hashtable.h:421)
   by 0x4F8CC3: unordered_set (unordered_set.h:136)
   by 0x4F8CC3: EventLoop::EventLoop() (EventLoop.cpp:85)
   by 0x431847: main (rdm.cpp:688)
==21435==
88 bytes in 1 blocks are still reachable in loss record 127 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AB6F5: allocate (new_allocator.h:104)
   by 0x4AB6F5: allocate (alloc_traits.h:357)
   by 0x4AB6F5: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4AB6F5: _M_allocate_buckets (hashtable.h:347)
   by 0x4AB6F5: _Hashtable (hashtable.h:802)
   by 0x4AB6F5: _Hashtable (hashtable.h:421)
   by 0x4AB6F5: unordered_map (unordered_map.h:143)
   by 0x4AB6F5: Hash (Hash.h:13)
   by 0x4AB6F5: Server::Server() (Server.cpp:90)
   by 0x431AF3: main (rdm.cpp:691)
==21435==
88 bytes in 1 blocks are still reachable in loss record 128 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46C8C4: allocate (new_allocator.h:104)
   by 0x46C8C4: allocate (alloc_traits.h:357)
   by 0x46C8C4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x46C8C4: _M_allocate_buckets (hashtable.h:347)
   by 0x46C8C4: _Hashtable (hashtable.h:802)
   by 0x46C8C4: _Hashtable (hashtable.h:421)
   by 0x46C8C4: unordered_map (unordered_map.h:143)
   by 0x46C8C4: Hash (Hash.h:13)
   by 0x46C8C4: JobScheduler::JobScheduler() (JobScheduler.cpp:22)
   by 0x4ACD92: Server::init(Server::Options const&) (Server.cpp:177)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
88 bytes in 1 blocks are still reachable in loss record 129 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46C934: allocate (new_allocator.h:104)
   by 0x46C934: allocate (alloc_traits.h:357)
   by 0x46C934: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x46C934: _M_allocate_buckets (hashtable.h:347)
   by 0x46C934: _Hashtable (hashtable.h:802)
   by 0x46C934: _Hashtable (hashtable.h:421)
   by 0x46C934: unordered_map (unordered_map.h:143)
   by 0x46C934: Hash (Hash.h:13)
   by 0x46C934: JobScheduler::JobScheduler() (JobScheduler.cpp:22)
   by 0x4ACD92: Server::init(Server::Options const&) (Server.cpp:177)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
88 bytes in 1 blocks are still reachable in loss record 130 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4813EF: allocate (new_allocator.h:104)
   by 0x4813EF: allocate (alloc_traits.h:357)
   by 0x4813EF: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4813EF: _M_allocate_buckets (hashtable.h:347)
   by 0x4813EF: _Hashtable (hashtable.h:802)
   by 0x4813EF: _Hashtable (hashtable.h:421)
   by 0x4813EF: unordered_map (unordered_map.h:143)
   by 0x4813EF: Hash (Hash.h:13)
   by 0x4813EF: Project::Project(Path const&) (Project.cpp:242)
   by 0x4AED24: addProject (Server.cpp:267)
   by 0x4AED24: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
88 bytes in 1 blocks are still reachable in loss record 131 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x503F2D: ProcessThread::installProcessHandler() (Process.cpp:218)
   by 0x640872F: pthread_once (pthread_once.S:103)
   by 0x504226: __gthread_once (gthr-default.h:699)
   by 0x504226: call_once<void (&)()> (mutex:746)
   by 0x504226: Process::Process() (Process.cpp:226)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
88 bytes in 1 blocks are still reachable in loss record 132 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4E7A55: allocate (new_allocator.h:104)
   by 0x4E7A55: allocate (alloc_traits.h:357)
   by 0x4E7A55: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4E7A55: _M_allocate_buckets (hashtable.h:347)
   by 0x4E7A55: _Hashtable (hashtable.h:802)
   by 0x4E7A55: _Hashtable (hashtable.h:421)
   by 0x4E7A55: unordered_map (unordered_map.h:143)
   by 0x4E7A55: Hash (Hash.h:13)
   by 0x4E7A55: resolveCompiler (Source.cpp:305)
   by 0x4E7A55: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:614)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
88 bytes in 1 blocks are still reachable in loss record 133 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4EE98F: allocate (new_allocator.h:104)
   by 0x4EE98F: allocate (alloc_traits.h:357)
   by 0x4EE98F: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4EE98F: _M_allocate_buckets (hashtable.h:347)
   by 0x4EE98F: _Hashtable (hashtable.h:802)
   by 0x4EE98F: _Hashtable (hashtable.h:421)
   by 0x4EE98F: unordered_map (unordered_map.h:143)
   by 0x4EE98F: Hash (Hash.h:13)
   by 0x4EE98F: QueryMessage::QueryMessage(QueryMessage::Type) (QueryMessage.cpp:20)
   by 0x4F2E46: Message::MessageCreator<QueryMessage>::create(char const*, int) (Message.h:59)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
96 bytes in 3 blocks are still reachable in loss record 134 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x479910: allocate (new_allocator.h:104)
   by 0x479910: allocate (alloc_traits.h:357)
   by 0x479910: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned long &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x479910: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:601)
   by 0x46FFA2: operator[] (unordered_map.h:627)
   by 0x46FFA2: operator[] (Hash.h:113)
   by 0x46FFA2: JobScheduler::startJobs() (JobScheduler.cpp:207)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
96 bytes in 4 blocks are still reachable in loss record 135 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x505BEE: _M_init_functor (functional:1955)
   by 0x505BEE: _M_init_functor (functional:1926)
   by 0x505BEE: function<std::_Bind<std::_Mem_fn<void (Process::*)(int, int)> (Process *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x505BEE: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:484)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
96 bytes in 4 blocks are still reachable in loss record 136 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x505C7A: _M_init_functor (functional:1955)
   by 0x505C7A: _M_init_functor (functional:1926)
   by 0x505C7A: function<std::_Bind<std::_Mem_fn<void (Process::*)(int, int)> (Process *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x505C7A: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:485)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
104 bytes in 1 blocks are still reachable in loss record 137 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x43451B: allocate (new_allocator.h:104)
   by 0x43451B: allocate (alloc_traits.h:357)
   by 0x43451B: __shared_count<std::__detail::_NFA<std::regex_traits<char> >, std::allocator<std::__detail::_NFA<std::regex_traits<char> > >, std::__detail::_NFA<std::regex_traits<char> > > (shared_ptr_base.h:616)
   by 0x43451B: __shared_ptr<std::allocator<std::__detail::_NFA<std::regex_traits<char> > >, std::__detail::_NFA<std::regex_traits<char> > > (shared_ptr_base.h:1089)
   by 0x43451B: shared_ptr<std::allocator<std::__detail::_NFA<std::regex_traits<char> > >, std::__detail::_NFA<std::regex_traits<char> > > (shared_ptr.h:317)
   by 0x43451B: allocate_shared<std::__detail::_NFA<std::regex_traits<char> >, std::allocator<std::__detail::_NFA<std::regex_traits<char> > >, std::__detail::_NFA<std::regex_traits<char> > > (shared_ptr.h:587)
   by 0x43451B: make_shared<std::__detail::_NFA<std::regex_traits<char> >, std::__detail::_NFA<std::regex_traits<char> > > (shared_ptr.h:603)
   by 0x43451B: _M_get_nfa (regex_compiler.h:64)
   by 0x43451B: __compile_nfa<std::regex_traits<char> > (regex_compiler.h:155)
   by 0x43451B: std::basic_regex<char, std::regex_traits<char> >& std::basic_regex<char, std::regex_traits<char> >::assign<std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::regex_constants::syntax_option_type) (regex.h:681)
   by 0x4D1D8D: imbue (regex.h:748)
   by 0x4D1D8D: std::basic_regex<char, std::regex_traits<char> >::assign(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:625)
   by 0x4D1C65: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
   by 0x4C5D55: Match::operator=(Match&&) (Match.h:24)
   by 0x4C58CB: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1219)
   by 0x4C36F6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1047)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 138 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50A1CB: _M_init_functor (functional:1955)
   by 0x50A1CB: _M_init_functor (functional:1926)
   by 0x50A1CB: function<std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x50A1CB: SocketClient::SocketClient(int, unsigned int) (SocketClient.cpp:40)
   by 0x50E5EF: SocketServer::nextConnection() (SocketServer.cpp:181)
   by 0x4AFD44: Server::onNewConnection(SocketServer*) (Server.cpp:276)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 139 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50E5FC: __shared_count<SocketClient *> (shared_ptr_base.h:569)
   by 0x50E5FC: __shared_ptr<SocketClient> (shared_ptr_base.h:871)
   by 0x50E5FC: shared_ptr<SocketClient> (shared_ptr.h:113)
   by 0x50E5FC: SocketServer::nextConnection() (SocketServer.cpp:181)
   by 0x4AFD44: Server::onNewConnection(SocketServer*) (Server.cpp:276)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 140 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AFDA8: __shared_count<Connection *> (shared_ptr_base.h:569)
   by 0x4AFDA8: __shared_ptr<Connection> (shared_ptr_base.h:871)
   by 0x4AFDA8: shared_ptr<Connection> (shared_ptr.h:113)
   by 0x4AFDA8: create (Connection.h:26)
   by 0x4AFDA8: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 141 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F858D: _M_init_functor (functional:1955)
   by 0x4F858D: _M_init_functor (functional:1926)
   by 0x4F858D: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)>, void> (functional:2426)
   by 0x4F858D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)>, void> (stl_pair.h:152)
   by 0x4F858D: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (new_allocator.h:120)
   by 0x4F858D: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (alloc_traits.h:253)
   by 0x4F858D: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (alloc_traits.h:399)
   by 0x4F858D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (stl_tree.h:421)
   by 0x4F858D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4F858D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (Connection*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (Connection*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x4F4DE3: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x4F4DE3: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x4F4DE3: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:43)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 142 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F83BD: _M_init_functor (functional:1955)
   by 0x4F83BD: _M_init_functor (functional:1926)
   by 0x4F83BD: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x4F83BD: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:152)
   by 0x4F83BD: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
   by 0x4F83BD: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
   by 0x4F83BD: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, Buffer &&)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
   by 0x4F83BD: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
   by 0x4F83BD: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F83BD: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4E4E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4E4E: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4E4E: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:44)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 143 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F81ED: _M_init_functor (functional:1955)
   by 0x4F81ED: _M_init_functor (functional:1926)
   by 0x4F81ED: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x4F81ED: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:152)
   by 0x4F81ED: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
   by 0x4F81ED: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
   by 0x4F81ED: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, int)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
   by 0x4F81ED: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
   by 0x4F81ED: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F81ED: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4EC5: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4EC5: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4EC5: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:45)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 144 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F801D: _M_init_functor (functional:1955)
   by 0x4F801D: _M_init_functor (functional:1926)
   by 0x4F801D: function<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x4F801D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:152)
   by 0x4F801D: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
   by 0x4F801D: _S_construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
   by 0x4F801D: construct<std::pair<const unsigned int, std::function<void (const std::shared_ptr<SocketClient> &, SocketClient::Error)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
   by 0x4F801D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
   by 0x4F801D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F801D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4F3C: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4F3C: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4F3C: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:46)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 145 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF06D: _M_init_functor (functional:1955)
   by 0x4CF06D: _M_init_functor (functional:1926)
   by 0x4CF06D: function<std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (functional:2426)
   by 0x4CF06D: pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)>, void> (stl_pair.h:152)
   by 0x4CF06D: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (new_allocator.h:120)
   by 0x4CF06D: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:253)
   by 0x4CF06D: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (alloc_traits.h:399)
   by 0x4CF06D: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:421)
   by 0x4CF06D: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4CF06D: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4AFE9F: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4AFE9F: connect<std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4AFE9F: Server::onNewConnection(SocketServer*) (Server.cpp:281)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 146 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4B5DAF: __shared_count<IndexerJob *> (shared_ptr_base.h:569)
   by 0x4B5DAF: __shared_ptr<IndexerJob> (shared_ptr_base.h:871)
   by 0x4B5DAF: shared_ptr<IndexerJob> (shared_ptr.h:113)
   by 0x4B5DAF: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 5 blocks are still reachable in loss record 147 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46D220: __shared_count<JobScheduler::Node *> (shared_ptr_base.h:569)
   by 0x46D220: __shared_ptr<JobScheduler::Node> (shared_ptr_base.h:871)
   by 0x46D220: shared_ptr<JobScheduler::Node> (shared_ptr.h:113)
   by 0x46D220: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:39)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
120 bytes in 3 blocks are possibly lost in loss record 148 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x432E69: String::split(char, unsigned int) const (String.h:576)
   by 0x42F28F: main (rdm.cpp:349)
==21435==
128 bytes in 4 blocks are still reachable in loss record 149 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4796E0: allocate (new_allocator.h:104)
   by 0x4796E0: allocate (alloc_traits.h:357)
   by 0x4796E0: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<Process *const &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4796E0: std::__detail::_Map_base<Process*, std::pair<Process* const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<Process* const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<Process*>, std::hash<Process*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](Process* const&) (hashtable_policy.h:601)
   by 0x46FE47: operator[] (unordered_map.h:627)
   by 0x46FE47: operator[] (Hash.h:113)
   by 0x46FE47: JobScheduler::startJobs() (JobScheduler.cpp:204)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
144 bytes in 1 blocks are still reachable in loss record 150 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7F0426A: void* llvm::object_creator<llvm::PassRegistry>() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04363: llvm::PassRegistry::getPassRegistry() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3015: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
153 bytes in 1 blocks are possibly lost in loss record 151 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5084E3: push_back (basic_string.h:1073)
   by 0x5084E3: operator+= (basic_string.h:969)
   by 0x5084E3: append (String.h:362)
   by 0x5084E3: Rct::shortOptions(option const*) (Rct.cpp:135)
   by 0x42E60F: main (rdm.cpp:232)
==21435==
160 bytes in 1 blocks are still reachable in loss record 152 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80A4E3D: void* llvm::object_creator<llvm::SmallPtrSet<llvm::cl::OptionCategory*, 16u> >() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80C49F2: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80A6B0B: llvm::cl::OptionCategory::registerCategory() (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB7811: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
160 bytes in 5 blocks are still reachable in loss record 153 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4B00D4: _M_init_functor (functional:1955)
   by 0x4B00D4: _M_init_functor (functional:1926)
   by 0x4B00D4: function<std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()>, void> (functional:2426)
   by 0x4B00D4: pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()>, void> (stl_pair.h:152)
   by 0x4B00D4: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (new_allocator.h:120)
   by 0x4B00D4: _S_construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (alloc_traits.h:253)
   by 0x4B00D4: construct<std::pair<const unsigned int, std::function<void (std::shared_ptr<Connection>)> >, std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (alloc_traits.h:399)
   by 0x4B00D4: _M_create_node<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:421)
   by 0x4B00D4: _M_insert_<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:1143)
   by 0x4B00D4: _M_insert_unique<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:1501)
   by 0x4B00D4: insert<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> >, void> (stl_map.h:638)
   by 0x4B00D4: connect<std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > (SignalSlot.h:22)
   by 0x4B00D4: Server::onNewConnection(SocketServer*) (Server.cpp:284)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
160 bytes in 5 blocks are still reachable in loss record 154 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x479910: allocate (new_allocator.h:104)
   by 0x479910: allocate (alloc_traits.h:357)
   by 0x479910: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned long &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x479910: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:601)
   by 0x46D327: operator[] (unordered_map.h:627)
   by 0x46D327: operator[] (Hash.h:113)
   by 0x46D327: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:53)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
174 bytes in 2 blocks are still reachable in loss record 155 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4A1798: resize (basic_string.h:763)
   by 0x4A1798: resize (String.h:323)
   by 0x4A1798: operator>><Path> (Serializer.h:482)
   by 0x4A1798: operator>><Source::Include> (Source.h:315)
   by 0x4A1798: Deserializer& operator>><Source::Include>(Deserializer&, List<Source::Include>&) (Serializer.h:436)
   by 0x4A156E: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
184 bytes in 1 blocks are still reachable in loss record 156 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x482BF9: Project::init() (Project.cpp:308)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
192 bytes in 3 blocks are still reachable in loss record 157 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5036AB: allocate (new_allocator.h:104)
   by 0x5036AB: allocate (alloc_traits.h:357)
   by 0x5036AB: _M_get_node (stl_tree.h:385)
   by 0x5036AB: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x5036AB: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x5036AB: std::map<int, ProcessThread::ProcessData, std::less<int>, std::allocator<std::pair<int const, ProcessThread::ProcessData> > >::operator[](int const&) (stl_map.h:500)
   by 0x503127: ProcessThread::addPid(int, Process*, bool) (Process.cpp:116)
   by 0x505BB5: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:479)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
200 bytes in 5 blocks are still reachable in loss record 158 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46B7AC: allocate (new_allocator.h:104)
   by 0x46B7AC: allocate (alloc_traits.h:357)
   by 0x46B7AC: _M_get_node (stl_tree.h:385)
   by 0x46B7AC: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x46B7AC: _M_insert_<const unsigned int &> (stl_tree.h:1143)
   by 0x46B7AC: std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int const&>(unsigned int const&) (stl_tree.h:1501)
   by 0x468D15: insert (stl_set.h:502)
   by 0x468D15: insert (Set.h:73)
   by 0x468D15: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:46)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
204 bytes in 1 blocks are still reachable in loss record 159 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80DBF40: llvm::StringMapImpl::init(unsigned int) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80DC039: llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7F04EE3: llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3022: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
204 bytes in 1 blocks are still reachable in loss record 160 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x80DBF40: llvm::StringMapImpl::init(unsigned int) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80DC039: llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x80B9C78: llvm::sys::DynamicLibrary::AddSymbol(llvm::StringRef, void*) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CD3393: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
224 bytes in 1 blocks are still reachable in loss record 161 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F2E39: Message::MessageCreator<QueryMessage>::create(char const*, int) (Message.h:59)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 162 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CEF3F: allocate (new_allocator.h:104)
   by 0x4CEF3F: allocate (alloc_traits.h:357)
   by 0x4CEF3F: _M_get_node (stl_tree.h:385)
   by 0x4CEF3F: _M_create_node<const std::shared_ptr<Connection> &> (stl_tree.h:417)
   by 0x4CEF3F: _M_insert_<const std::shared_ptr<Connection> &> (stl_tree.h:1143)
   by 0x4CEF3F: std::pair<std::_Rb_tree_iterator<std::shared_ptr<Connection> >, bool> std::_Rb_tree<std::shared_ptr<Connection>, std::shared_ptr<Connection>, std::_Identity<std::shared_ptr<Connection> >, std::less<std::shared_ptr<Connection> >, std::allocator<std::shared_ptr<Connection> > >::_M_insert_unique<std::shared_ptr<Connection> const&>(std::shared_ptr<Connection> const&) (stl_tree.h:1501)
   by 0x4AFF09: insert (stl_set.h:502)
   by 0x4AFF09: insert (Set.h:73)
   by 0x4AFF09: Server::onNewConnection(SocketServer*) (Server.cpp:282)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 163 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 164 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 165 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 166 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 167 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 168 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 169 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 170 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 171 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 5 blocks are still reachable in loss record 172 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
240 bytes in 6 blocks are still reachable in loss record 173 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BA3B: allocate (new_allocator.h:104)
   by 0x47BA3B: allocate (alloc_traits.h:357)
   by 0x47BA3B: _M_get_node (stl_tree.h:385)
   by 0x47BA3B: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x47BA3B: _M_clone_node (stl_tree.h:445)
   by 0x47BA3B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
   by 0x47BA6C: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1213)
   by 0x479F5F: operator= (stl_tree.h:1117)
   by 0x479F5F: operator= (stl_set.h:265)
   by 0x479F5F: operator= (Set.h:9)
   by 0x479F5F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
256 bytes in 4 blocks are still reachable in loss record 174 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x504013: allocate (new_allocator.h:104)
   by 0x504013: _M_allocate_map (stl_deque.h:549)
   by 0x504013: _M_initialize_map (stl_deque.h:594)
   by 0x504013: _Deque_base (stl_deque.h:458)
   by 0x504013: deque (stl_deque.h:788)
   by 0x504013: Process::Process() (Process.cpp:222)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
280 bytes in 1 blocks are still reachable in loss record 175 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4D3C77: allocate (new_allocator.h:104)
   by 0x4D3C77: allocate (alloc_traits.h:357)
   by 0x4D3C77: _M_allocate (stl_vector.h:170)
   by 0x4D3C77: _M_create_storage (stl_vector.h:185)
   by 0x4D3C77: _Vector_base (stl_vector.h:136)
   by 0x4D3C77: vector (stl_vector.h:292)
   by 0x4D3C77: List<Path>::List<String>(std::vector<String, std::allocator<String> > const&) (List.h:24)
   by 0x4AB8BE: Rct::pathEnvironment() (Rct.h:151)
   by 0x4AB735: Server::Server() (Server.cpp:91)
   by 0x431AF3: main (rdm.cpp:691)
==21435==
288 bytes in 1 blocks are still reachable in loss record 176 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AE339: Server::initUnixServer() (Server.cpp:239)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
288 bytes in 1 blocks are still reachable in loss record 177 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x43574C: allocate (new_allocator.h:104)
   by 0x43574C: allocate (alloc_traits.h:357)
   by 0x43574C: _M_allocate (stl_vector.h:170)
   by 0x43574C: void std::vector<std::__detail::_State<std::regex_traits<char> >, std::allocator<std::__detail::_State<std::regex_traits<char> > > >::_M_emplace_back_aux<std::__detail::_State<std::regex_traits<char> > >(std::__detail::_State<std::regex_traits<char> >&&) (vector.tcc:412)
   by 0x43566B: emplace_back<std::__detail::_State<std::regex_traits<char> > > (vector.tcc:101)
   by 0x43566B: push_back (stl_vector.h:932)
   by 0x43566B: _M_insert_state (regex_automaton.h:247)
   by 0x43566B: std::__detail::_NFA<std::regex_traits<char> >::_M_insert_subexpr_end() (regex_automaton.h:209)
   by 0x4349F0: std::__detail::_Compiler<std::regex_traits<char> >::_Compiler(char const*, char const*, std::regex_traits<char> const&, std::regex_constants::syntax_option_type) (regex_compiler.tcc:87)
   by 0x434511: __compile_nfa<std::regex_traits<char> > (regex_compiler.h:155)
   by 0x434511: std::basic_regex<char, std::regex_traits<char> >& std::basic_regex<char, std::regex_traits<char> >::assign<std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::regex_constants::syntax_option_type) (regex.h:681)
   by 0x4D1D8D: imbue (regex.h:748)
   by 0x4D1D8D: std::basic_regex<char, std::regex_traits<char> >::assign(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:625)
   by 0x4D1C65: std::basic_regex<char, std::regex_traits<char> >::operator=(std::basic_regex<char, std::regex_traits<char> >&&) (regex.h:572)
   by 0x4C5D55: Match::operator=(Match&&) (Match.h:24)
   by 0x4C58CB: Server::projectForQuery(std::shared_ptr<QueryMessage> const&) (Server.cpp:1219)
   by 0x4C36F6: Server::isIndexed(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1047)
   by 0x4B29ED: Server::handleQueryMessage(std::shared_ptr<QueryMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:646)
   by 0x4B192F: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:300)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
==21435==
288 bytes in 4 blocks are still reachable in loss record 178 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46E995: allocate (new_allocator.h:104)
   by 0x46E995: allocate (alloc_traits.h:357)
   by 0x46E995: _M_get_node (stl_tree.h:385)
   by 0x46E995: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:417)
   by 0x46E995: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:1143)
   by 0x46E995: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> > (stl_tree.h:1501)
   by 0x46E995: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)>, void> (stl_map.h:638)
   by 0x46E995: connect<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:139:44)> (SignalSlot.h:22)
   by 0x46E995: JobScheduler::startJobs() (JobScheduler.cpp:139)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
288 bytes in 4 blocks are still reachable in loss record 179 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46FD53: allocate (new_allocator.h:104)
   by 0x46FD53: allocate (alloc_traits.h:357)
   by 0x46FD53: _M_get_node (stl_tree.h:385)
   by 0x46FD53: _M_create_node<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:417)
   by 0x46FD53: _M_insert_<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:1143)
   by 0x46FD53: _M_insert_unique<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> > (stl_tree.h:1501)
   by 0x46FD53: insert<std::pair<unsigned int, (lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)>, void> (stl_map.h:638)
   by 0x46FD53: connect<(lambda at /home/pek/work/packages/rtags/src/JobScheduler.cpp:169:37)> (SignalSlot.h:22)
   by 0x46FD53: JobScheduler::startJobs() (JobScheduler.cpp:169)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
320 bytes in 4 blocks are still reachable in loss record 180 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FA25B: allocate (new_allocator.h:104)
   by 0x4FA25B: allocate (alloc_traits.h:357)
   by 0x4FA25B: _M_get_node (stl_tree.h:385)
   by 0x4FA25B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x4FA25B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4FA25B: std::map<int, std::pair<unsigned int, std::function<void (int, unsigned int)> >, std::less<int>, std::allocator<std::pair<int const, std::pair<unsigned int, std::function<void (int, unsigned int)> > > > >::operator[](int const&) (stl_map.h:500)
   by 0x4FA029: EventLoop::registerSocket(int, unsigned int, std::function<void (int, unsigned int)>&&) (EventLoop.cpp:445)
   by 0x505C45: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:484)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
320 bytes in 4 blocks are still reachable in loss record 181 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FA25B: allocate (new_allocator.h:104)
   by 0x4FA25B: allocate (alloc_traits.h:357)
   by 0x4FA25B: _M_get_node (stl_tree.h:385)
   by 0x4FA25B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x4FA25B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4FA25B: std::map<int, std::pair<unsigned int, std::function<void (int, unsigned int)> >, std::less<int>, std::allocator<std::pair<int const, std::pair<unsigned int, std::function<void (int, unsigned int)> > > > >::operator[](int const&) (stl_map.h:500)
   by 0x4FA029: EventLoop::registerSocket(int, unsigned int, std::function<void (int, unsigned int)>&&) (EventLoop.cpp:445)
   by 0x505CBF: Process::startInternal(Path const&, List<String> const&, List<String> const&, int, unsigned int) (Process.cpp:485)
   by 0x506FE5: Process::start(Path const&, List<String> const&, List<String> const&) (in /usr/local/bin/rdm)
   by 0x46EA48: JobScheduler::startJobs() (JobScheduler.cpp:152)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
320 bytes in 5 blocks are still reachable in loss record 182 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46D1AD: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:39)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
328 bytes in 1 blocks are still reachable in loss record 183 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x43183C: main (rdm.cpp:688)
==21435==
328 bytes in 1 blocks are still reachable in loss record 184 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4ACD87: Server::init(Server::Options const&) (Server.cpp:177)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
360 bytes in 5 blocks are still reachable in loss record 185 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F8576: allocate (new_allocator.h:104)
   by 0x4F8576: allocate (alloc_traits.h:357)
   by 0x4F8576: _M_get_node (stl_tree.h:385)
   by 0x4F8576: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (stl_tree.h:417)
   by 0x4F8576: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > > (stl_tree.h:1143)
   by 0x4F8576: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (Connection*, std::_Placeholder<1>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&)> (Connection*, std::_Placeholder<1>)> >&&) (stl_tree.h:1501)
   by 0x4F4DE3: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> >, void> (stl_map.h:638)
   by 0x4F4DE3: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &)> (Connection *, std::_Placeholder<1>)> > (SignalSlot.h:22)
   by 0x4F4DE3: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:43)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
360 bytes in 5 blocks are still reachable in loss record 186 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F83A6: allocate (new_allocator.h:104)
   by 0x4F83A6: allocate (alloc_traits.h:357)
   by 0x4F83A6: _M_get_node (stl_tree.h:385)
   by 0x4F83A6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:417)
   by 0x4F83A6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F83A6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4E4E: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4E4E: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, Buffer &&)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4E4E: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:44)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
360 bytes in 5 blocks are still reachable in loss record 187 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F81D6: allocate (new_allocator.h:104)
   by 0x4F81D6: allocate (alloc_traits.h:357)
   by 0x4F81D6: _M_get_node (stl_tree.h:385)
   by 0x4F81D6: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:417)
   by 0x4F81D6: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F81D6: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, int)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, int)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4EC5: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4EC5: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, int)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4EC5: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:45)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
360 bytes in 5 blocks are still reachable in loss record 188 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F8006: allocate (new_allocator.h:104)
   by 0x4F8006: allocate (alloc_traits.h:357)
   by 0x4F8006: _M_get_node (stl_tree.h:385)
   by 0x4F8006: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:417)
   by 0x4F8006: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4F8006: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<SocketClient> const&, SocketClient::Error)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, SocketClient::Error)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4F4F3C: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4F4F3C: connect<std::_Bind<std::_Mem_fn<void (Connection::*)(const std::shared_ptr<SocketClient> &, SocketClient::Error)> (Connection *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4F4F3C: Connection::connect(std::shared_ptr<SocketClient> const&) (Connection.cpp:46)
   by 0x4AFE45: create (Connection.h:27)
   by 0x4AFE45: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
360 bytes in 5 blocks are still reachable in loss record 189 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4CF056: allocate (new_allocator.h:104)
   by 0x4CF056: allocate (alloc_traits.h:357)
   by 0x4CF056: _M_get_node (stl_tree.h:385)
   by 0x4CF056: _M_create_node<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:417)
   by 0x4CF056: _M_insert_<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > > (stl_tree.h:1143)
   by 0x4CF056: std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, bool> std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >, std::_Select1st<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> > > >::_M_insert_unique<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> > >(std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >&&) (stl_tree.h:1501)
   by 0x4AFE9F: insert<std::pair<unsigned int, std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> >, void> (stl_map.h:638)
   by 0x4AFE9F: connect<std::_Bind<std::_Mem_fn<void (Server::*)(const std::shared_ptr<Message> &, const std::shared_ptr<Connection> &)> (Server *, std::_Placeholder<1>, std::_Placeholder<2>)> > (SignalSlot.h:22)
   by 0x4AFE9F: Server::onNewConnection(SocketServer*) (Server.cpp:281)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
360 bytes in 5 blocks are still reachable in loss record 190 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4B00A1: allocate (new_allocator.h:104)
   by 0x4B00A1: allocate (alloc_traits.h:357)
   by 0x4B00A1: _M_get_node (stl_tree.h:385)
   by 0x4B00A1: _M_create_node<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:417)
   by 0x4B00A1: _M_insert_<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:1143)
   by 0x4B00A1: _M_insert_unique<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > > (stl_tree.h:1501)
   by 0x4B00A1: insert<std::pair<unsigned int, std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> >, void> (stl_map.h:638)
   by 0x4B00A1: connect<std::_Bind<(lambda at /home/pek/work/packages/rtags/src/Server.cpp:284:48) ()> > (SignalSlot.h:22)
   by 0x4B00A1: Server::onNewConnection(SocketServer*) (Server.cpp:284)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
390 bytes in 15 blocks are possibly lost in loss record 191 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x4E62C0: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:508)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
400 bytes in 5 blocks are still reachable in loss record 192 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4FA25B: allocate (new_allocator.h:104)
   by 0x4FA25B: allocate (alloc_traits.h:357)
   by 0x4FA25B: _M_get_node (stl_tree.h:385)
   by 0x4FA25B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x4FA25B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x4FA25B: std::map<int, std::pair<unsigned int, std::function<void (int, unsigned int)> >, std::less<int>, std::allocator<std::pair<int const, std::pair<unsigned int, std::function<void (int, unsigned int)> > > > >::operator[](int const&) (stl_map.h:500)
   by 0x4FA029: EventLoop::registerSocket(int, unsigned int, std::function<void (int, unsigned int)>&&) (EventLoop.cpp:445)
   by 0x50A213: SocketClient::SocketClient(int, unsigned int) (SocketClient.cpp:40)
   by 0x50E5EF: SocketServer::nextConnection() (SocketServer.cpp:181)
   by 0x4AFD44: Server::onNewConnection(SocketServer*) (Server.cpp:276)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
440 bytes in 5 blocks are still reachable in loss record 193 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46BF3B: allocate (new_allocator.h:104)
   by 0x46BF3B: allocate (alloc_traits.h:357)
   by 0x46BF3B: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x46BF3B: _M_allocate_buckets (hashtable.h:347)
   by 0x46BF3B: void std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign<std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, String>, true> const*)#1}>(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&, std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, String>, true> const*)#1} const&) (hashtable.h:950)
   by 0x468B20: _Hashtable (hashtable.h:1109)
   by 0x468B20: unordered_map (unordered_map.h:169)
   by 0x468B20: Hash (Hash.h:21)
   by 0x468B20: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:29)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
454 bytes in 5 blocks are possibly lost in loss record 194 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4B2278: String (String.h:28)
   by 0x4B2278: Path (Path.h:26)
   by 0x4B2278: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:511)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
480 bytes in 10 blocks are still reachable in loss record 195 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
480 bytes in 10 blocks are still reachable in loss record 196 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
480 bytes in 10 blocks are still reachable in loss record 197 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
480 bytes in 10 blocks are still reachable in loss record 198 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
510 bytes in 5 blocks are possibly lost in loss record 199 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B544B7: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5007F3: operator+= (basic_string.h:950)
   by 0x5007F3: operator+= (String.h:402)
   by 0x5007F3: operator+ (String.h:830)
   by 0x5007F3: Path::resolve(Path::ResolveMode, Path const&, bool*) (Path.cpp:189)
   by 0x500565: Path::resolved(String const&, Path::ResolveMode, Path const&, bool*) (Path.cpp:109)
   by 0x4EB0BA: findFileInPath(Path const&, Path const&, List<Path> const&) (Source.cpp:141)
   by 0x4E778B: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:627)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
==21435==
512 bytes in 1 blocks are still reachable in loss record 200 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50D9AE: allocate (new_allocator.h:104)
   by 0x50D9AE: _M_allocate_node (stl_deque.h:538)
   by 0x50D9AE: _M_create_nodes (stl_deque.h:632)
   by 0x50D9AE: _M_initialize_map (stl_deque.h:606)
   by 0x50D9AE: _Deque_base (stl_deque.h:458)
   by 0x50D9AE: deque (stl_deque.h:788)
   by 0x50D9AE: SocketServer::SocketServer() (SocketServer.cpp:17)
   by 0x4AE344: Server::initUnixServer() (Server.cpp:239)
   by 0x4AC59F: Server::init(Server::Options const&) (Server.cpp:159)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
512 bytes in 1 blocks are still reachable in loss record 201 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4F988A: allocate (new_allocator.h:104)
   by 0x4F988A: _M_allocate_node (stl_deque.h:538)
   by 0x4F988A: _M_push_back_aux<Event *const &> (deque.tcc:452)
   by 0x4F988A: push_back (stl_deque.h:1407)
   by 0x4F988A: push (stl_queue.h:216)
   by 0x4F988A: EventLoop::post(Event*) (EventLoop.cpp:257)
   by 0x476B14: void EventLoop::deleteLater<Process>(Process*) (EventLoop.h:105)
   by 0x475D0A: operator() (JobScheduler.cpp:170)
   by 0x475D0A: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
528 bytes in 2 blocks are still reachable in loss record 202 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4467A4: allocate (new_allocator.h:104)
   by 0x4467A4: allocate (alloc_traits.h:357)
   by 0x4467A4: _M_allocate (stl_vector.h:170)
   by 0x4467A4: _M_allocate_and_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > > > (stl_vector.h:1224)
   by 0x4467A4: std::vector<String, std::allocator<String> >::operator=(std::vector<String, std::allocator<String> > const&) (vector.tcc:194)
   by 0x451297: operator= (List.h:13)
   by 0x451297: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
570 bytes in 15 blocks are possibly lost in loss record 203 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4E5F38: substr (basic_string.h:2226)
   by 0x4E5F38: left (String.h:538)
   by 0x4E5F38: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:507)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
576 bytes in 1 blocks are possibly lost in loss record 204 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4012E44: allocate_dtv (dl-tls.c:296)
   by 0x4012E44: _dl_allocate_tls (dl-tls.c:460)
   by 0x6403CC0: allocate_stack (allocatestack.c:589)
   by 0x6403CC0: pthread_create@@GLIBC_2.2.5 (pthread_create.c:495)
   by 0x50F8AB: Thread::start(Thread::Priority, unsigned long) (Thread.cpp:56)
   by 0x640872F: pthread_once (pthread_once.S:103)
   by 0x504226: __gthread_once (gthr-default.h:699)
   by 0x504226: call_once<void (&)()> (mutex:746)
   by 0x504226: Process::Process() (Process.cpp:226)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
664 bytes in 1 blocks are still reachable in loss record 205 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x431AE3: main (rdm.cpp:691)
==21435==
921 bytes in 1 blocks are possibly lost in loss record 206 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x479ED3: resize (basic_string.h:763)
   by 0x479ED3: resize (String.h:323)
   by 0x479ED3: operator>><String> (Serializer.h:463)
   by 0x479ED3: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:421)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
1,024 bytes in 1 blocks are still reachable in loss record 207 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7F05383: llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x7CB3022: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 208 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CB4C92: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 209 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CB6DE5: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 210 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CB72F3: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 211 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CBA425: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 212 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CBC35E: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 213 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CBE971: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 214 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CC02BA: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 215 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CC395C: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 216 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CC7BE0: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 217 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CC9BDC: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 218 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CCBB42: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 219 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x7CD2DBF: ??? (in /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
1,040 bytes in 1 blocks are still reachable in loss record 220 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x46DF61: JobScheduler::startJobs() (JobScheduler.cpp:87)
   by 0x489237: ~JobScope (JobScheduler.h:42)
   by 0x489237: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1068)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
1,040 bytes in 5 blocks are still reachable in loss record 221 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x450B5B: allocate (new_allocator.h:104)
   by 0x450B5B: allocate (alloc_traits.h:357)
   by 0x450B5B: _M_allocate (stl_vector.h:170)
   by 0x450B5B: _M_create_storage (stl_vector.h:185)
   by 0x450B5B: _Vector_base (stl_vector.h:136)
   by 0x450B5B: vector (stl_vector.h:321)
   by 0x450B5B: List (List.h:13)
   by 0x450B5B: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
1,104 bytes in 6 blocks are still reachable in loss record 222 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A2304: allocate (new_allocator.h:104)
   by 0x4A2304: allocate (alloc_traits.h:357)
   by 0x4A2304: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A2304: _M_allocate_buckets (hashtable.h:347)
   by 0x4A2304: std::_Hashtable<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A2262: _M_rehash (hashtable.h:1980)
   by 0x4A2262: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A2262: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x48BC05: operator[] (unordered_map.h:627)
   by 0x48BC05: operator[] (Hash.h:113)
   by 0x48BC05: include (Project.h:50)
   by 0x48BC05: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:963)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
1,170 bytes in 30 blocks are possibly lost in loss record 223 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4E5EA5: substr (basic_string.h:2226)
   by 0x4E5EA5: mid (String.h:533)
   by 0x4E5EA5: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:500)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
1,512 bytes in 1 blocks are still reachable in loss record 224 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AED11: addProject (Server.cpp:267)
   by 0x4AED11: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
2,030 bytes in 34 blocks are possibly lost in loss record 225 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x432D7E: String::split(char, unsigned int) const (String.h:576)
   by 0x4AB8B3: Rct::pathEnvironment() (Rct.h:151)
   by 0x4AB735: Server::Server() (Server.cpp:91)
   by 0x431AF3: main (rdm.cpp:691)
==21435==
2,048 bytes in 4 blocks are still reachable in loss record 226 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46E3F2: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
2,048 bytes in 4 blocks are still reachable in loss record 227 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x504043: allocate (new_allocator.h:104)
   by 0x504043: _M_allocate_node (stl_deque.h:538)
   by 0x504043: _M_create_nodes (stl_deque.h:632)
   by 0x504043: _M_initialize_map (stl_deque.h:606)
   by 0x504043: _Deque_base (stl_deque.h:458)
   by 0x504043: deque (stl_deque.h:788)
   by 0x504043: Process::Process() (Process.cpp:222)
   by 0x46E3FD: JobScheduler::startJobs() (JobScheduler.cpp:133)
   by 0x476893: operator() (JobScheduler.cpp:196)
   by 0x476893: std::_Function_handler<void (Process*), JobScheduler::startJobs()::$_2>::_M_invoke(std::_Any_data const&, Process*) (functional:2039)
   by 0x506F6A: operator() (functional:2439)
   by 0x506F6A: void Signal<std::function<void (Process*)> >::operator()<Process*>(Process*&&) (SignalSlot.h:69)
   by 0x503628: Process::finish(int) (Process.cpp:696)
   by 0x4FAFD6: EventLoop::sendPostedEvents() (EventLoop.cpp:287)
   by 0x4FAD77: EventLoop::exec(int) (EventLoop.cpp:850)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
2,080 bytes in 5 blocks are still reachable in loss record 228 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4B5CED: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
2,088 bytes in 87 blocks are still reachable in loss record 229 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x48B777: operator[] (unordered_map.h:627)
   by 0x48B777: operator[] (Hash.h:113)
   by 0x48B777: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:937)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
2,976 bytes in 62 blocks are still reachable in loss record 230 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
3,072 bytes in 64 blocks are still reachable in loss record 231 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
3,192 bytes in 133 blocks are still reachable in loss record 232 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DE0F: allocate (new_allocator.h:104)
   by 0x45DE0F: allocate (alloc_traits.h:357)
   by 0x45DE0F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x45DE0F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4C61AA: operator[] (unordered_map.h:627)
   by 0x4C61AA: operator[] (Hash.h:113)
   by 0x4C61AA: Location::insertFile(Path const&) (Location.h:96)
   by 0x4B3214: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1554)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
3,216 bytes in 134 blocks are still reachable in loss record 233 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DE0F: allocate (new_allocator.h:104)
   by 0x45DE0F: allocate (alloc_traits.h:357)
   by 0x45DE0F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x45DE0F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4C654E: operator[] (unordered_map.h:627)
   by 0x4C654E: operator[] (Hash.h:113)
   by 0x4C654E: Project::visitFile(unsigned int, Path const&, unsigned long) (Project.h:364)
   by 0x4B3255: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1555)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
3,320 bytes in 5 blocks are still reachable in loss record 234 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x50E5CD: SocketServer::nextConnection() (SocketServer.cpp:181)
   by 0x4AFD44: Server::onNewConnection(SocketServer*) (Server.cpp:276)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
3,520 bytes in 88 blocks are still reachable in loss record 235 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4C6626: allocate (new_allocator.h:104)
   by 0x4C6626: allocate (alloc_traits.h:357)
   by 0x4C6626: _M_get_node (stl_tree.h:385)
   by 0x4C6626: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x4C6626: _M_insert_<const unsigned int &> (stl_tree.h:1143)
   by 0x4C6626: _M_insert_unique<const unsigned int &> (stl_tree.h:1501)
   by 0x4C6626: insert (stl_set.h:502)
   by 0x4C6626: insert (Set.h:73)
   by 0x4C6626: Project::visitFile(unsigned int, Path const&, unsigned long) (Project.h:371)
   by 0x4B3255: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1555)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
3,760 bytes in 5 blocks are still reachable in loss record 236 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4AFD89: create (Connection.h:26)
   by 0x4AFD89: Server::onNewConnection(SocketServer*) (Server.cpp:280)
   by 0x50E7BA: operator() (functional:2439)
   by 0x50E7BA: void Signal<std::function<void (SocketServer*)> >::operator()<SocketServer*>(SocketServer*&&) (SignalSlot.h:69)
   by 0x50E465: SocketServer::socketCallback(int, int) (SocketServer.cpp:215)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
4,064 bytes in 127 blocks are still reachable in loss record 237 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x49A9AA: allocate (new_allocator.h:104)
   by 0x49A9AA: allocate (alloc_traits.h:357)
   by 0x49A9AA: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x49A9AA: std::__detail::_Map_base<Path, std::pair<Path const, Flags<Project::WatchMode> >, std::allocator<std::pair<Path const, Flags<Project::WatchMode> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x48F464: operator[] (unordered_map.h:627)
   by 0x48F464: operator[] (Hash.h:113)
   by 0x48F464: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1256)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x4845B9: Project::init() (Project.cpp:418)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
4,256 bytes in 133 blocks are still reachable in loss record 238 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DB8A: allocate (new_allocator.h:104)
   by 0x45DB8A: allocate (alloc_traits.h:357)
   by 0x45DB8A: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x45DB8A: std::__detail::_Map_base<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x4C617F: operator[] (unordered_map.h:627)
   by 0x4C617F: operator[] (Hash.h:113)
   by 0x4C617F: Location::insertFile(Path const&) (Location.h:93)
   by 0x4B3214: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1554)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
4,728 bytes in 15 blocks are still reachable in loss record 239 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A2304: allocate (new_allocator.h:104)
   by 0x4A2304: allocate (alloc_traits.h:357)
   by 0x4A2304: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A2304: _M_allocate_buckets (hashtable.h:347)
   by 0x4A2304: std::_Hashtable<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A2262: _M_rehash (hashtable.h:1980)
   by 0x4A2262: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A2262: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x48BC14: operator[] (unordered_map.h:627)
   by 0x48BC14: operator[] (Hash.h:113)
   by 0x48BC14: include (Project.h:52)
   by 0x48BC14: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:963)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
5,120 bytes in 128 blocks are still reachable in loss record 240 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BA3B: allocate (new_allocator.h:104)
   by 0x47BA3B: allocate (alloc_traits.h:357)
   by 0x47BA3B: _M_get_node (stl_tree.h:385)
   by 0x47BA3B: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x47BA3B: _M_clone_node (stl_tree.h:445)
   by 0x47BA3B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
   by 0x479F5F: operator= (stl_tree.h:1117)
   by 0x479F5F: operator= (stl_set.h:265)
   by 0x479F5F: operator= (Set.h:9)
   by 0x479F5F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x47594B: IndexDataMessage::decode(Deserializer&) (IndexDataMessage.h:135)
   by 0x4F3359: Message::MessageCreator<IndexDataMessage>::create(char const*, int) (Message.h:61)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
5,200 bytes in 5 blocks are still reachable in loss record 241 of 336
   at 0x4C2CC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7578880: __new_exitfn (cxa_atexit.c:101)
   by 0x7578928: __internal_atexit (cxa_atexit.c:35)
   by 0x7578928: __cxa_atexit (cxa_atexit.c:58)
   by 0x4010139: call_init.part.0 (dl-init.c:78)
   by 0x4010222: call_init (dl-init.c:36)
   by 0x4010222: _dl_init (dl-init.c:126)
   by 0x4001249: ??? (in /lib/x86_64-linux-gnu/ld-2.19.so)
==21435==
5,936 bytes in 5 blocks are still reachable in loss record 242 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x450A99: allocate (new_allocator.h:104)
   by 0x450A99: allocate (alloc_traits.h:357)
   by 0x450A99: _M_allocate (stl_vector.h:170)
   by 0x450A99: _M_create_storage (stl_vector.h:185)
   by 0x450A99: _Vector_base (stl_vector.h:136)
   by 0x450A99: vector (stl_vector.h:321)
   by 0x450A99: List (List.h:13)
   by 0x450A99: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x4B5D9D: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
6,096 bytes in 127 blocks are still reachable in loss record 243 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51ACED: allocate (new_allocator.h:104)
   by 0x51ACED: allocate (alloc_traits.h:357)
   by 0x51ACED: _M_get_node (stl_tree.h:385)
   by 0x51ACED: _M_create_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (stl_tree.h:417)
   by 0x51ACED: std::_Rb_tree_iterator<std::pair<Path const, int> > std::_Rb_tree<Path, std::pair<Path const, int>, std::_Select1st<std::pair<Path const, int> >, std::less<Path>, std::allocator<std::pair<Path const, int> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<Path const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<Path const, int> >, std::piecewise_construct_t const&, std::tuple<Path const&>&&, std::tuple<>&&) (stl_tree.h:1790)
   by 0x51ACB1: std::map<Path, int, std::less<Path>, std::allocator<std::pair<Path const, int> > >::operator[](Path const&) (stl_map.h:500)
   by 0x51A4EE: operator[] (Map.h:111)
   by 0x51A4EE: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:69)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x4845B9: Project::init() (Project.cpp:418)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
6,096 bytes in 127 blocks are still reachable in loss record 244 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51A95B: allocate (new_allocator.h:104)
   by 0x51A95B: allocate (alloc_traits.h:357)
   by 0x51A95B: _M_get_node (stl_tree.h:385)
   by 0x51A95B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x51A95B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x51A95B: std::map<int, Path, std::less<int>, std::allocator<std::pair<int const, Path> > >::operator[](int const&) (stl_map.h:500)
   by 0x51A502: operator[] (Map.h:111)
   by 0x51A502: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:70)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x4845B9: Project::init() (Project.cpp:418)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
7,128 bytes in 81 blocks are still reachable in loss record 245 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x48D736: allocate (new_allocator.h:104)
   by 0x48D736: allocate (alloc_traits.h:357)
   by 0x48D736: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x48D736: _M_allocate_buckets (hashtable.h:347)
   by 0x48D736: _Hashtable (hashtable.h:802)
   by 0x48D736: _Hashtable (hashtable.h:421)
   by 0x48D736: unordered_map (unordered_map.h:143)
   by 0x48D736: Hash (Hash.h:13)
   by 0x48D736: DependencyNode::DependencyNode(unsigned int) (Project.h:43)
   by 0x48B818: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:939)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
7,365 bytes in 128 blocks are possibly lost in loss record 246 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x47BBD9: String (String.h:42)
   by 0x47BBD9: pair<const String &, 0> (tuple:1101)
   by 0x47BBD9: pair<const String &> (tuple:1092)
   by 0x47BBD9: construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (new_allocator.h:120)
   by 0x47BBD9: _S_construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (alloc_traits.h:253)
   by 0x47BBD9: construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (alloc_traits.h:399)
   by 0x47BBD9: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (hashtable_policy.h:1957)
   by 0x47BBD9: std::__detail::_Map_base<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](String const&) (hashtable_policy.h:601)
   by 0x479F17: operator[] (unordered_map.h:627)
   by 0x479F17: operator[] (Hash.h:113)
   by 0x479F17: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x47594B: IndexDataMessage::decode(Deserializer&) (IndexDataMessage.h:135)
   by 0x4F3359: Message::MessageCreator<IndexDataMessage>::create(char const*, int) (Message.h:61)
   by 0x4FF7E5: Message::create(int, char const*, int) (Message.cpp:86)
   by 0x4F5294: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:182)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
7,656 bytes in 87 blocks are still reachable in loss record 247 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x48D6E1: allocate (new_allocator.h:104)
   by 0x48D6E1: allocate (alloc_traits.h:357)
   by 0x48D6E1: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x48D6E1: _M_allocate_buckets (hashtable.h:347)
   by 0x48D6E1: _Hashtable (hashtable.h:802)
   by 0x48D6E1: _Hashtable (hashtable.h:421)
   by 0x48D6E1: unordered_map (unordered_map.h:143)
   by 0x48D6E1: Hash (Hash.h:13)
   by 0x48D6E1: DependencyNode::DependencyNode(unsigned int) (Project.h:43)
   by 0x48B818: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:939)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
7,904 bytes in 5 blocks are still reachable in loss record 248 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44C522: allocate (new_allocator.h:104)
   by 0x44C522: allocate (alloc_traits.h:357)
   by 0x44C522: _M_allocate (stl_vector.h:170)
   by 0x44C522: _M_allocate_and_copy<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > > > (stl_vector.h:1224)
   by 0x44C522: std::vector<Source::Include, std::allocator<Source::Include> >::operator=(std::vector<Source::Include, std::allocator<Source::Include> > const&) (vector.tcc:194)
   by 0x451284: operator= (List.h:13)
   by 0x451284: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4B5DE1: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:484)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
8,041 bytes in 161 blocks are possibly lost in loss record 249 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4E5000: String (String.h:28)
   by 0x4E5000: trim (Source.cpp:157)
   by 0x4E5000: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:404)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
9,216 bytes in 128 blocks are still reachable in loss record 250 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BBBC: allocate (new_allocator.h:104)
   by 0x47BBBC: allocate (alloc_traits.h:357)
   by 0x47BBBC: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x47BBBC: std::__detail::_Map_base<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](String const&) (hashtable_policy.h:601)
   by 0x48BDFA: operator[] (unordered_map.h:627)
   by 0x48BDFA: operator[] (Hash.h:113)
   by 0x48BDFA: Project::updateDeclarations(Set<unsigned int> const&, Hash<String, Set<unsigned int> >&) (Project.cpp:978)
   by 0x48A7B5: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:630)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
9,480 bytes in 395 blocks are still reachable in loss record 251 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x48BC05: operator[] (unordered_map.h:627)
   by 0x48BC05: operator[] (Hash.h:113)
   by 0x48BC05: include (Project.h:50)
   by 0x48BC05: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:963)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
pekenator commented 9 years ago
==21435==
9,480 bytes in 395 blocks are still reachable in loss record 252 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x48BC14: operator[] (unordered_map.h:627)
   by 0x48BC14: operator[] (Hash.h:113)
   by 0x48BC14: include (Project.h:52)
   by 0x48BC14: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:963)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
10,440 bytes in 87 blocks are still reachable in loss record 253 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x48B809: Project::updateDependencies(std::shared_ptr<IndexDataMessage> const&) (Project.cpp:939)
   by 0x48A79F: Project::onJobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (Project.cpp:629)
   by 0x4715C5: JobScheduler::jobFinished(std::shared_ptr<IndexerJob> const&, std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:260)
   by 0x471C11: JobScheduler::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&) (JobScheduler.cpp:220)
   by 0x4B2E68: Server::handleIndexDataMessage(std::shared_ptr<IndexDataMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:547)
   by 0x4B1A04: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:308)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
11,044 bytes in 127 blocks are possibly lost in loss record 254 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x500984: String (String.h:28)
   by 0x500984: Path::resolve(Path::ResolveMode, Path const&, bool*) (Path.cpp:218)
   by 0x500F45: Path::resolved(Path::ResolveMode, Path const&, bool*) const (Path.cpp:166)
   by 0x48F42B: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1254)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x4845B9: Project::init() (Project.cpp:418)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
12,179 bytes in 307 blocks are possibly lost in loss record 255 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x450BB1: String (String.h:42)
   by 0x450BB1: _Construct<String, const String &> (stl_construct.h:75)
   by 0x450BB1: __uninit_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:75)
   by 0x450BB1: uninitialized_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:122)
   by 0x450BB1: __uninitialized_copy_a<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *, String> (stl_uninitialized.h:278)
   by 0x450BB1: vector (stl_vector.h:322)
   by 0x450BB1: List (List.h:13)
   by 0x450BB1: Source::Source(Source const&) (Source.h:26)
   by 0x49E685: construct<Source, const Source &> (new_allocator.h:120)
   by 0x49E685: _S_construct<Source, const Source &> (alloc_traits.h:253)
   by 0x49E685: construct<Source, const Source &> (alloc_traits.h:399)
   by 0x49E685: void std::vector<Source, std::allocator<Source> >::_M_emplace_back_aux<Source const&>(Source const&) (vector.tcc:416)
   by 0x488B43: push_back (stl_vector.h:923)
   by 0x488B43: append (List.h:52)
   by 0x488B43: operator<< (List.h:359)
   by 0x488B43: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1042)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
13,928 bytes in 1 blocks are still reachable in loss record 256 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A1FC4: allocate (new_allocator.h:104)
   by 0x4A1FC4: allocate (alloc_traits.h:357)
   by 0x4A1FC4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A1FC4: _M_allocate_buckets (hashtable.h:347)
   by 0x4A1FC4: std::_Hashtable<unsigned long, std::pair<unsigned long const, std::shared_ptr<IndexerJob> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<IndexerJob> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A1F23: _M_rehash (hashtable.h:1980)
   by 0x4A1F23: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A1F23: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<IndexerJob> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<IndexerJob> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:604)
   by 0x486F67: operator[] (unordered_map.h:627)
   by 0x486F67: operator[] (Hash.h:113)
   by 0x486F67: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:785)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
13,928 bytes in 1 blocks are still reachable in loss record 257 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4799F4: allocate (new_allocator.h:104)
   by 0x4799F4: allocate (alloc_traits.h:357)
   by 0x4799F4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4799F4: _M_allocate_buckets (hashtable.h:347)
   by 0x4799F4: std::_Hashtable<unsigned long, std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x479953: _M_rehash (hashtable.h:1980)
   by 0x479953: _M_insert_unique_node (hashtable.h:1617)
   by 0x479953: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:604)
   by 0x46D327: operator[] (unordered_map.h:627)
   by 0x46D327: operator[] (Hash.h:113)
   by 0x46D327: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:53)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
14,080 bytes in 440 blocks are still reachable in loss record 258 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x49A9AA: allocate (new_allocator.h:104)
   by 0x49A9AA: allocate (alloc_traits.h:357)
   by 0x49A9AA: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x49A9AA: std::__detail::_Map_base<Path, std::pair<Path const, Flags<Project::WatchMode> >, std::allocator<std::pair<Path const, Flags<Project::WatchMode> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x48F464: operator[] (unordered_map.h:627)
   by 0x48F464: operator[] (Hash.h:113)
   by 0x48F464: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1256)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x48311A: Project::init() (Project.cpp:342)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
21,120 bytes in 440 blocks are still reachable in loss record 259 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51ACED: allocate (new_allocator.h:104)
   by 0x51ACED: allocate (alloc_traits.h:357)
   by 0x51ACED: _M_get_node (stl_tree.h:385)
   by 0x51ACED: _M_create_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (stl_tree.h:417)
   by 0x51ACED: std::_Rb_tree_iterator<std::pair<Path const, int> > std::_Rb_tree<Path, std::pair<Path const, int>, std::_Select1st<std::pair<Path const, int> >, std::less<Path>, std::allocator<std::pair<Path const, int> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<Path const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<Path const, int> >, std::piecewise_construct_t const&, std::tuple<Path const&>&&, std::tuple<>&&) (stl_tree.h:1790)
   by 0x51ACB1: std::map<Path, int, std::less<Path>, std::allocator<std::pair<Path const, int> > >::operator[](Path const&) (stl_map.h:500)
   by 0x51A4EE: operator[] (Map.h:111)
   by 0x51A4EE: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:69)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x48311A: Project::init() (Project.cpp:342)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
21,120 bytes in 440 blocks are still reachable in loss record 260 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51A95B: allocate (new_allocator.h:104)
   by 0x51A95B: allocate (alloc_traits.h:357)
   by 0x51A95B: _M_get_node (stl_tree.h:385)
   by 0x51A95B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x51A95B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x51A95B: std::map<int, Path, std::less<int>, std::allocator<std::pair<int const, Path> > >::operator[](int const&) (stl_map.h:500)
   by 0x51A502: operator[] (Map.h:111)
   by 0x51A502: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:70)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x48311A: Project::init() (Project.cpp:342)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
21,508 bytes in 133 blocks are possibly lost in loss record 261 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4B320C: String (String.h:42)
   by 0x4B320C: Path (Path.h:20)
   by 0x4B320C: file (VisitFileMessage.h:34)
   by 0x4B320C: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1554)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
21,593 bytes in 134 blocks are possibly lost in loss record 262 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4B3245: String (String.h:42)
   by 0x4B3245: Path (Path.h:20)
   by 0x4B3245: file (VisitFileMessage.h:34)
   by 0x4B3245: Server::handleVisitFileMessage(std::shared_ptr<VisitFileMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:1555)
   by 0x4B1707: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:316)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
23,712 bytes in 494 blocks are still reachable in loss record 263 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
24,432 bytes in 509 blocks are still reachable in loss record 264 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
29,912 bytes in 1 blocks are still reachable in loss record 265 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DEF4: allocate (new_allocator.h:104)
   by 0x45DEF4: allocate (alloc_traits.h:357)
   by 0x45DEF4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x45DEF4: _M_allocate_buckets (hashtable.h:347)
   by 0x45DEF4: std::_Hashtable<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x45DE59: _M_rehash (hashtable.h:1980)
   by 0x45DE59: _M_insert_unique_node (hashtable.h:1617)
   by 0x45DE59: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x4A09FD: operator[] (unordered_map.h:627)
   by 0x4A09FD: operator[] (Hash.h:113)
   by 0x4A09FD: Deserializer& operator>><unsigned int, Path>(Deserializer&, Hash<unsigned int, Path>&) (Serializer.h:422)
   by 0x482F3D: operator>><Hash<unsigned int, Path> > (DataFile.h:105)
   by 0x482F3D: Project::init() (Project.cpp:336)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
29,912 bytes in 1 blocks are still reachable in loss record 266 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A2304: allocate (new_allocator.h:104)
   by 0x4A2304: allocate (alloc_traits.h:357)
   by 0x4A2304: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A2304: _M_allocate_buckets (hashtable.h:347)
   by 0x4A2304: std::_Hashtable<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A2262: _M_rehash (hashtable.h:1980)
   by 0x4A2262: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A2262: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x482FF4: operator[] (unordered_map.h:627)
   by 0x482FF4: operator[] (Hash.h:113)
   by 0x482FF4: loadDependencies (Project.cpp:204)
   by 0x482FF4: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
29,912 bytes in 1 blocks are still reachable in loss record 267 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x49AAE4: allocate (new_allocator.h:104)
   by 0x49AAE4: allocate (alloc_traits.h:357)
   by 0x49AAE4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x49AAE4: _M_allocate_buckets (hashtable.h:347)
   by 0x49AAE4: std::_Hashtable<Path, std::pair<Path const, Flags<Project::WatchMode> >, std::allocator<std::pair<Path const, Flags<Project::WatchMode> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x49A9FB: _M_rehash (hashtable.h:1980)
   by 0x49A9FB: _M_insert_unique_node (hashtable.h:1617)
   by 0x49A9FB: std::__detail::_Map_base<Path, std::pair<Path const, Flags<Project::WatchMode> >, std::allocator<std::pair<Path const, Flags<Project::WatchMode> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:604)
   by 0x48F464: operator[] (unordered_map.h:627)
   by 0x48F464: operator[] (Hash.h:113)
   by 0x48F464: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1256)
   by 0x45F3AB: FileManager::watch(Path const&) (FileManager.cpp:154)
   by 0x45EBEA: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:63)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
30,390 bytes in 341 blocks are possibly lost in loss record 268 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54ED4: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54FA0: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x444C07: substr (basic_string.h:2226)
   by 0x444C07: String::mid(int, int) const (String.h:533)
   by 0x4EB4AC: addIncludeArg(List<Source::Include>&, List<String>&, Source::Include::Type, int, List<String> const&, int&, Path const&) (Source.cpp:209)
   by 0x4E642A: Source::parse(String const&, Flags<Source::ParseFlag>, Path const&, List<Path> const&, List<Path>*) (Source.cpp:540)
   by 0x4B5362: Server::index(String const&, Path const&, List<Path> const&, Path const&, Flags<IndexMessage::Flag>) (Server.cpp:445)
   by 0x4B2359: Server::handleIndexMessage(std::shared_ptr<IndexMessage> const&, std::shared_ptr<Connection> const&) (Server.cpp:522)
   by 0x4B168B: Server::onNewMessage(std::shared_ptr<Message> const&, std::shared_ptr<Connection> const&) (Server.cpp:297)
   by 0x4F769D: std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)>::operator()(std::shared_ptr<Message>, std::shared_ptr<Connection>) const (functional:2439)
   by 0x4F6BC5: void Signal<std::function<void (std::shared_ptr<Message>, std::shared_ptr<Connection>)> >::operator()<std::shared_ptr<Message>&, std::shared_ptr<Connection>&>(std::shared_ptr<Message>&, std::shared_ptr<Connection>&) (SignalSlot.h:69)
   by 0x4F53C4: Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (Connection.cpp:189)
   by 0x50D07C: operator() (functional:2439)
   by 0x50D07C: void Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (SignalSlot.h:69)
   by 0x50AA3C: SocketClient::socketCallback(int, int) (SocketClient.cpp:612)
   by 0x4FAC47: operator() (functional:2439)
   by 0x4FAC47: EventLoop::fireSocket(int, unsigned int) (EventLoop.cpp:684)
   by 0x4FA9E7: EventLoop::processSocketEvents(epoll_event*, int) (EventLoop.cpp:823)
   by 0x4FAED5: EventLoop::exec(int) (EventLoop.cpp:941)
   by 0x4325C1: main (rdm.cpp:736)
==21435==
30,624 bytes in 1,276 blocks are still reachable in loss record 269 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x488D77: __shared_count<IndexerJob *> (shared_ptr_base.h:569)
   by 0x488D77: __shared_ptr<IndexerJob> (shared_ptr_base.h:871)
   by 0x488D77: shared_ptr<IndexerJob> (shared_ptr.h:113)
   by 0x488D77: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
30,624 bytes in 1,276 blocks are still reachable in loss record 270 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46D220: __shared_count<JobScheduler::Node *> (shared_ptr_base.h:569)
   by 0x46D220: __shared_ptr<JobScheduler::Node> (shared_ptr_base.h:871)
   by 0x46D220: shared_ptr<JobScheduler::Node> (shared_ptr.h:113)
   by 0x46D220: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:39)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
40,704 bytes in 1,272 blocks are still reachable in loss record 271 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x479910: allocate (new_allocator.h:104)
   by 0x479910: allocate (alloc_traits.h:357)
   by 0x479910: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned long &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x479910: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<JobScheduler::Node> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:601)
   by 0x46D327: operator[] (unordered_map.h:627)
   by 0x46D327: operator[] (Hash.h:113)
   by 0x46D327: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:53)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
40,960 bytes in 1,280 blocks are still reachable in loss record 272 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A1EE0: allocate (new_allocator.h:104)
   by 0x4A1EE0: allocate (alloc_traits.h:357)
   by 0x4A1EE0: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned long &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A1EE0: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, std::shared_ptr<IndexerJob> >, std::allocator<std::pair<unsigned long const, std::shared_ptr<IndexerJob> > >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (hashtable_policy.h:601)
   by 0x486F67: operator[] (unordered_map.h:627)
   by 0x486F67: operator[] (Hash.h:113)
   by 0x486F67: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:785)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
51,040 bytes in 1,276 blocks are still reachable in loss record 273 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46B7AC: allocate (new_allocator.h:104)
   by 0x46B7AC: allocate (alloc_traits.h:357)
   by 0x46B7AC: _M_get_node (stl_tree.h:385)
   by 0x46B7AC: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x46B7AC: _M_insert_<const unsigned int &> (stl_tree.h:1143)
   by 0x46B7AC: std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int const&>(unsigned int const&) (stl_tree.h:1501)
   by 0x468D15: insert (stl_set.h:502)
   by 0x468D15: insert (Set.h:73)
   by 0x468D15: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:46)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
58,048 bytes in 284 blocks are still reachable in loss record 274 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A2304: allocate (new_allocator.h:104)
   by 0x4A2304: allocate (alloc_traits.h:357)
   by 0x4A2304: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A2304: _M_allocate_buckets (hashtable.h:347)
   by 0x4A2304: std::_Hashtable<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A2262: _M_rehash (hashtable.h:1980)
   by 0x4A2262: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A2262: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x4830CE: operator[] (unordered_map.h:627)
   by 0x4830CE: operator[] (Hash.h:113)
   by 0x4830CE: include (Project.h:50)
   by 0x4830CE: loadDependencies (Project.cpp:219)
   by 0x4830CE: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
59,717 bytes in 440 blocks are possibly lost in loss record 275 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x500984: String (String.h:28)
   by 0x500984: Path::resolve(Path::ResolveMode, Path const&, bool*) (Path.cpp:218)
   by 0x500F45: Path::resolved(Path::ResolveMode, Path const&, bool*) const (Path.cpp:166)
   by 0x48F42B: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1254)
   by 0x4872E8: Project::watchFile(unsigned int) (Project.cpp:1267)
   by 0x48311A: Project::init() (Project.cpp:342)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
60,136 bytes in 1 blocks are still reachable in loss record 276 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4D1653: allocate (new_allocator.h:104)
   by 0x4D1653: allocate (alloc_traits.h:357)
   by 0x4D1653: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4D1653: _M_allocate_buckets (hashtable.h:347)
   by 0x4D1653: std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&) (hashtable.h:901)
   by 0x4C66BD: operator= (unordered_map.h:224)
   by 0x4C66BD: operator= (Hash.h:22)
   by 0x4C66BD: Location::init(Hash<Path, unsigned int> const&) (Location.h:233)
   by 0x4AE9E8: Server::load() (Server.cpp:1568)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
60,136 bytes in 1 blocks are still reachable in loss record 277 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DEF4: allocate (new_allocator.h:104)
   by 0x45DEF4: allocate (alloc_traits.h:357)
   by 0x45DEF4: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x45DEF4: _M_allocate_buckets (hashtable.h:347)
   by 0x45DEF4: std::_Hashtable<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x45DE59: _M_rehash (hashtable.h:1980)
   by 0x45DE59: _M_insert_unique_node (hashtable.h:1617)
   by 0x45DE59: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x4C677F: operator[] (unordered_map.h:627)
   by 0x4C677F: operator[] (Hash.h:113)
   by 0x4C677F: Location::init(Hash<Path, unsigned int> const&) (Location.h:237)
   by 0x4AE9E8: Server::load() (Server.cpp:1568)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
60,136 bytes in 1 blocks are still reachable in loss record 278 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BD04: allocate (new_allocator.h:104)
   by 0x47BD04: allocate (alloc_traits.h:357)
   by 0x47BD04: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x47BD04: _M_allocate_buckets (hashtable.h:347)
   by 0x47BD04: std::_Hashtable<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x47BC25: _M_rehash (hashtable.h:1980)
   by 0x47BC25: _M_insert_unique_node (hashtable.h:1617)
   by 0x47BC25: std::__detail::_Map_base<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](String const&) (hashtable_policy.h:604)
   by 0x479F17: operator[] (unordered_map.h:627)
   by 0x479F17: operator[] (Hash.h:113)
   by 0x479F17: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 279 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 280 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 281 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 282 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 283 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 284 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
61,248 bytes in 1,276 blocks are still reachable in loss record 285 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 286 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 287 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 288 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 289 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 290 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 291 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x44B0C3: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1213)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
63,168 bytes in 1,316 blocks are still reachable in loss record 292 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B081: allocate (new_allocator.h:104)
   by 0x44B081: allocate (alloc_traits.h:357)
   by 0x44B081: _M_get_node (stl_tree.h:385)
   by 0x44B081: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B081: _M_clone_node (stl_tree.h:445)
   by 0x44B081: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1207)
   by 0x44B132: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1223)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
65,856 bytes in 1,372 blocks are still reachable in loss record 293 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B854: allocate (new_allocator.h:104)
   by 0x44B854: allocate (alloc_traits.h:357)
   by 0x44B854: _M_get_node (stl_tree.h:385)
   by 0x44B854: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B854: std::_Rb_tree_iterator<Source::Define> std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_insert_<Source::Define const&>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, Source::Define const&) (stl_tree.h:1143)
   by 0x4A18C8: _M_insert_unique<const Source::Define &> (stl_tree.h:1501)
   by 0x4A18C8: insert (stl_set.h:502)
   by 0x4A18C8: insert (Set.h:73)
   by 0x4A18C8: Deserializer& operator>><Source::Define>(Deserializer&, Set<Source::Define>&) (Serializer.h:452)
   by 0x4A1561: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
74,336 bytes in 2,323 blocks are still reachable in loss record 294 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x49A9AA: allocate (new_allocator.h:104)
   by 0x49A9AA: allocate (alloc_traits.h:357)
   by 0x49A9AA: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x49A9AA: std::__detail::_Map_base<Path, std::pair<Path const, Flags<Project::WatchMode> >, std::allocator<std::pair<Path const, Flags<Project::WatchMode> > >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x48F464: operator[] (unordered_map.h:627)
   by 0x48F464: operator[] (Hash.h:113)
   by 0x48F464: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1256)
   by 0x45F3AB: FileManager::watch(Path const&) (FileManager.cpp:154)
   by 0x45EBEA: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:63)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
74,544 bytes in 3,106 blocks are still reachable in loss record 295 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DE0F: allocate (new_allocator.h:104)
   by 0x45DE0F: allocate (alloc_traits.h:357)
   by 0x45DE0F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x45DE0F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4A09FD: operator[] (unordered_map.h:627)
   by 0x4A09FD: operator[] (Hash.h:113)
   by 0x4A09FD: Deserializer& operator>><unsigned int, Path>(Deserializer&, Hash<unsigned int, Path>&) (Serializer.h:422)
   by 0x482F3D: operator>><Hash<unsigned int, Path> > (DataFile.h:105)
   by 0x482F3D: Project::init() (Project.cpp:336)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
78,048 bytes in 3,252 blocks are still reachable in loss record 296 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x482FF4: operator[] (unordered_map.h:627)
   by 0x482FF4: operator[] (Hash.h:113)
   by 0x482FF4: loadDependencies (Project.cpp:204)
   by 0x482FF4: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
79,096 bytes in 3,005 blocks are possibly lost in loss record 297 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4A1AF9: resize (basic_string.h:763)
   by 0x4A1AF9: resize (String.h:323)
   by 0x4A1AF9: operator>><String> (Serializer.h:463)
   by 0x4A1AF9: Deserializer& operator>><Source::Define>(Deserializer&, Source::Define&) (Source.h:302)
   by 0x4A18AA: Deserializer& operator>><Source::Define>(Deserializer&, Set<Source::Define>&) (Serializer.h:451)
   by 0x4A1561: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
81,664 bytes in 1,276 blocks are still reachable in loss record 298 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46D1AD: JobScheduler::add(std::shared_ptr<IndexerJob> const&) (JobScheduler.cpp:39)
   by 0x48718C: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:798)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
91,676 bytes in 1,023 blocks are possibly lost in loss record 299 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x450AEF: String (String.h:42)
   by 0x450AEF: Path (Path.h:20)
   by 0x450AEF: Include (Source.h:95)
   by 0x450AEF: _Construct<Source::Include, const Source::Include &> (stl_construct.h:75)
   by 0x450AEF: __uninit_copy<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *> (stl_uninitialized.h:75)
   by 0x450AEF: uninitialized_copy<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *> (stl_uninitialized.h:122)
   by 0x450AEF: __uninitialized_copy_a<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *, Source::Include> (stl_uninitialized.h:278)
   by 0x450AEF: vector (stl_vector.h:322)
   by 0x450AEF: List (List.h:13)
   by 0x450AEF: Source::Source(Source const&) (Source.h:26)
   by 0x49E685: construct<Source, const Source &> (new_allocator.h:120)
   by 0x49E685: _S_construct<Source, const Source &> (alloc_traits.h:253)
   by 0x49E685: construct<Source, const Source &> (alloc_traits.h:399)
   by 0x49E685: void std::vector<Source, std::allocator<Source> >::_M_emplace_back_aux<Source const&>(Source const&) (vector.tcc:416)
   by 0x488B43: push_back (stl_vector.h:923)
   by 0x488B43: append (List.h:52)
   by 0x488B43: operator<< (List.h:359)
   by 0x488B43: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1042)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
97,976 bytes in 257 blocks are still reachable in loss record 300 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A2304: allocate (new_allocator.h:104)
   by 0x4A2304: allocate (alloc_traits.h:357)
   by 0x4A2304: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x4A2304: _M_allocate_buckets (hashtable.h:347)
   by 0x4A2304: std::_Hashtable<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2001)
   by 0x4A2262: _M_rehash (hashtable.h:1980)
   by 0x4A2262: _M_insert_unique_node (hashtable.h:1617)
   by 0x4A2262: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
   by 0x4830DD: operator[] (unordered_map.h:627)
   by 0x4830DD: operator[] (Hash.h:113)
   by 0x4830DD: include (Project.h:52)
   by 0x4830DD: loadDependencies (Project.cpp:219)
   by 0x4830DD: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
109,800 bytes in 4,575 blocks are still reachable in loss record 301 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45DE0F: allocate (new_allocator.h:104)
   by 0x45DE0F: allocate (alloc_traits.h:357)
   by 0x45DE0F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x45DE0F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Path>, std::allocator<std::pair<unsigned int const, Path> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4C677F: operator[] (unordered_map.h:627)
   by 0x4C677F: operator[] (Hash.h:113)
   by 0x4C677F: Location::init(Hash<Path, unsigned int> const&) (Location.h:237)
   by 0x4AE9E8: Server::load() (Server.cpp:1568)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
111,504 bytes in 2,323 blocks are still reachable in loss record 302 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51ACED: allocate (new_allocator.h:104)
   by 0x51ACED: allocate (alloc_traits.h:357)
   by 0x51ACED: _M_get_node (stl_tree.h:385)
   by 0x51ACED: _M_create_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (stl_tree.h:417)
   by 0x51ACED: std::_Rb_tree_iterator<std::pair<Path const, int> > std::_Rb_tree<Path, std::pair<Path const, int>, std::_Select1st<std::pair<Path const, int> >, std::less<Path>, std::allocator<std::pair<Path const, int> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<Path const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<Path const, int> >, std::piecewise_construct_t const&, std::tuple<Path const&>&&, std::tuple<>&&) (stl_tree.h:1790)
   by 0x51ACB1: std::map<Path, int, std::less<Path>, std::allocator<std::pair<Path const, int> > >::operator[](Path const&) (stl_map.h:500)
   by 0x51A4EE: operator[] (Map.h:111)
   by 0x51A4EE: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:69)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x45F3AB: FileManager::watch(Path const&) (FileManager.cpp:154)
   by 0x45EBEA: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:63)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
111,504 bytes in 2,323 blocks are still reachable in loss record 303 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x51A95B: allocate (new_allocator.h:104)
   by 0x51A95B: allocate (alloc_traits.h:357)
   by 0x51A95B: _M_get_node (stl_tree.h:385)
   by 0x51A95B: _M_create_node<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:417)
   by 0x51A95B: _M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<> > (stl_tree.h:1790)
   by 0x51A95B: std::map<int, Path, std::less<int>, std::allocator<std::pair<int const, Path> > >::operator[](int const&) (stl_map.h:500)
   by 0x51A502: operator[] (Map.h:111)
   by 0x51A502: FileSystemWatcher::watch(Path const&) (FileSystemWatcher_inotify.cpp:70)
   by 0x48F482: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1258)
   by 0x45F3AB: FileManager::watch(Path const&) (FileManager.cpp:154)
   by 0x45EBEA: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:63)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
112,288 bytes in 1,276 blocks are still reachable in loss record 304 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46BF3B: allocate (new_allocator.h:104)
   by 0x46BF3B: allocate (alloc_traits.h:357)
   by 0x46BF3B: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x46BF3B: _M_allocate_buckets (hashtable.h:347)
   by 0x46BF3B: void std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign<std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, String>, true> const*)#1}>(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&, std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign(std::_Hashtable<Path, std::pair<Path const, String>, std::allocator<std::pair<Path const, String> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, String>, true> const*)#1} const&) (hashtable.h:950)
   by 0x468B20: _Hashtable (hashtable.h:1109)
   by 0x468B20: unordered_map (unordered_map.h:169)
   by 0x468B20: Hash (Hash.h:21)
   by 0x468B20: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:29)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
122,496 bytes in 2,552 blocks are still reachable in loss record 305 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x450A28: _Rb_tree (stl_tree.h:676)
   by 0x450A28: set (stl_set.h:197)
   by 0x450A28: Set (Set.h:9)
   by 0x450A28: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
126,336 bytes in 2,632 blocks are still reachable in loss record 306 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x44B0ED: allocate (new_allocator.h:104)
   by 0x44B0ED: allocate (alloc_traits.h:357)
   by 0x44B0ED: _M_get_node (stl_tree.h:385)
   by 0x44B0ED: _M_create_node<const Source::Define &> (stl_tree.h:417)
   by 0x44B0ED: _M_clone_node (stl_tree.h:445)
   by 0x44B0ED: std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_copy(std::_Rb_tree_node<Source::Define> const*, std::_Rb_tree_node<Source::Define>*) (stl_tree.h:1219)
   by 0x451244: operator= (stl_tree.h:1117)
   by 0x451244: operator= (stl_set.h:265)
   by 0x451244: operator= (Set.h:9)
   by 0x451244: Source::operator=(Source const&) (Source.h:26)
   by 0x486F51: Project::index(std::shared_ptr<IndexerJob> const&) (Project.cpp:782)
   by 0x4890EF: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1064)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
129,002 bytes in 4,924 blocks are possibly lost in loss record 307 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x44B873: String (String.h:42)
   by 0x44B873: Define (Source.h:73)
   by 0x44B873: construct<Source::Define, const Source::Define &> (new_allocator.h:120)
   by 0x44B873: _S_construct<Source::Define, const Source::Define &> (alloc_traits.h:253)
   by 0x44B873: construct<Source::Define, const Source::Define &> (alloc_traits.h:399)
   by 0x44B873: _M_create_node<const Source::Define &> (stl_tree.h:421)
   by 0x44B873: std::_Rb_tree_iterator<Source::Define> std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_insert_<Source::Define const&>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, Source::Define const&) (stl_tree.h:1143)
   by 0x4A18C8: _M_insert_unique<const Source::Define &> (stl_tree.h:1501)
   by 0x4A18C8: insert (stl_set.h:502)
   by 0x4A18C8: insert (Set.h:73)
   by 0x4A18C8: Deserializer& operator>><Source::Define>(Deserializer&, Set<Source::Define>&) (Serializer.h:452)
   by 0x4A1561: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
131,396 bytes in 1,462 blocks are possibly lost in loss record 308 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54B9B: std::string::assign(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x467D15: operator= (basic_string.h:555)
   by 0x467D15: operator= (String.h:56)
   by 0x467D15: operator= (Path.h:33)
   by 0x467D15: Source::operator=(Source&&) (Source.h:26)
   by 0x4A1341: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:389)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
133,734 bytes in 3,397 blocks are possibly lost in loss record 309 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x457440: resize (basic_string.h:763)
   by 0x457440: resize (String.h:323)
   by 0x457440: operator>><String> (Serializer.h:463)
   by 0x457440: Deserializer& operator>><String>(Deserializer&, List<String>&) (Serializer.h:436)
   by 0x4A157D: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:335)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
146,368 bytes in 4,574 blocks are still reachable in loss record 310 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4D18E9: allocate (new_allocator.h:104)
   by 0x4D18E9: allocate (alloc_traits.h:357)
   by 0x4D18E9: _M_allocate_node<const std::pair<const Path, unsigned int> &> (hashtable_policy.h:1951)
   by 0x4D18E9: operator()<const std::pair<const Path, unsigned int> &> (hashtable_policy.h:156)
   by 0x4D18E9: operator() (hashtable.h:917)
   by 0x4D18E9: void std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_assign<std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2}>(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&, std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&)::{lambda(std::__detail::_Hash_node<std::pair<Path const, unsigned int>, true> const*)#2} const&) (hashtable.h:969)
   by 0x4D16B6: std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::operator=(std::_Hashtable<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> > const&) (hashtable.h:915)
   by 0x4C66BD: operator= (unordered_map.h:224)
   by 0x4C66BD: operator= (Hash.h:22)
   by 0x4C66BD: Location::init(Hash<Path, unsigned int> const&) (Location.h:233)
   by 0x4AE9E8: Server::load() (Server.cpp:1568)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
149,054 bytes in 1,462 blocks are possibly lost in loss record 311 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54B9B: std::string::assign(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x467ABF: operator= (basic_string.h:555)
   by 0x467ABF: operator= (String.h:56)
   by 0x467ABF: operator= (Path.h:33)
   by 0x467ABF: Source::operator=(Source&&) (Source.h:26)
   by 0x4A1341: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:389)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
186,120 bytes in 4,653 blocks are still reachable in loss record 312 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BA3B: allocate (new_allocator.h:104)
   by 0x47BA3B: allocate (alloc_traits.h:357)
   by 0x47BA3B: _M_get_node (stl_tree.h:385)
   by 0x47BA3B: _M_create_node<const unsigned int &> (stl_tree.h:417)
   by 0x47BA3B: _M_clone_node (stl_tree.h:445)
   by 0x47BA3B: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*) (stl_tree.h:1207)
   by 0x479F5F: operator= (stl_tree.h:1117)
   by 0x479F5F: operator= (stl_set.h:265)
   by 0x479F5F: operator= (Set.h:9)
   by 0x479F5F: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
237,136 bytes in 1,276 blocks are still reachable in loss record 313 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x450B5B: allocate (new_allocator.h:104)
   by 0x450B5B: allocate (alloc_traits.h:357)
   by 0x450B5B: _M_allocate (stl_vector.h:170)
   by 0x450B5B: _M_create_storage (stl_vector.h:185)
   by 0x450B5B: _Vector_base (stl_vector.h:136)
   by 0x450B5B: vector (stl_vector.h:321)
   by 0x450B5B: List (List.h:13)
   by 0x450B5B: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
261,184 bytes in 2,968 blocks are still reachable in loss record 314 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x48D736: allocate (new_allocator.h:104)
   by 0x48D736: allocate (alloc_traits.h:357)
   by 0x48D736: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x48D736: _M_allocate_buckets (hashtable.h:347)
   by 0x48D736: _Hashtable (hashtable.h:802)
   by 0x48D736: _Hashtable (hashtable.h:421)
   by 0x48D736: unordered_map (unordered_map.h:143)
   by 0x48D736: Hash (Hash.h:13)
   by 0x48D736: DependencyNode::DependencyNode(unsigned int) (Project.h:43)
   by 0x482FE9: loadDependencies (Project.cpp:204)
   by 0x482FE9: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
262,240 bytes in 2,980 blocks are still reachable in loss record 315 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x48D6E1: allocate (new_allocator.h:104)
   by 0x48D6E1: allocate (alloc_traits.h:357)
   by 0x48D6E1: _M_allocate_buckets (hashtable_policy.h:1998)
   by 0x48D6E1: _M_allocate_buckets (hashtable.h:347)
   by 0x48D6E1: _Hashtable (hashtable.h:802)
   by 0x48D6E1: _Hashtable (hashtable.h:421)
   by 0x48D6E1: unordered_map (unordered_map.h:143)
   by 0x48D6E1: Hash (Hash.h:13)
   by 0x48D6E1: DependencyNode::DependencyNode(unsigned int) (Project.h:43)
   by 0x482FE9: loadDependencies (Project.cpp:204)
   by 0x482FE9: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
263,017 bytes in 2,323 blocks are possibly lost in loss record 316 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x500984: String (String.h:28)
   by 0x500984: Path::resolve(Path::ResolveMode, Path const&, bool*) (Path.cpp:218)
   by 0x500F45: Path::resolved(Path::ResolveMode, Path const&, bool*) const (Path.cpp:166)
   by 0x48F42B: Project::watch(Path const&, Project::WatchMode) (Project.cpp:1254)
   by 0x45F3AB: FileManager::watch(Path const&) (FileManager.cpp:154)
   by 0x45EBEA: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:63)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
272,296 bytes in 1,465 blocks are still reachable in loss record 317 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x453B14: allocate (new_allocator.h:104)
   by 0x453B14: allocate (alloc_traits.h:357)
   by 0x453B14: _M_allocate (stl_vector.h:170)
   by 0x453B14: std::vector<String, std::allocator<String> >::_M_default_append(unsigned long) (vector.tcc:557)
   by 0x457392: resize (stl_vector.h:676)
   by 0x457392: Deserializer& operator>><String>(Deserializer&, List<String>&) (Serializer.h:434)
   by 0x4A157D: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:335)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
295,328 bytes in 3,356 blocks are still reachable in loss record 318 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x46143D: allocate (new_allocator.h:104)
   by 0x46143D: allocate (alloc_traits.h:357)
   by 0x46143D: _M_get_node (stl_tree.h:385)
   by 0x46143D: _M_create_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (stl_tree.h:417)
   by 0x46143D: std::_Rb_tree_iterator<std::pair<Path const, Set<String> > > std::_Rb_tree<Path, std::pair<Path const, Set<String> >, std::_Select1st<std::pair<Path const, Set<String> > >, std::less<Path>, std::allocator<std::pair<Path const, Set<String> > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<Path const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<Path const, Set<String> > >, std::piecewise_construct_t const&, std::tuple<Path const&>&&, std::tuple<>&&) (stl_tree.h:1790)
   by 0x461401: std::map<Path, Set<String>, std::less<Path>, std::allocator<std::pair<Path const, Set<String> > > >::operator[](Path const&) (stl_map.h:500)
   by 0x45EBD3: operator[] (Map.h:111)
   by 0x45EBD3: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:61)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
305,136 bytes in 1,467 blocks are still reachable in loss record 319 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x49E8AF: allocate (new_allocator.h:104)
   by 0x49E8AF: allocate (alloc_traits.h:357)
   by 0x49E8AF: _M_get_node (stl_tree.h:385)
   by 0x49E8AF: _M_create_node<const std::piecewise_construct_t &, std::tuple<const unsigned long &>, std::tuple<> > (stl_tree.h:417)
   by 0x49E8AF: std::_Rb_tree_iterator<std::pair<unsigned long const, Source> > std::_Rb_tree<unsigned long, std::pair<unsigned long const, Source>, std::_Select1st<std::pair<unsigned long const, Source> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, Source> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<unsigned long const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<unsigned long const, Source> >, std::piecewise_construct_t const&, std::tuple<unsigned long const&>&&, std::tuple<>&&) (stl_tree.h:1790)
   by 0x4A1332: operator[] (stl_map.h:500)
   by 0x4A1332: operator[] (Map.h:111)
   by 0x4A1332: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:389)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
335,016 bytes in 4,653 blocks are still reachable in loss record 320 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x47BBBC: allocate (new_allocator.h:104)
   by 0x47BBBC: allocate (alloc_traits.h:357)
   by 0x47BBBC: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x47BBBC: std::__detail::_Map_base<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](String const&) (hashtable_policy.h:601)
   by 0x479F17: operator[] (unordered_map.h:627)
   by 0x479F17: operator[] (Hash.h:113)
   by 0x479F17: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
341,241 bytes in 4,652 blocks are possibly lost in loss record 321 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x47BBD9: String (String.h:42)
   by 0x47BBD9: pair<const String &, 0> (tuple:1101)
   by 0x47BBD9: pair<const String &> (tuple:1092)
   by 0x47BBD9: construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (new_allocator.h:120)
   by 0x47BBD9: _S_construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (alloc_traits.h:253)
   by 0x47BBD9: construct<std::pair<const String, Set<unsigned int> >, const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (alloc_traits.h:399)
   by 0x47BBD9: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const String &>, std::tuple<> > (hashtable_policy.h:1957)
   by 0x47BBD9: std::__detail::_Map_base<String, std::pair<String const, Set<unsigned int> >, std::allocator<std::pair<String const, Set<unsigned int> > >, std::__detail::_Select1st, std::equal_to<String>, std::hash<String>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](String const&) (hashtable_policy.h:601)
   by 0x479F17: operator[] (unordered_map.h:627)
   by 0x479F17: operator[] (Hash.h:113)
   by 0x479F17: Deserializer& operator>><String, Set<unsigned int> >(Deserializer&, Hash<String, Set<unsigned int> >&) (Serializer.h:422)
   by 0x482F63: operator>><Hash<String, Set<unsigned int> > > (DataFile.h:105)
   by 0x482F63: Project::init() (Project.cpp:338)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
351,960 bytes in 14,665 blocks are still reachable in loss record 322 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4830CE: operator[] (unordered_map.h:627)
   by 0x4830CE: operator[] (Hash.h:113)
   by 0x4830CE: include (Project.h:50)
   by 0x4830CE: loadDependencies (Project.cpp:219)
   by 0x4830CE: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
351,960 bytes in 14,665 blocks are still reachable in loss record 323 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A221F: allocate (new_allocator.h:104)
   by 0x4A221F: allocate (alloc_traits.h:357)
   by 0x4A221F: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const unsigned int &>, std::tuple<> > (hashtable_policy.h:1951)
   by 0x4A221F: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, DependencyNode*>, std::allocator<std::pair<unsigned int const, DependencyNode*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:601)
   by 0x4830DD: operator[] (unordered_map.h:627)
   by 0x4830DD: operator[] (Hash.h:113)
   by 0x4830DD: include (Project.h:52)
   by 0x4830DD: loadDependencies (Project.cpp:219)
   by 0x4830DD: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
356,645 bytes in 3,356 blocks are possibly lost in loss record 324 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B536F3: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x500238: resize (basic_string.h:763)
   by 0x500238: truncate (String.h:313)
   by 0x500238: Path::parentDir() const (Path.cpp:28)
   by 0x45EBB3: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:55)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
390,240 bytes in 3,252 blocks are still reachable in loss record 325 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x482FDC: loadDependencies (Project.cpp:204)
   by 0x482FDC: Project::init() (Project.cpp:339)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
482,374 bytes in 3,106 blocks are possibly lost in loss record 326 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54B9B: std::string::assign(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4A0A08: operator= (basic_string.h:555)
   by 0x4A0A08: operator= (String.h:56)
   by 0x4A0A08: operator= (Path.h:33)
   by 0x4A0A08: Deserializer& operator>><unsigned int, Path>(Deserializer&, Hash<unsigned int, Path>&) (Serializer.h:422)
   by 0x482F3D: operator>><Hash<unsigned int, Path> > (DataFile.h:105)
   by 0x482F3D: Project::init() (Project.cpp:336)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
530,816 bytes in 1,276 blocks are still reachable in loss record 327 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x488CE9: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
537,615 bytes in 13,789 blocks are possibly lost in loss record 328 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x44B863: String (String.h:42)
   by 0x44B863: Define (Source.h:73)
   by 0x44B863: construct<Source::Define, const Source::Define &> (new_allocator.h:120)
   by 0x44B863: _S_construct<Source::Define, const Source::Define &> (alloc_traits.h:253)
   by 0x44B863: construct<Source::Define, const Source::Define &> (alloc_traits.h:399)
   by 0x44B863: _M_create_node<const Source::Define &> (stl_tree.h:421)
   by 0x44B863: std::_Rb_tree_iterator<Source::Define> std::_Rb_tree<Source::Define, Source::Define, std::_Identity<Source::Define>, std::less<Source::Define>, std::allocator<Source::Define> >::_M_insert_<Source::Define const&>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, Source::Define const&) (stl_tree.h:1143)
   by 0x4A18C8: _M_insert_unique<const Source::Define &> (stl_tree.h:1501)
   by 0x4A18C8: insert (stl_set.h:502)
   by 0x4A18C8: insert (Set.h:73)
   by 0x4A18C8: Deserializer& operator>><Source::Define>(Deserializer&, Set<Source::Define>&) (Serializer.h:452)
   by 0x4A1561: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
638,708 bytes in 4,575 blocks are possibly lost in loss record 329 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x45DBAA: String (String.h:42)
   by 0x45DBAA: Path (Path.h:20)
   by 0x45DBAA: pair<const Path &, 0> (tuple:1101)
   by 0x45DBAA: pair<const Path &> (tuple:1092)
   by 0x45DBAA: construct<std::pair<const Path, unsigned int>, const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (new_allocator.h:120)
   by 0x45DBAA: _S_construct<std::pair<const Path, unsigned int>, const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (alloc_traits.h:253)
   by 0x45DBAA: construct<std::pair<const Path, unsigned int>, const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (alloc_traits.h:399)
   by 0x45DBAA: _M_allocate_node<const std::piecewise_construct_t &, std::tuple<const Path &>, std::tuple<> > (hashtable_policy.h:1957)
   by 0x45DBAA: std::__detail::_Map_base<Path, std::pair<Path const, unsigned int>, std::allocator<std::pair<Path const, unsigned int> >, std::__detail::_Select1st, std::equal_to<Path>, std::hash<Path>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](Path const&) (hashtable_policy.h:601)
   by 0x4CDCA7: operator[] (unordered_map.h:627)
   by 0x4CDCA7: operator[] (Hash.h:113)
   by 0x4CDCA7: Deserializer& operator>><Path, unsigned int>(Deserializer&, Hash<Path, unsigned int>&) (Serializer.h:422)
   by 0x4AE9E0: operator>><Hash<Path, unsigned int> > (DataFile.h:105)
   by 0x4AE9E0: Server::load() (Server.cpp:1567)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
640,360 bytes in 16,009 blocks are still reachable in loss record 330 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x45ECDD: allocate (new_allocator.h:104)
   by 0x45ECDD: allocate (alloc_traits.h:357)
   by 0x45ECDD: _M_get_node (stl_tree.h:385)
   by 0x45ECDD: _M_create_node<const String &> (stl_tree.h:417)
   by 0x45ECDD: _M_insert_<const String &> (stl_tree.h:1143)
   by 0x45ECDD: _M_insert_unique<const String &> (stl_tree.h:1501)
   by 0x45ECDD: insert (stl_set.h:502)
   by 0x45ECDD: insert (Set.h:73)
   by 0x45ECDD: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:66)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
678,952 bytes in 16,009 blocks are possibly lost in loss record 331 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B550D4: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5516B: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x45EC2E: String (String.h:28)
   by 0x45EC2E: FileManager::onRecurseJobFinished(Set<Path> const&) (FileManager.cpp:66)
   by 0x45E87C: FileManager::load(FileManager::Mode) (FileManager.cpp:40)
   by 0x4B0F6E: Server::setCurrentProject(std::shared_ptr<Project> const&) (Server.cpp:1206)
   by 0x4AD26F: Server::init(Server::Options const&) (Server.cpp:190)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
937,410 bytes in 10,475 blocks are possibly lost in loss record 332 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B543BF: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54854: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x4A1798: resize (basic_string.h:763)
   by 0x4A1798: resize (String.h:323)
   by 0x4A1798: operator>><Path> (Serializer.h:482)
   by 0x4A1798: operator>><Source::Include> (Source.h:315)
   by 0x4A1798: Deserializer& operator>><Source::Include>(Deserializer&, List<Source::Include>&) (Serializer.h:436)
   by 0x4A156E: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
1,190,955 bytes in 30,266 blocks are possibly lost in loss record 333 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x450BB1: String (String.h:42)
   by 0x450BB1: _Construct<String, const String &> (stl_construct.h:75)
   by 0x450BB1: __uninit_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:75)
   by 0x450BB1: uninitialized_copy<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *> (stl_uninitialized.h:122)
   by 0x450BB1: __uninitialized_copy_a<__gnu_cxx::__normal_iterator<const String *, std::vector<String, std::allocator<String> > >, String *, String> (stl_uninitialized.h:278)
   by 0x450BB1: vector (stl_vector.h:322)
   by 0x450BB1: List (List.h:13)
   by 0x450BB1: Source::Source(Source const&) (Source.h:26)
   by 0x488B20: construct<Source, const Source &> (new_allocator.h:120)
   by 0x488B20: _S_construct<Source, const Source &> (alloc_traits.h:253)
   by 0x488B20: construct<Source, const Source &> (alloc_traits.h:399)
   by 0x488B20: push_back (stl_vector.h:917)
   by 0x488B20: append (List.h:52)
   by 0x488B20: operator<< (List.h:359)
   by 0x488B20: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1042)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
1,383,776 bytes in 1,276 blocks are still reachable in loss record 334 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x450A99: allocate (new_allocator.h:104)
   by 0x450A99: allocate (alloc_traits.h:357)
   by 0x450A99: _M_allocate (stl_vector.h:170)
   by 0x450A99: _M_create_storage (stl_vector.h:185)
   by 0x450A99: _Vector_base (stl_vector.h:136)
   by 0x450A99: vector (stl_vector.h:321)
   by 0x450A99: List (List.h:13)
   by 0x450A99: Source::Source(Source const&) (Source.h:26)
   by 0x468A9F: IndexerJob::IndexerJob(Source const&, Flags<IndexerJob::Flag>, std::shared_ptr<Project> const&, Hash<Path, String> const&) (IndexerJob.cpp:28)
   by 0x488D65: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1056)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
1,597,856 bytes in 1,462 blocks are still reachable in loss record 335 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x4A1BC5: allocate (new_allocator.h:104)
   by 0x4A1BC5: allocate (alloc_traits.h:357)
   by 0x4A1BC5: _M_allocate (stl_vector.h:170)
   by 0x4A1BC5: std::vector<Source::Include, std::allocator<Source::Include> >::_M_default_append(unsigned long) (vector.tcc:557)
   by 0x4A16D9: resize (stl_vector.h:676)
   by 0x4A16D9: Deserializer& operator>><Source::Include>(Deserializer&, List<Source::Include>&) (Serializer.h:434)
   by 0x4A156E: Deserializer& operator>><Source>(Deserializer&, Source&) (Source.h:334)
   by 0x4A129A: Deserializer& operator>><unsigned long, Source>(Deserializer&, Map<unsigned long, Source, std::less<unsigned long> >&) (Serializer.h:388)
   by 0x4821AC: operator>><Map<unsigned long, Source, std::less<unsigned long> > > (DataFile.h:105)
   by 0x4821AC: Project::readSources(Path const&, Map<unsigned long, Source, std::less<unsigned long> >&, String*) (Project.cpp:296)
   by 0x482E8B: Project::init() (Project.cpp:316)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
7,896,947 bytes in 88,366 blocks are possibly lost in loss record 336 of 336
   at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x5B53668: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B5430A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x5B54AEB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
   by 0x450AEF: String (String.h:42)
   by 0x450AEF: Path (Path.h:20)
   by 0x450AEF: Include (Source.h:95)
   by 0x450AEF: _Construct<Source::Include, const Source::Include &> (stl_construct.h:75)
   by 0x450AEF: __uninit_copy<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *> (stl_uninitialized.h:75)
   by 0x450AEF: uninitialized_copy<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *> (stl_uninitialized.h:122)
   by 0x450AEF: __uninitialized_copy_a<__gnu_cxx::__normal_iterator<const Source::Include *, std::vector<Source::Include, std::allocator<Source::Include> > >, Source::Include *, Source::Include> (stl_uninitialized.h:278)
   by 0x450AEF: vector (stl_vector.h:322)
   by 0x450AEF: List (List.h:13)
   by 0x450AEF: Source::Source(Source const&) (Source.h:26)
   by 0x488B20: construct<Source, const Source &> (new_allocator.h:120)
   by 0x488B20: _S_construct<Source, const Source &> (alloc_traits.h:253)
   by 0x488B20: construct<Source, const Source &> (alloc_traits.h:399)
   by 0x488B20: push_back (stl_vector.h:917)
   by 0x488B20: append (List.h:52)
   by 0x488B20: operator<< (List.h:359)
   by 0x488B20: Project::startDirtyJobs(Dirty*, Hash<Path, String> const&, std::shared_ptr<Connection> const&) (Project.cpp:1042)
   by 0x484A0C: Project::init() (Project.cpp:425)
   by 0x4AED37: addProject (Server.cpp:268)
   by 0x4AED37: Server::load() (Server.cpp:1591)
   by 0x4ACDA5: Server::init(Server::Options const&) (Server.cpp:179)
   by 0x4324E7: main (rdm.cpp:725)
==21435==
LEAK SUMMARY:
   definitely lost: 0 bytes in 0 blocks
   indirectly lost: 0 bytes in 0 blocks
     possibly lost: 14,217,775 bytes in 194,097 blocks
   still reachable: 10,413,127 bytes in 137,247 blocks
        suppressed: 0 bytes in 0 blocks
==21435==
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 61 errors from 61 contexts (suppressed: 0 from 0)
Killed
casch-at commented 8 years ago

@pekenator is rdm still crashing?

pekenator commented 8 years ago

Hi,

On Mon, Nov 9, 2015 at 9:43 PM, Christian Schwarzgruber < notifications@github.com> wrote:

@pekenator https://github.com/pekenator is rdm still crashing?

I tried to build rtags from HEAD just now but got a bunch of compilation errors. It there a branch or specific hash I should try?

Sincerely Per Knytt

casch-at commented 8 years ago

Hey,

sorry for the inconvenience, could you copy and paste those compile errors here. If you're using an older emacs version <24, than I know whats going on, in this case you could try calling cmake as follow.

cmake -DRTAGS_NO_ELISP_BYTECOMPILE=ON

regards, Christian

pekenator commented 8 years ago

My bad, git submodules gets me every time. rtags builds fine, I'm retesting now.

casch-at commented 8 years ago

Cool, thanks!

pekenator commented 8 years ago

rdm is not crashing now, awesome work! Many thanks for the help.

casch-at commented 8 years ago

Glad to hear, and thanks for the feedback! Closing it now.