SIGABRT crash on the first line

时间:2015-08-07 01:31:52

标签: ios swift xcode6 sigabrt

I have an iOS app which was running fine until yesterday and suddenly started to crash with Thread 1: signal SIGABRT at this point:

class AppDelegate: UIResponder, UIApplicationDelegate {

Having no idea of the cause I typed bt in the debugging console and got this:

(lldb) bt
* thread #1: tid = 0xda342, 0x0000000194637270 libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x0000000194637270 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x00000001946d5170 libsystem_pthread.dylib`pthread_kill + 112
    frame #2: 0x00000001945aeb18 libsystem_c.dylib`abort + 112
    frame #3: 0x000000018badf2ec GraphicsServices`_GSRegisterPurpleNamedPortInPrivateNamespace + 424
    frame #4: 0x000000018bade1d4 GraphicsServices`_GSEventInitializeApp + 140
    frame #5: 0x0000000186c86c38 UIKit`UIApplicationMain + 712
  * frame #6: 0x00000001000592f0 TheApp`main + 164 at AppDelegate.swift:13
    frame #7: 0x000000019451ea08 libdyld.dylib`start + 4
(lldb) 

Browsing the net for similar issues I have read it may be due to some problems related to the StoryBoard, but since I am doing everything programmatically I have some doubts that it applies to my case. I have also tried to use an exception break point just in case, but with no success.

I have even remade the project, the problem is still there. It seems something goes wrong even before my code starts to execute. I wonder what I can check.

Anyway if someone can give me a hint on what may be the issue, or on how to further investigate, that would be much appreciated.

0 个答案:

没有答案