At 8:21 PM +0200 7/6/04, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
cvsuser 04/07/06 09:57:07

   Modified:    ops      debug.ops
   Log:

   add in a die() op to just flat-out die. Right now. Calls the _exit
   function, and it doesn't get a whole lot more fatal than that.

Couldn't that be wrapped into the C<die_hard> opcode? E.g.

    if (severity == EXCEPT_doomed)
        _exit(err)

Yep, it could. The big reason I put this in is because I'm running into odd memory corruption problems that only show on exit--when my programs call exit they either segfault or spin forever. (And when the spinning programs are killed and leave core dumps it shows they're deep in libc's memory system with a corrupt stack) Definitely not a safe opcode for Safe mode either.


Not a good solution, but it gets by for now, at least...
--
                                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to