Opened 13 years ago

Closed 12 years ago

Last modified 46 years ago

#117 closed bug (Fixed)

ghci does not appear to restore its signal handlers

Reported by: nobody Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: None
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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)

Change History (1)

comment:1 Changed 12 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Thanks; fixed.
Note: See TracTickets for help on using tickets.