You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
malloc: *** error for object 0x100074360: pointer being freed was not allocated
and happens in sf::String destructor as backtrace from gdb is as follows:
#0 0x00007fff889990b6 in __kill ()
#1 0x00007fff88a399f6 in abort ()
#2 0x00007fff88951195 in free ()
#3 0x0000000100001765 in __gnu_cxx::new_allocator<char>::deallocate (this=0x7fff5fbff68f, __p=0x100074360 "") at new_allocator.h:97
#4 0x00000001000017b1 in std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::_Rep::_M_destroy (this=0x100074360, __a=@0x7fff5fbff6ef) at basic_string.tcc:431
#5 0x0000000100001813 in std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::_Rep::_M_dispose (this=0x100074360, __a=@0x7fff5fbff6ef) at basic_string.h:238
#6 0x0000000100001844 in std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::~basic_string (this=0x7fff5fbff7a0) at basic_string.h:493
#7 0x000000010000186d in sf::String::~String (this=0x7fff5fbff7a0) at String.hpp:44
#8 0x0000000100001528 in main () at temp.cpp:5
The text was updated successfully, but these errors were encountered:
Tested on OS X 10.6.8
Minimal example:
The error is:
and happens in sf::String destructor as backtrace from gdb is as follows:
The text was updated successfully, but these errors were encountered: