[Bug ada/64478] Ada Exception handlers call signal-unsafe malloc/free

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Sat Jan 3 08:47:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64478

--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Sorry, Andrew,

a deadlock in the Ada exception handler is an Ada BUG
by definition.

Even if YOU can't fix it easily.

The memory could be pre-allocated as the call stack
and we should make it to the point where the user code
starts.  If they call malloc then that's no more our
problem.

Please stop this now.

I still dont see what's wrong with tsan here, the signal could
easily be from a kill -SIGSEGV .

Thanks
Bernd.



More information about the Gcc-bugs mailing list