Re:DIY: kernel panic OS X and iOS in 10 LOC
by oleavr on Saturday February 21, 2015 @08:50AM
(#9085498)
The screen turns blue – yes, blue, not joking – for a brief moment, and the system reboots. :)
[ Parent
| on HN ]
Re:DIY: kernel panic OS X and iOS in 10 LOC
by ttflee on Saturday February 21, 2015 @09:49AM
(#9085641)
Is it 64-bit only? Which hardware are you using for this test?
EDIT:
I cannot reproduce on iPhone 5 which is NOT running any 64-bit kernel.
Re:DIY: kernel panic OS X and iOS in 10 LOC
by oleavr on Saturday February 21, 2015 @09:57AM
(#9085659)
I only tested it on 64-bit systems, where it triggers the kernel panic from both 32- and 64-bit processes (i386, x86_64, arm, and arm64). Hardware-wise it crashes every single device I've tried (MacBook Pro, iMac, iPhone 6, etc.), so this is not tied to any specific hardware.
Re:DIY: kernel panic OS X and iOS in 10 LOC
by oleavr on Saturday February 21, 2015 @10:04AM
(#9085671)
Aha, interesting. Does the program crash or exit gracefully?