This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/64478] Ada Exception handlers call signal-unsafe malloc/free
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Jan 2015 09:31:25 +0000
- Subject: [Bug ada/64478] Ada Exception handlers call signal-unsafe malloc/free
- Auto-submitted: auto-generated
- References: <bug-64478-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64478
--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> if I use kill -11, I would be really surprised to see
> the process freeze.
>
> It would be good to look at siginfo->si_code
> and _not_ continue the normal exception handling
> when the si_code is SI_USER or anything <= 0.
>
> If you receive a signal 11, with si_code == SI_USER,
> you can be sure that is sent directly from me,
> and I want the process to immediately stop doing what it does
> currently and create a core file for later analysis.
Possibly, but that's a QoA issue and I'm not sure people really care.