#12224 closed Bugs (fixed)

Crash on MSVC with RTTI disabled

Reported by: raad@… Owned by: Raffi Enficiaud
Milestone: Boost 1.62.0 Component: test
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:


When runtime type information is turned off, BOOST_NO_TYPEID is not defined for MSVC as well as the Intel compiler in MSVC mode as static typeid works fine. But dynamic typeid leads to a crash at runtime if RTTI is disabled. This happens in execution_monitor::execute when an exception is caught.

Patch that checks for BOOST_NO_RTTI in addition to BOOST_NO_TYPEID here:

Attachments (0)

Change History (4)

comment:1 Changed 21 months ago by Raffi Enficiaud

Owner: changed from Gennadiy Rozental to Raffi Enficiaud

comment:2 Changed 21 months ago by Raffi Enficiaud

Status: newassigned

comment:3 Changed 21 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.62.0

On next-internal for testing

comment:4 Changed 20 months ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Merged to master a38161dd316028d64f9dbf36168095470680a747

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Raffi Enficiaud.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.