signal handling smashes memory management
|Reported by:||joergw||Owned by:|
|Keywords:||signal handling, runtime||Cc:|
The signal handler stores a references relative (1000 words off) to the stack pointer of in effect during signal handlers invocation.
This may result in an overflow (if the stack pointer happens to be close to the border of the virtual address space.
It does (reproducible) set C_stack_limit to some point within the stack of unrelated pthreads. And, if many signals are dispatched, does overwrite saved_stack_limit.