更改为iOS6 - ucol_getVersion后,应用崩溃 [英] App crashes after change to iOS6 - ucol_getVersion

查看:143
本文介绍了更改为iOS6 - ucol_getVersion后,应用崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在更新ios应用程式时遇到问题。
上次星期三(iphone-keynote之前)的应用程序提交审查。
测试iOS6-beta,iOS5,iOS4。 - >没有问题。
针对iOS5 SDK编译



现在,我得到了很多崩溃报告(system:bugsense),只有iOS6。



短版本:



SIGSEGV
CLASS:SIGNAL FILE:ucol_getVersion +
b
$ b

符号化后,崩溃报告仍然不可读:

   -  0 libicucore。 A.dylib 0x318e4570 ucol_getVersion + -1 
- 1 TextInput 0x36ee7fa9 _ZN2KB8WordTrie4loadERKNS_6StringE + 280
- 2 TextInput 0x36ee1495 + 16
- 3 TextInput 0x3724bcb3 + 58
- 4 TextInput 0x3724bc51 + 44
- 5 TextInput 0x36ed8f6d _ZN14TIInputManager17load_dictionariesERKN2KB6StringES3_b + 24
- 6 TextInput 0x36ee9fc1 + 220
- 7 TextInput 0x36ee9c07 + 502
- 8 UIKit 0x32c08f7f + 162
- 9 UIKit 0x32c07fd3 + 402
- 10 UIKit 0x32c07be7 + 378
- 11 UIKit 0x32c064b9 + 464
- 12 UIKit 0x32c061ab + 150
- 13 UIKit 0x32c68975 + 388
- 14 UIKit 0x32c65845 + 528
- 15 UIKit 0x32c65541 + 104
- 16 UIKit 0x32c63f47 + 406
- 17 UIKit 0x32c63d6f + 30
- 18 UIKit 0x32c636af + 34
- 19 APP 0x000186ff 0x1000 + 95999
- 20 APP 0x00093a93 0x1000 + 600723
- 21基础0x33ac7ef5 + 16
- 22基础0x33a079f1 + 200
- 23基础0x33a0790d + 60
- 24 CFNetwork 0x388ff5df + 26
- 25 CFNetwork 0x388feccb + 54
- 26 CFNetwork 0x38927133 + 18
- 27 CoreFoundation 0x361f974d CFArrayApplyFunction + 176
- 28 CFNetwork 0x38927593 + 74
- 29 CFNetwork 0x3888b15d + 188
- 30 CoreFoundation 0x36288683 + 14
- 31 CoreFoundation 0x36287ee9 + 212
- 32 CoreFoundation 0x36286cb7 + 646
- 33 CoreFoundation 0x361f9ebd CFRunLoopRunSpecific + 356
- 34 CoreFoundation 0x361f9d49 CFRunLoopRunInMode + 104
- 35基础0x339f678f + 254
- 36 APP 0x0007e4c9 0x1000 + 513225
- 37基础0x33a923db + 102
- 38 libdispatch.dylib 0x3535611f + 10
- 39 libdispatch.dylib 0x3535a961 + 252
- 40 libdispatch.dylib 0x3535aac1 + 84
- 41 libsystem_c.dylib 0x3605ea11 + 360

有同样问题的人吗?
我如何找到崩溃?

解决方案

我有同样的问题。对我来说,当我试图显示一个UIAlertView时,应用程序崩溃了。



结果是,所有与UI相关的绘图函数都需要在UI线程上完成(我已经知道了这一点,我想我只是有点草率)。



此主题可能对您有所帮助:
https://devforums.apple.com/message/728324



鉴于在您发布的stacktrace中有UIKit类,我猜猜这也是你的问题。


I've an issue with an updated ios-app. Last wednesday (before the iphone-keynote) the app was submitted for review. Tested against iOS6-beta, iOS5, iOS4. -> no problems. Compiled against iOS5 SDK

Now, I get a lot of crash-reports (system: bugsense), iOS6 only.

short-version:

SIGSEGV CLASS: SIGNAL FILE: ucol_getVersion +

After symbolication the crash-report is still not-readable:

- 0 libicucore.A.dylib 0x318e4570 ucol_getVersion + -1
- 1 TextInput 0x36ee7fa9 _ZN2KB8WordTrie4loadERKNS_6StringE + 280
- 2 TextInput 0x36ee1495 + 16
- 3 TextInput 0x3724bcb3 + 58
- 4 TextInput 0x3724bc51 + 44
- 5 TextInput 0x36ed8f6d _ZN14TIInputManager17load_dictionariesERKN2KB6StringES3_b + 24
- 6 TextInput 0x36ee9fc1 + 220
- 7 TextInput 0x36ee9c07 + 502
- 8 UIKit 0x32c08f7f + 162
- 9 UIKit 0x32c07fd3 + 402
- 10 UIKit 0x32c07be7 + 378
- 11 UIKit 0x32c064b9 + 464
- 12 UIKit 0x32c061ab + 150
- 13 UIKit 0x32c68975 + 388
- 14 UIKit 0x32c65845 + 528
- 15 UIKit 0x32c65541 + 104
- 16 UIKit 0x32c63f47 + 406
- 17 UIKit 0x32c63d6f + 30
- 18 UIKit 0x32c636af + 34
- 19 APP 0x000186ff 0x1000 + 95999
- 20 APP 0x00093a93 0x1000 + 600723
- 21 Foundation 0x33ac7ef5 + 16
- 22 Foundation 0x33a079f1 + 200
- 23 Foundation 0x33a0790d + 60
- 24 CFNetwork 0x388ff5df + 26
- 25 CFNetwork 0x388feccb + 54
- 26 CFNetwork 0x38927133 + 18
- 27 CoreFoundation 0x361f974d CFArrayApplyFunction + 176
- 28 CFNetwork 0x38927593 + 74
- 29 CFNetwork 0x3888b15d + 188
- 30 CoreFoundation 0x36288683 + 14
- 31 CoreFoundation 0x36287ee9 + 212
- 32 CoreFoundation 0x36286cb7 + 646
- 33 CoreFoundation 0x361f9ebd CFRunLoopRunSpecific + 356
- 34 CoreFoundation 0x361f9d49 CFRunLoopRunInMode + 104
- 35 Foundation 0x339f678f + 254
- 36 APP 0x0007e4c9 0x1000 + 513225
- 37 Foundation 0x33a923db + 102
- 38 libdispatch.dylib 0x3535611f + 10
- 39 libdispatch.dylib 0x3535a961 + 252
- 40 libdispatch.dylib 0x3535aac1 + 84
- 41 libsystem_c.dylib 0x3605ea11 + 360

Is there someone with the same problem? How can I locate the crash?

解决方案

I had the same problem. For me, the app was crashing when I attempted to show a UIAlertView.

Turns out that all UI-related drawing functions need to be done on the UI thread (I already knew this, I guess I was just a little sloppy). Too bad the error message is cryptic.

This thread might be helpful to you: https://devforums.apple.com/message/728324

Given that there are UIKit classes in the stacktrace you posted, I'm guessing this is your problem too.

这篇关于更改为iOS6 - ucol_getVersion后,应用崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆