Re: How to recognize mutability?
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