[RTEMS Project] #2830: throwing std::runtime on PC BSP fails.

RTEMS trac trac at rtems.org
Fri Dec 2 05:12:22 UTC 2016


#2830: throwing std::runtime on PC BSP fails.
---------------------+-------------------
 Reporter:  chrisj   |       Owner:
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  4.12
Component:  General  |     Version:  4.12
 Severity:  normal   |  Resolution:
 Keywords:           |
---------------------+-------------------
Description changed by chrisj:

Old description:

> Throwing a `std::runtime()` exception lock up.
>
> The lock up is in the exception clean up handler where the exception
> object is destructed. The destructor loop distructing the std::string
> object. The path ends up in libstdc++-v3/include/ext/atomicity.h line 48
> or __exchange_and_add.

New description:

 Throwing a `std::runtime()` exception locks up.

 The lock up is in the exception clean up handler where the exception
 object is destructed. The destructor loops distructing the std::string
 object. The path ends up in libstdc++-v3/include/ext/atomicity.h line 48
 or __exchange_and_add.

 At a guess it would seem like the C++ atomics on i386 is broken or
 fragile.

--

--
Ticket URL: <http://devel.rtems.org/ticket/2830#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list