
Carlo,
The original report looks like it might be either a bug in the Filesystem lib code, or else in gcc's libstdc++, but we'd need a backtrace of the problem deallocations to stand any chance of figuring out which. If you can come up with more information please repost with [filesystem] in the title so the relevent people see the message.
My guess would be that he's linking with (library) code that is compiled with two different versions of g++.
That's exactly what it was ... the Boost package I installed via Fink (a popular Mac OSX package manager) was 1.31, and it was a binary (likely compiled with gcc3.x). I realized this once I tried compiling my sample with gcc3.3 and it worked ... Regards, John Falling You - exploring the beauty of voice and sound http://www.fallingyou.com