[comp.sys.mac.programmer] FYI: Fixing a crash under Multifinder

tomc@mntgfx.mentor.com (Tom Carstensen) (10/05/88)

I while ago I posted an article about a problem I had getting
my application to run under Multifinder.  It would sparatically
crash, and the crash could not be traced to any certain area
of the code.

Well, this bug was never exterminated, UNTIL I recieve the updated
version of THE DEBUGGER, which runs BEAUTIFULLY under Multifinder!
In less the 2 hours, I had found the problem.

Just in case someelse out there may have this problem, the problem
was that I was closing a working directory, via CloseWD(), on
an invalid directory.  This did not cause the crash, but caused
later calls to ReleaseResource() to crash.

Purchasing The Debugger is a more than worthwhile investment.

:------------------------------------------------------------:
:                              | GEnie:       T.CARSTENSEN   :
:      Thomas Carstensen       | Delphi:      CARSTENSEN     :
:       Mentor Graphics        | CompuServe:  177000,403     :
:     8500 SW Creekside Pl.    |                             :
:   Beaverton, OR 97005-7191   | tomc@pdx.MENTOR.COM         :
:       (503) 626-7000         | ...{sequent,tessi,attunix,  :
:                              |     apollo}!mntgfx!tomc     :
:------------------------------------------------------------:
:  . . . I don't wan't to start any blasphamous rumours, but :
:  I think that God's got a sick sense of humour and when I  :
:  die, I expect to find him laughing.                       :
:                                       - Depeche Mode       :
:------------------------------------------------------------: