在iOS 8中使用自定义键盘时,NMRAThreadLocalStore currentThread字典崩溃

时间:2014-11-19 18:29:06

标签: ios cocoa-touch crash exc-bad-access

互联网上似乎没有关于此的事情。

我从NRMAThreadLocalStore / NRMAHarvester遇到大量崩溃。我已经能够通过使用某个绘图键盘重现这一点(一些自定义键盘崩溃,而其他键盘工作正常)。我不知道这个NRMA *的东西是什么,似乎没有关于这个实用程序的已发布信息。

迹:

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_PROTECTION_FAILURE at 0x000000016fc5bfd0 

libsystem_c.dylib   
localeconv_l
5
    CoreFoundation  
__CFStringAppendFormatCore + 11584
6
    CoreFoundation  
_CFStringCreateWithFormatAndArgumentsAux2 + 248
7
    Foundation  
-[NSPlaceholderString initWithFormat:locale:arguments:] + 172
8
    Foundation  
+[NSString stringWithFormat:] + 76
9

NRMAThreadLocalStore.m line 239
+[NRMAThreadLocalStore currentThreadDictionary]
10

NRMAThreadLocalStore.m line 36
+[NRMAThreadLocalStore threadLocalTrace]
11

NRMAThreadLocalStore.m line 127
+[NRMAThreadLocalStore prepareSameThread:child:withParent:]
12

NRMAThreadLocalStore.m line 92
+[NRMAThreadLocalStore pushChild:forParent:]
13

NRMATraceMachine.m line 501
+[NRMATraceMachine newTraceSetup:parentTrace:]
14

NRMATraceMachine.m line 574
+[NRMATraceMachine enterMethod:fromObject:parentTrace:traceCategory:withTimer:]
15

NRMATraceMachine.m line 539
+[NRMATraceMachine enterMethod:fromObject:parentTrace:traceCategory:]
16

NRMAMethodProfiler.m line 883
NRMA__beginMethod
17

NRMAMethodProfiler.m line 594
NRMA__voidParamHandler

1 个答案:

答案 0 :(得分:2)

我刚刚得知NRMA是New Relic Mobile Agent,因为它导致了我的崩溃:I'm getting an infinite loop with Swift when calling super.viewDidLoad() in two nested subclasses

在您的情况下,堆栈跟踪中的NRMA行可能不会导致问题,但您应该尝试关闭(或更新)New Relic Agent并看到您的应用程序停止崩溃。