Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!uwvax!oddjob!sphinx!fdot From: fdot@sphinx.uchicago.edu (Tom Lippincott) Newsgroups: comp.sys.mac Subject: A Trivial Suggestion Message-ID: <1968@sphinx.uchicago.edu> Date: Thu, 11-Jun-87 22:33:34 EDT Article-I.D.: sphinx.1968 Posted: Thu Jun 11 22:33:34 1987 Date-Received: Sat, 20-Jun-87 12:53:42 EDT References: <869@apple.UUCP> <1499@midas.TEK.COM> <981@apple.UUCP> Reply-To: fdot@sphinx.UUCP (Tom Lippincott) Organization: U Chicago Computation Center Lines: 16 I was trying to make my program hold up under out-of-memory errors, and found a minor problem with the control manager, which perhaps could be fixed in the next ROMs. When I run flat out of memory, my heap expansion procedure ends up doing a longjmp back to the main event loop. If this happens while creating a control, it leaves the control in the window's control list, but without the proper refcon, wreaking havoc with the program. It seems to me that the control shouldn't be installed until the control record is finished, to avoid this and similar problems. --Tom Lippincott ..ihnp4!gargoyle!sphinx!fdot "Just a moment.... Just a moment.... I'm picking up a fault in the AE-35 subunit. It will go one hundred percent failure within seventy-two hours."