id summary reporter owner description type status milestone component version severity resolution keywords cc 10947 serialization singleton & sanitizer : null reference vincent.dabir@… Robert Ramey "Hi all, I ran clang (3.5.1) sanitizer on my program and got the following error: {{{ boost/1_56_0/gcc-4.8.2/include/boost/serialization/singleton.hpp:132:13: runtime error: reference binding to null pointer of type 'const Foo' }}} the program is : {{{ #include #include #include class Foo{ private: std::string bar = ""Hello World""; public: void print() const{ std::cout << bar << std::endl; } }; int main(){ boost::serialization::singleton test; test.get_const_instance().print(); } }}} http://stackoverflow.com/questions/28063066/boost-serialization-singleton-and-sanitizer-null-reference " Bugs closed To Be Determined serialization Boost 1.56.0 Problem invalid singleton sanitizer null reference