andrew@csd4.csd.uwm.edu (Andy Biewer) (08/13/90)
Hello, I have a number of programs that, under certain conditions which are undetectable before-hand (otherwise, I would have made reservations for them), the program aborts with SIGILL, SIGSEGV, or SIGBUS. I can trap those signals, and I know how to exit gracefully if this occurs. What I want to know is, if this happens, I'd like to perhaps reset certain variables, maybe clear the process stack and offer the user the possibility of starting over or even continuing at a certain function. I know that ptrace(2) could possibly be used, but I'd like to avoid that. Thanks in advance, Andy B.