Opened 6 years ago

Closed 5 years ago

#12979 closed Patches (fixed)

64bit support for clone_current_exception_non_intrusive.cpp and a small bugfix

Reported by: Martin Weiss <martin.weiss@…> Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description

I implemented 64bit support for cloning MSVC exceptions. Furthermore I fixed a bug that occurs in the rare case when the thrown type has no destructor: The destructor_ptr is NULL in that case and attempting to call it causes an access violation. Note that my version of clone_current_exception_non_intrusive.cpp always includes <boost/config.hpp> so I can set BOOST_ENABLE_NON_INTRUSIVE_EXCEPTION_PTR in <boost/config/user.hpp>. I attached a diff file.

Attachments (1)

clone_current_exception_non_intrusive.cpp.diff.zip (2.7 KB ) - added by Martin Weiss <martin.weiss@…> 6 years ago.

Download all attachments as: .zip

Change History (2)

by Martin Weiss <martin.weiss@…>, 6 years ago

comment:1 by Emil Dotchevski, 5 years ago

Resolution: fixed
Status: newclosed

Actually I had deleted the support for non-intrusive copying in the develop branch -- I had assumed that nobody was interested in it but your patch proves otherwise. So I restored it and applied your patch (in the develop branch for now). Thank you!

Note: See TracTickets for help on using tickets.