To: djgpp AT sun DOT soe DOT clarkson DOT edu From: "Nick van der Merwe" Date: 25 Aug 93 16:34:25 SAST-2 Subject: __do_global_cleanup I have a program that crashes with a "segmentation violation at ... exception 14 etc. debug32 reports that the breakpoint occurs while leaving a subroutine , in which a dynamically allocated array is used. the break occurs during a "__do_global_cleanup " call. 1. What does __do_global_cleanup do 2. Why would it cause an exception 14 error while leaving the subroutine? Thanks in advance for any help. ---------------------------------------------------------------------- Nick van der Merwe Department of Surveying and Geodetic Engineering University of Cape Town | " I have a cunning plan...." South Africa | - Baldrick (Black Adder) Internet: neek AT cerecam DOT uct DOT ac DOT za