Folks, I'm trying to spot a memory corruption error in my application
using ElectricFence[1] and I'm facing really weird segfaults in
boost::filesystem.
I don't really believe it is boost::filesystem which causes a
seg.fault but rather my improper usage of ElectricFence.
Here is the most interesting part of the core dump:
#0 0x00007f2b4aa1c517 in kill () from /lib/libc.so.6
#1 0x000000000048f46b in on_signal (s=4) at main.cpp:180
#2 <signal handler called>
#3 0x00007f2b4aa1c517 in kill () from /lib/libc.so.6
#4 0x00007f2b4b4e746f in ?? () from /usr/lib/libefence.so.0
#5 0x00007f2b4b4e8290 in _eff_deallocate () from /usr/lib/libefence.so.0
#6 0x00007f2b4b4e884e in _eff_allocate () from /usr/lib/libefence.so.0
#7 0x00007f2b4b4e7288 in operator new () from /usr/lib/libefence.so.0
#8 0x00007f2b4b27d711 in std::string::_Rep::_S_create () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6
#9 0x00007f2b4b27e0d5 in ?? () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6
#10 0x00007f2b4b27e213 in std::basic_string