My application crashes on the iPhone 6.1 Simulator. It works at startup, but not every time. In fact, I can't make him crash twice in a row. Sometimes it is every time I run, sometimes I run three times every time. The crash is SIGABRT and does not cause error messages. I set a breakpoint in all exceptions, but always breaks in UIApplicationMain (...) in main.m
The return line produces:
* thread #1: tid = 0x1c03, 0x91398a6a libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGABRT frame #0: 0x91398a6a libsystem_kernel.dylib`__pthread_kill + 10 frame #1: 0x95c31b2f libsystem_c.dylib`pthread_kill + 101 frame #2: 0x023e857b libsystem_sim_c.dylib`abort + 140 frame #3: 0x02d92b4e GraphicsServices`GSRegisterPurpleNamedPort + 348 frame #4: 0x02d9269f GraphicsServices`_GSEventInitialize + 123 frame #5: 0x02d92c1f GraphicsServices`GSEventInitialize + 36 frame #6: 0x00ee0d99 UIKit`UIApplicationMain + 600 frame #7: 0x0000277d MyApp`main(argc=1, argv=0xbffff388) + 141 at main.m:16
The application does not seem to crash on the device, but it is very annoying and has just begun recently. I tried to dump the contents, restart Xcode, restart the computer - no luck. Any ideas how I could debug this?
danjonweb
source share