home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!swrinde!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!robichau
- From: robichau@lambda.msfc.nasa.gov (Paul Robichaux)
- Newsgroups: comp.sys.mac.programmer
- Subject: Hunting the elusive bus error
- Message-ID: <1992Jul29.133907.24141@lambda.msfc.nasa.gov>
- Date: 29 Jul 92 13:39:07 GMT
- Reply-To: robichau@lambda.msfc.nasa.gov
- Organization: New Technology, Inc.
- Lines: 24
-
- When I perform a certain sequence of operations in my application
- twice, it falls down and goes :BOOM:, creating a rather large mess in
- the process.
-
- One occasional symptom is that, after the operation is complete, calls to
- GetNewDialog persistently return NIL. IM I-413 says that, if
- GetNewDialog can't load the DLOG or DITL resources, the function
- result will be undefined.
-
- However, sometimes the call to GetNewDialog works fine. So far I've
- gotten bus errors in _StripAddress, Think Pascal's runtime.lib, and my
- dialog routine.
-
- Is there a general heuristic for hunting down bus errors? I want to
- become a Mighty Hunter of Annoying Exceptions, so your advice would be
- appreciated.
-
- Reply via e-mail, and I'll summarize in a week or so.
-
- TIA,
- -Paul
- --
- Paul Robichaux, KD4JZG | I shouldn't bitch / I shouldn't cry
- robichau@lambda.msfc.nasa.gov | I'd start a revolution but I don't have time.
-