ghci does not appear to restore its signal handlers
I added my own ^C handler to my program, following
ghci's code as an example. Once I have run this code,
if I ^C during the next compilation, all hell breaks
loose (Segmentation fault)
I think you need to reset the handlers at the end of
running user code:
> installHandler sigQUIT sig_handler Nothing
> installHandler sigINT sig_handler Nothing
(senganb `at` ia `dot` nsc `dot` com)
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|