• 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: How to recognize mutability?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to recognize mutability?


  • Subject: Re: How to recognize mutability?
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 21 Feb 2013 13:38:29 +0700

On 21 Feb 2013, at 12:58, Jens Alfke <email@hidden> wrote:

>
> On Feb 20, 2013, at 9:31 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
>> But another bug looks rather promising: feed strings with illegal Unicode to NSArchiver and see what happens.
>
> It’s harder to get such a string into an app, though, since you can’t really type it.
>
>> Did this (by accident) the other day. NSArchiver did not return, there was no exception, the app did not crash. Not sure what was going on.
>
> Sounds like something called abort() — that’ll make the process exit abruptly. You can try setting a breakpoint on it. Or on exit().

Looks like there is an exception, though nothing gets logged in the Xcode console:

    frame #0: 0x00007fff88d483c5 libobjc.A.dylib`objc_exception_throw
    frame #1: 0x00007fff8ade6e7c CoreFoundation`+[NSException raise:format:] + 204
    frame #2: 0x00007fff880662e7 Foundation`-[NSString encodeWithCoder:] + 263
    frame #3: 0x00007fff880592d0 Foundation`_encodeObject_old + 152
    frame #4: 0x00007fff880591b1 Foundation`-[NSArchiver encodeRootObject:] + 179
    frame #5: 0x00007fff88058e76 Foundation`+[NSArchiver archivedDataWithRootObject:] + 145

Kind regards,

Gerriet.

_______________________________________________

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: How to recognize mutability?
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: How to recognize mutability? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to recognize mutability? (From: Jens Alfke <email@hidden>)
 >Re: How to recognize mutability? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to recognize mutability? (From: Jens Alfke <email@hidden>)
 >Re: How to recognize mutability? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to recognize mutability? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to recognize mutability?
  • Next by Date: Re: How to recognize mutability?
  • Previous by thread: Re: How to recognize mutability?
  • Next by thread: Re: How to recognize mutability?
  • Index(es):
    • Date
    • Thread