Date: Wed, 25 Aug 93 13:29:51 -0400 From: DJ Delorie To: NEEK AT cerecam DOT uct DOT ac DOT za Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: __do_global_cleanup > 1. What does __do_global_cleanup do It's used to process things like atexit() calls, onexit() calls, global object destruction, closing open FILE*s, etc. > 2. Why would it cause an exception 14 error while leaving the > subroutine? You probably have a memory corruption error somewhere else in your code that goes unnoticed until that point. At least, that's what is usually the cause of stuff like this.