• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Odd crash/method call duplication?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"


References: 
 >Odd crash/method call duplication? (From: Nick Morris <email@hidden>)

  • Prev by Date: Re: Odd crash/method call duplication?
  • Next by Date: Re: *That* book
  • Previous by thread: Re: Odd crash/method call duplication?
  • Next by thread: disabling submenus
  • Index(es):
    • Date
    • Thread