Opened 6 years ago
Closed 6 years ago
#12224 closed Bugs (fixed)
Crash on MSVC with RTTI disabled
| Reported by: | Owned by: | Raffi Enficiaud | |
|---|---|---|---|
| Milestone: | Boost 1.62.0 | Component: | test |
| Version: | Boost 1.59.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
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: https://github.com/boostorg/test/pull/99
Change History (4)
comment:1 by , 6 years ago
| Owner: | changed from to |
|---|
comment:2 by , 6 years ago
| Status: | new → assigned |
|---|
comment:3 by , 6 years ago
| Milestone: | To Be Determined → Boost 1.62.0 |
|---|
comment:4 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Merged to master a38161dd316028d64f9dbf36168095470680a747
Note:
See TracTickets
for help on using tickets.

On next-internal for testing