Re: [Boost-bugs] [Boost C++ Libraries] #11914: abort is called while boost::filesystem::copy tries to throw and exception

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11914: abort is called while boost::filesystem::copy tries to throw and exception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-25 08:25:35


#11914: abort is called while boost::filesystem::copy tries to throw and exception
---------------------------------------+-------------------------
  Reporter: jpo38 <jean.porcherot@…> | Owner: Beman Dawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+-------------------------

Comment (by sudhanshu.gupta05@…):

 The problem here is that implementation of
 boost::filesystem::detail::copy() (operations.cpp:978) incorrectly goes
 through the nothrow version of boost::filesystem::copy_file (also
 copy_directories and copy_symlink). Hence when the exception is eventually
 thrown there is no handler and terminate is called.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/11914#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-04-25 08:32:29 UTC