On 21 Feb 2013, at 12:58, Jens Alfke <j...@mooseyard.com> wrote:

> 
> On Feb 20, 2013, at 9:31 PM, Gerriet M. Denkmann <gerr...@mdenkmann.de> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to