• 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
Crash after Fix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash after Fix


  • Subject: Crash after Fix
  • From: Gideon King <email@hidden>
  • Date: Thu, 17 Dec 2009 02:27:42 +1000

Hi all, I have a strange issue - I have a program that is running quite happily, and when I make a change to it and click the Fix button, it fixes the issue, but then I immediately get an exc_bad_access error when I continue running it. The stack trace shows a "doesNotRecognizeSelector" error. It always happens in the same place in my code, and the method does exist (it is in a category, and the method where it is being called from is in the same category). I have tried a complete clean and rebuild, but to no avail.

Any clue as to what may be causing this? It is really slowing down my debugging.

The code I am fixing is compiled into a framework which is included in the main application (my build target builds both the framework and the app) - could this be the cause? If so, is there something I need to do so that it works properly for debugging frameworks?

(gdb) bt
#0  0x94803a90 in strlen ()
#1  0x9480e400 in __vfprintf ()
#2  0x94820989 in asprintf ()
#3  0x9463d7ef in __CFExceptionProem ()
#4  0x9463d871 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#5  0x94598db6 in ___forwarding___ ()
#6  0x94598982 in __forwarding_prep_0___ ()
#7  0x001101c7 in -[NMVisual(InternalLayout) textAreaSize] (self=0x613e90, _cmd=0x18114c) at /Users/gideon/Development/svn/trunk/mac/Source/NMVisual+InternalLayout.m:472


Thanks

Gideon_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Crash after Fix
      • From: Rob Keniger <email@hidden>
  • Prev by Date: Cannot use malloc debug
  • Next by Date: Re: [iPhone] Sample code for live camera stream?
  • Previous by thread: Re: Cannot use malloc debug
  • Next by thread: Re: Crash after Fix
  • Index(es):
    • Date
    • Thread