id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11914,abort is called while boost::filesystem::copy tries to throw and exception,jpo38 ,Beman Dawes,"Im"" using boost 1.60 with Visual Studio 2015 WIN64. Compiled boost simply by running: bootstrap.bat tools/build/b2 toolset=msvc-14.0 --build-type=minimal --link=static stage Now, I get a specific situation where abort is called while boost::filesystem::copy tries to throw an exception. Note that other boost::filesystem functions successfully throws. This code: {{{ #include #include #include int main( int argc, char* argv[] ) { // Stepping to folder: try { boost::filesystem::current_path(""B:/dev/msvc2015/vobs_bci/public/tst/base/cppunit/utlfile""); std::cout << ""Worked"" << std::endl; // works OK } catch (...) { } // test throwing upon copy_directory because dource folder does not exist: try { boost::filesystem::copy_directory(""s"", ""b""); } catch (...) { std::cout << ""Caught"" << std::endl; // works OK } // test throwing upon copy because target file already exists: try { boost::filesystem::copy(""./test.h"", ""./copied.cpp""); // works boost::filesystem::copy(""./test.h"", ""./copied.cpp""); // should throw and be caught } catch (...) { std::cout << ""Caught"" << std::endl; // never reached... } std::cout << ""Done"" << std::endl; return 0; } }}} Outputs: {{{ Worked Caught }}} And then aborts... Posted on SO first: http://stackoverflow.com/questions/34793451/why-is-boostfilesystem-aborting-instead-of-throwing-an-exception ",Bugs,new,To Be Determined,filesystem,Boost 1.65.0,Problem,,,jean.porcherot@…