Re: Odd crash/method call duplication?
Re: Odd crash/method call duplication?
- Subject: Re: Odd crash/method call duplication?
- From: Andreas Monitzer <email@hidden>
- Date: Thu, 13 Sep 2001 02:30:52 +0200
On Thursday, September 13, 2001, at 12:29 , Nick Morris wrote:
I have a really odd crash occurring in my program. The event can't be
easily duplicated.
setParser calls the method that has the problem and stops at a breakpoint
on the first {. This results in:
# Frame
0 - [fileController setParser]
1 - [fileController parseFile:]
As soon as the first { is passed the reading changes to:
# Frame
0 - [fileController parseFile:]
1 - [fileController parseFile:]
This looks like a buffer overflow, something writes directly into the
stack. Those bugs usually don't show themselves immediately, that's why
the code crashes at random locations.
Look out for C-array bounds and related.
andy
--
"He was addicted to life. But we cured him"