|
[ ghc-Bugs-679966 ] ghci does not appear to restore its signal handlers: msg#00053lang.haskell.glasgow.bugs
Bugs item #679966, was opened at 2003-02-04 02:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=679966&group_id=8032 Category: Compiler Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ghci does not appear to restore its signal handlers Initial Comment: 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) ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2003-02-17 12:32 Message: Logged In: YES user_id=48280 Thanks; fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=679966&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-686622 ] Shell syntax error when building from source, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-679963 ] hp2hs -c appears broken in ghc-5.04.2, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-679966 ] ghci does not appear to restore its signal handlers, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-670756 ] package cc and ld opts inconsistent, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |