Re: [問題] 搞不定crash report~送禮卷~救一下~
沒symbolicate 沒辦法100%確定,看起來是UIAlertView 在非 main thread 上被show之類
的,找一下哪裡有用UIAlertView,用dispatch_async 包起來應該就ok了
大概像這樣
dispatch_async(sidpatch_get_main_queue(),^{
//UIAlertview 相關的code
});
reference :
http://stackoverflow.com/questions/12525857/app-crashes-after-change-to-ios6-ucol-getversion
※ 引述《larckiller (送愛311日本震災)》之銘言:
: Exception Type: EXC_BAD_ACCESS (SIGSEGV)
: Exception Codes: KERN_INVALID_ADDRESS at 0x000000cc
: Crashed Thread: 6
: Thread 6 Crashed:
: 0 libicucore.A.dylib 0x3921f570 ucol_getVersion + 0
: 1 TextInput 0x3519921a KB::WordTrie::dictionary_versions_ok(KB::ReadOnlyDataFile const*) const + 62
: 2 TextInput 0x35198fa4 KB::WordTrie::load(KB::String const&) + 276
: 3 TextInput 0x35192490 KB::StaticDictionary::load(KB::String const&) + 12
: 4 TextInput 0x354fccae KB::DictionaryContainer::DictionaryContainer(KB::String const&, KB::String const&, bool, bool) + 54
: 5 TextInput 0x354fcc4c KB::DictionaryContainer::create(KB::String const&, KB::String const&, bool, bool) + 40
: 6 TextInput 0x35189f68 TIInputManager::load_dictionaries(KB::String const&, KB::String const&, bool) + 20
: 7 TextInput 0x3519afbc -[TIKeyboardInputManagerZephyr loadDictionaries] + 216
: 8 TextInput 0x3519ac02 -[TIKeyboardInputManagerZephyr initWithConfig:] + 498
: 9 UIKit 0x37c8af7a +[UIKeyboardInputManager sharedInstanceForInputMode:inHardwareKeyboardMode:] + 158
: 10 UIKit 0x37c89fce -[UIKeyboardImpl setInputMode:userInitiated:] + 398
: 11 UIKit 0x37c89be2 -[UIKeyboardImpl setInputModeFromPreferences] + 374
: 12 UIKit 0x37c884b4 -[UIKeyboardImpl initWithFrame:] + 460
: 13 UIKit 0x37c881a6 +[UIKeyboardImpl sharedInstance] + 146
: 14 UIKit 0x37cea970 -[UIAlertView(Private) _updateFrameForDisplay] + 384
: 15 UIKit 0x37ce7840 -[UIAlertView(Private) layoutAnimated:withDuration:] + 524
: 16 UIKit 0x37ce753c -[UIAlertView(Private) _layoutPopupAlertWithOrientation:animated:] + 100
: 17 UIKit 0x37ce5f42 -[UIAlertView(Private) _performPopup:animationType:revealedBySpringBoardAlert:] + 402
: 18 UIKit 0x37ce5d6a -[UIAlertView(Private) _performPopup:animationType:] + 26
: 19 UIKit 0x37ce56aa -[UIAlertView(Private) popupAlertAnimated:animationType:] + 30
: 20 智慧應用 0x000348f8 0x2f000 + 22776
: 21 智慧應用 0x00033420 0x2f000 + 17440
: 22 智慧應用 0x00044412 0x2f000 + 87058
: 23 Foundation 0x33855678 __NSThread__main__ + 968
: 24 libsystem_c.dylib 0x3658830e _pthread_start + 306
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.128.223.100
→
10/29 15:54, , 1F
10/29 15:54, 1F
→
10/29 15:54, , 2F
10/29 15:54, 2F
→
10/29 15:55, , 3F
10/29 15:55, 3F
→
10/29 15:55, , 4F
10/29 15:55, 4F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章