मैं दुर्घटनाग्रस्त सूत्र में निम्नलिखित या इसी तरह के ढेर के साथ अपने iOS एप्लिकेशन के क्रैश रिपोर्ट हो रही है:टेक्स्ट इनपुट में क्रैश - डीबग कैसे करें?
0 TextInput 0x0003149a TIInputManager::apply_case_changes_to_result(std::vector >&, KB::Hashmap const&, std::vector > const&) const + 402
1 TextInput 0x00030bf3 TIInputManager::lookup() + 863
2 TextInput 0x000307ad TIInputManager::autocorrection() + 61
3 TextInput 0x00042d21 -[TIKeyboardInputManagerZephyr autocorrection] + 137
4 UIKit 0x0011a319 -[UIKeyboardImpl generateCandidatesWithOptions:] + 377
5 UIKit 0x00133071 -[UIKeyboardImpl addInputString:fromVariantKey:] + 2597
6 UIKit 0x00130f8d -[UIKeyboardImpl handleKeyEvent:] + 1453
7 UIKit 0x001308b7 -[UIKeyboardLayoutStar sendStringAction:forKey:isPopupVariant:] + 487
8 UIKit 0x0012f3ad -[UIKeyboardLayoutStar touchUp:] + 3101
9 UIKit 0x0012e737 -[UIKeyboardLayout touchesEnded:withEvent:] + 387
10 UIKit 0x000165f9 -[UIWindow _sendTouchesForEvent:] + 525
11 UIKit 0x00003809 -[UIApplication sendEvent:] + 381
12 UIKit 0x00003123 _UIApplicationHandleEvent + 6155
13 GraphicsServices 0x000065a3 _PurpleEventCallback + 591
14 GraphicsServices 0x000061d3 PurpleEventCallback + 35
15 CoreFoundation 0x00097173 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 35
16 CoreFoundation 0x00097117 __CFRunLoopDoSource1 + 139
17 CoreFoundation 0x00095f99 __CFRunLoopRun + 1385
18 CoreFoundation 0x00008ebd CFRunLoopRunSpecific + 357
19 CoreFoundation 0x00008d49 CFRunLoopRunInMode + 105
20 GraphicsServices 0x000052eb GSEventRunModal + 75
21 UIKit 0x00057301 UIApplicationMain + 1121
22 MyApp 0x0000294b main (main.mm:8)
केवल सबसे नीचे लाइन (main
) मेरा है। ऐसा लगता है कि क्रैश टेक्स्ट इनपुट फ्रेमवर्क के भीतर एक टच अप इवेंट हैंडलर में कहीं है, और इसे स्वत: सुधार के साथ करना है।
उन दुर्घटनाएं निराशाजनक स्थिरता के साथ आती हैं - यह मेरी एक सूक्ष्म बग की तरह दिखती है, न कि आईओएस की। कॉल स्टैक असंगत है - कभी-कभी यह UIKit में समाप्त होता है, कभी-कभी libobjc में। हालांकि, आईओएस संस्करण लगातार 6.x लगता है।
कोई विचार यह कैसे डिबग करना है, कृपया?
संपादित करें: SIGSEGV/SEGV_ACCERR थ्रेड 0 में। त्रुटि पता भिन्न होता है - कभी-कभी, यह शून्य होता है, कभी-कभी नहीं।
क्या आपको इस समस्या का समाधान मिला है? इधर भी ऐसा ही है। –
नहीं, अभी तक नहीं .... –
एक ही समस्या है। –