打包到IOS平台概率闪退。

  • Creator 版本:2.0.10

  • 目标平台: iOS

  • 重现方式:无

  • 手机型号 iphone6出现的最频繁,其他机型也会出现:

  • 详细报错信息,包含调用堆栈:
    0 xxx-mobile __cxa_throw + 3618000
    1 xxx-mobile __cxa_throw + 6029060
    2 xxx-mobile __cxa_throw + 2227564
    3 xxx-mobile __cxa_throw + 1059272
    4 xxx-mobile __cxa_throw + 1708632
    5 xxx-mobile __cxa_throw + 1060252
    6 xxx-mobile __cxa_throw + 1057772
    7 xxx-mobile __cxa_throw + 1060976
    8 xxx-mobile __cxa_throw + 1500464
    9 xxx-mobile __cxa_throw + 976800
    10 xxx-mobile __cxa_throw + 977048
    11 xxx-mobile __cxa_throw + 1255136
    12 xxx-mobile __cxa_throw + 1823964
    13 xxx-mobile __cxa_throw + 3176292
    14 xxx-mobile __cxa_throw + 3174688
    15 xxx-mobile __cxa_throw + 5439492
    16 xxx-mobile __cxa_throw + 4458284
    17 xxx-mobile __cxa_throw + 5875204
    18 xxx-mobile __cxa_throw + 5882100
    19 xxx-mobile __cxa_throw + 3255700
    20 QuartzCore CA::Display::DisplayLinkItem::dispatch(unsigned long long) + 44
    21 QuartzCore CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 444
    22 IOKit IODispatchCalloutFromCFMessage + 372
    23 CoreFoundation ___CFMachPortPerform + 180
    24 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56
    25 CoreFoundation ___CFRunLoopDoSource1 + 436
    26 CoreFoundation ___CFRunLoopRun + 1840
    27 CoreFoundation CFRunLoopRunSpecific + 444
    28 GraphicsServices GSEventRunModal + 180
    29 UIKit -[UIApplication _run] + 684
    30 UIKit UIApplicationMain + 208
    31 PaoDeKuai-mobile __cxa_throw + 537348
    32 libdyld.dylib _start + 4

@panda @jare @huanxinyin

0 libGPUSupportMercury.dylib _gpus_ReturnNotPermittedKillClient + 12
1 AGXGLDriver gldUpdateDispatch + 7184
2 libGPUSupportMercury.dylib gpusSubmitDataBuffers + 176
3 AGXGLDriver gldUpdateDispatch + 12604
4 GLEngine _gliPresentViewES_Exec + 184
5 OpenGLES -[EAGLContext presentRenderbuffer:] + 80
6 xxx-mobile __cxa_throw + 6737060
7 xxx-mobile __cxa_throw + 5875464
8 xxx-mobile __cxa_throw + 5882100
9 xxx-mobile __cxa_throw + 3255700
10 QuartzCore CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636
11 IOKit IODispatchCalloutFromCFMessage + 488
12 CoreFoundation 0x000000019ac8a000 + 555424
13 CoreFoundation 0x000000019ac8a000 + 714148
14 CoreFoundation 0x000000019ac8a000 + 711920
15 CoreFoundation 0x000000019ac8a000 + 690964
16 CoreFoundation CFRunLoopRunSpecific + 436
17 GraphicsServices GSEventRunModal + 104
18 UIKitCore UIApplicationMain + 212
19 xxx-mobile __cxa_throw + 537348
20 libdyld.dylib _start + 4

0 JavaScriptCore _llint_slow_path_jtrue + 520
1 JavaScriptCore _llint_slow_path_jtrue + 64
2 JavaScriptCore 0x00000001ba3cf000 + 24134280232102308
3 JavaScriptCore 0x00000001ba3cf000 + 9472292675634084
4 JavaScriptCore 0x00000001ba3cf000 + 30701113434497036
5 JavaScriptCore JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 5232575836586180
6 JavaScriptCore JSObjectCallAsFunction + 13743895347200384
7 xxx-mobile __cxa_throw + 14576775409676804
8 xxx-mobile __cxa_throw + 4983036
9 xxx-mobile __cxa_throw + 4458804
10 xxx-mobile __cxa_throw + 3255908
11 QuartzCore CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 632
12 QuartzCore 0x00000001b75b6000 + 18060028242950972
13 CoreFoundation 0x00000001b3001000 + 29715401252824936
14 CoreFoundation 0x00000001b3001000 + 9442605860053504
15 CoreFoundation 0x00000001b3001000 + 15260671638427896
16 CoreFoundation 0x00000001b3001000 + 31944661078279312
17 CoreFoundation CFRunLoopRunSpecific + 32178857054306756
18 GraphicsServices GSEventRunModal + 26123296764330092
19 UIKitCore UIApplicationMain + 35111254565585112
20 xxx-mobile __cxa_throw + 4826306290660100
21 libdyld.dylib _start + 4

iphone xr ios12.4

上面三种均属于ios平台bugly上报的日志,请大佬们帮帮忙,看看是啥问题导致的。

看下IOS系统版本,2.0.10不支持IOS10以下版本,目前2.0.10 已经不更新了,建议更新到2.2版本,IOS支持V8引擎运行。

以上提供的bugly日志均属于ios10以上版本。

我也遇到过类似问题,定位不到具体位置:joy:

报错堆栈都不一样,看不出具体原因,先看下内存使用情况,是不是内存不足引起的?

虽然大部分奔溃机型是苹果6、7 。但苹果11和x还有xr也都有过崩溃上报。

2.0.9也是,IOS崩溃率好高啊。大部分是在int retVal = UIApplicationMain(argc, argv, nil, @“AppController”);

如果条件允许的话,可以更新到2.2.1版本,这个版本使用的V8引擎会比JSC引擎稳定。

条件不允许!