• 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: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.


  • Subject: Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 27 Apr 2005 13:28:06 +0200

Andrew,

On 27.4.2005, at 7:03, Andrew White wrote:

NSArray *arr = [NSArray arrayWithObjects: mA, mB, nil];

Good point. Replace with a trickier question: "Why does it 'work' when I remove the NSString encoding, even when I subsequently encode other arrays and objects?"

Since the nil just happens to be on the stack, most probably. --- Ondra Čada OCSoftware: email@hidden http://www.ocs.cz private email@hidden http://www.ocs.cz/oc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *. (From: Andrew White <email@hidden>)
 >Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *. (From: August Trometer <email@hidden>)
 >Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *. (From: Andrew White <email@hidden>)

  • Prev by Date: Document Types
  • Next by Date: Re: app with MDquery won´t launch in 10.3
  • Previous by thread: Re: EXEC_BAD_ACCESS crash when using encodeObject:forKey: on an NSString *.
  • Next by thread: Dynamic Controls in Cocoa
  • Index(es):
    • Date
    • Thread