Skip to content

Comment on Found a nice bug in IOS today, bricks your phone and kills the Simulator

Comments

Also here is a nicer version that still triggers the bug http://www.pastie.org/private/8a48wgmcuuhjjwbupbk3g

What's the radar number?

So what's the bug then? If there's no loop here?

alarm.repeatInterval = NSEraCalendarUnit

Triggers the bug, its totally valid as well.

So basically the repeatInterval is expected to have one of the values of an enumeration assigned to it, where the enumerated values are calendar units (representing daily, weekly, monthly, etc.), and it somehow mishandles the value representing "once-per-era"?

That would seem to be the case.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.