iOS 8.0 - "无法按时更新场景"紧急

时间:2014-10-13 10:06:43

标签: ios ios8 crash-reports

我在iOS 8.0上运行时遇到了以下崩溃。这是我第一次看到这一点,所以任何观察都会有所帮助:

Incident Identifier: C39AF13A-D02B-40B1-8FC3-CFED8226D6FA
CrashReporter Key:   dace0b0fe53a1661c59ffa598b3a139a6177d713
Hardware Model:      iPhone7,2
Process:             Vieu [435]
Path:                /private/var/mobile/Containers/Bundle/Application/36CE6BFB-F90E-452B-8A4F-2B352F95DE48/Vieu.app/Vieu
Identifier:          com.vieu.mobile
Version:             140929 (1.0)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2014-09-29 17:12:47.878 -0700
Launch Time:         2014-09-29 15:39:55.349 -0700
OS Version:          iOS 8.0.2 (12A405)
Report Version:      105

Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread:  0

Application Specific Information:
com.vieu.mobile failed to scene-update in time

Elapsed total CPU time (seconds): 15.910 (user 15.910, system 0.000), 77% CPU 
Elapsed application CPU time (seconds): 1.039, 5% CPU
  • "未能及时更新场景"意思?
  • 如何重现这些类型的场景?
  • 一般来说,解决这些问题的最佳方法是什么?

1 个答案:

答案 0 :(得分:15)

嗯,这是一个暗示。显然,通知消息已从iOS 7.1更改为iOS8.1

我的应用程序也遇到了相同的行为/崩溃,并为每个操作系统捕获了崩溃日志:

7.1说:

Incident Identifier: 1AFAD8D6-50B3-4B5A-8EBE-2A76E4400BDA
CrashReporter Key:   8e228dccf0b7ae7d1127923c96eec86495483eae
Hardware Model:      iPhone5,3
Process:             ProcessName [2967]
Path:                /var/mobile/Applications/key/myApp.app
Identifier:          com.company.app
Version:             5.6.0042 (5.6)
Code Type:           ARM (Native)
Parent Process:      launchd [1]


Date/Time:           2014-11-04 17:32:57.089 -0800
OS Version:          iOS 7.1.1 (11D201)
Report Version:      104


Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread:  0


Application Specific Information:
com.company.app failed to resume in time

虽然iOS 8.1说:

Incident Identifier: 960DB688-F165-4DCD-98A1-3F4AEFFB5442
CrashReporter Key:   2022d4aa4b6f69db15c58ae02734fb8172a77bba
Hardware Model:      iPhone7,2
Process:             ProcessName [175]
Path:                /private/var/mobile/Containers/Bundle/Application/key/myApp.app
Identifier:          com.company.app
Version:             5.6.0042 (5.6)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]


Date/Time:           2014-11-04 18:05:31.933 -0800
Launch Time:         2014-11-04 17:30:28.408 -0800
OS Version:          iOS 8.1 (12B411)
Report Version:      105


Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread:  0


Application Specific Information:
com.company.app failed to scene-update in time

因此,除了“应用程序特定信息”部分外,几乎所有内容都是相同的。

在我们的案例中,有一个方法在主线程上运行,但是没有完成,因此它会让UI的其余部分卡住并且系统正在杀死它。一旦我们修复了问题就消失了两个版本。

请检查可能导致主线程挂起的原因。