Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!njin!princeton!cs!blitz!cwc From: cwc@blitz.princeton.edu (Chris Clifton) Newsgroups: comp.lang.eiffel Subject: Catching signals Summary: rescue clause ignored in package Message-ID: <935@rossignol.Princeton.EDU> Date: 10 Jul 90 16:38:01 GMT Sender: news@cs.Princeton.EDU Organization: Princeton University, NJ Lines: 30 I am trying to deal with an external signal in a rescue clause. Basically the code is as follows: rescue if exception = Sighup then ignore(Sighup); -- One is enough. signalled := true; retry end This works fine when compiled with es -d, even with no assertion checking. However, when I generate a package the rescue clause is ignored: the program terminates with the following message: Following information could be incomplete or untrustworthy. System execution failed. Below is the sequence of recorded exceptions: ---------------------------------------------------------------------------- Object Class Routine Nature of exception Effect ---------------------------------------------------------------------------- External event: Hangup. Fail ---------------------------------------------------------------------------- For more information on the last exception, recompile with option PRECONDITIONS or ALL_ASSERTIONS on. Anyone have any suggestions on what this might be and how to fix it? -Chris Clifton (cwc@Princeton.EDU)