ghb@locus.com (George Bray) (03/09/90)
I am using mush 7.0.4 on a VAX running 4.3Tahoe from Berkeley. This machine is *terribly* overloaded, so is a good place to find race conditions. If I start to reply to a message, and decide I don't really want to, and hit ^C, I sometimes get "longjmp botch" and a core dump. I don't have a non-stripped binary around, so I don't have any useful info from the core dump (if the problem seems unreproduceable, let me know and I'll do some debugging). The problem mostly occurs during the *second* ^C (the first one prints "another interrupt to terminate" (or words to that effect)). I have also seen a longjmp botch if I ^Z (suspend) mush when it isn't at a prompt (like while it's updating a folder) and then resume it. Both of these problems happen quite intermittently, and seem related to system load. -- George Bray Locus Computing Corporation, 9800 La Cienega Blvd, Inglewood, CA 90301-4440 213-337-5171 lcc!ghb@seas.ucla.edu {uunet,ucla-se,elroy!turnkey}!lcc!ghb
schaefer@ogicse.ogi.edu (Barton E. Schaefer) (03/09/90)
In article <253@elrond.locus.com> ghb@elrond.locus.com (George Bray) writes: } } If I start to reply to a message, and decide I don't really want to, } and hit ^C, I sometimes get "longjmp botch" and a core dump. I've just applied a patch that should considerably narrow the hole in which this can happen. An *UN*official patch you can make to mail.c, line 1733: 1732 /* now check whether we should abort the letter */ 1733 if (sig > 0 && !killme) { becomes: 1733 if (sig > 0 && !killme && ison(glob_flags, IS_GETTING)) { This will be official whenever all the other changes are ... } I have also seen a longjmp botch if I ^Z (suspend) mush when it isn't } at a prompt (like while it's updating a folder) and then resume it. I have no idea how this could happen, as none of the stop/start code does any longjmping whatsoever. If you see it again, please try to tell us more specifically what the circumstances are. -- Bart Schaefer "EARTH: Surrender IMMEDIATELY or we PICKLE DAN QUAYLE" "THPPFT!" schaefer@cse.ogi.edu (used to be cse.ogc.edu)