Xref: news2.mv.net comp.os.msdos.djgpp:1808 From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: GP in RMCB Date: Tue, 12 Mar 1996 23:12:24 CST Organization: Rice University, Houston, Texas Lines: 7 Message-ID: <31465938.sandmann@clio.rice.edu> References: <4i38o2$l4p AT news DOT ariadne-t DOT gr> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > I Repeat, that everything is FINE during the game, and most of the times > when exiting, but say, in the 25% of the case when exiting normaly , I get > this GP in RMCB. You almost certainly are not unhooking a HW interrupt or de-initing a mouse handler, which is causing your PM routine to be called in the exit code when the memory has already been deallocated and/or selectors freed.