RE: [AD] double signal hang fix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I haven't looked at it properly, but I think it's the wrong way to fix
> it. It should be possible to stop signals from arriving
> while we're in
> the middle of a signal handler, using sigaction() to install
> the handler
Ah, I wasn't aware of that difference.
> instead of signal(). I'd also prefer to know why two signals
> are being
> raised in the first place.
In my case, I got a SIGSEGV, the handler is called, then calls
allegro_exit, which raises a SIGSEGV as well (memory corruption).
--
Vincent Penquerc'h