【问题标题】:IOS XCODE crash with error : Dispatch queue: com.apple.root.default-qosIOS XCODE 崩溃并出现错误:调度队列:com.apple.root.default-qos
【发布时间】:2015-04-27 03:06:17
【问题描述】:

我在 VMWare 中安装了 Mac 映像并安装了 XCode 6.1。当我运行一个项目时,IDE 遇到了错误的访问。有没有人遇到过这个问题,有解决这个问题的办法吗?

我收到错误“调度队列:com.apple.root.default-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010"

以下是完整的崩溃报告:

Process:               Xcode [299]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.3.1 (7703)
Build Info:            IDEFrameworks-7703000000000000~4
App Item ID:           497799835
App External ID:       812230896
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [299]
User ID:               501

Date/Time:             2015-04-26 19:36:47.627 -0700
OS Version:           Mac OS X 10.10 (14A238x)
Report Version:        11
Anonymous UUID:        F379DDE0-7D57-C054-0C16-360F7F63CAE3


Time Awake Since Boot: 230 seconds

Crashed Thread:        11  Dispatch queue: com.apple.root.default-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010

VM Regions Near 0x10: -->
__TEXT                 0000000109edf000-0000000109ee0000 [    4K] r-x/rwx SM=COW  /Applications/Xcode.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 6D1002

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8c5a35ae mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8c5a275f mach_msg + 55
2   com.apple.CoreFoundation        0x00007fff8ad78d64    __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation        0x00007fff8ad78255 __CFRunLoopRun + 1381
4   com.apple.CoreFoundation        0x00007fff8ad77aa8 CFRunLoopRunSpecific + 296
5   com.apple.HIToolbox             0x00007fff869e3b3f RunCurrentEventLoopInMode   + 235
6   com.apple.HIToolbox             0x00007fff869e38b2   ReceiveNextEventCommon + 431
7   com.apple.HIToolbox             0x00007fff869e36f3 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8   com.apple.AppKit                0x00007fff89453825 _DPSNextEvent + 1000
9   com.apple.AppKit                0x00007fff89452ff9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
10  com.apple.dt.DVTKit             0x000000010a633dda -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237
11  com.apple.AppKit                0x00007fff89446fe3 -[NSApplication run] + 594
12  com.apple.AppKit                0x00007fff89432a9e NSApplicationMain +        1778
libdyld.dylib                   0x00007fff8cc055c9 start + 1

谢谢

【问题讨论】:

  • 问题陈述在代码 sn-p 中。重组格式以突出问题陈述并更新格式。
  • 通常您会向 Apple 发送错误报告。但是,您似乎不是在 Mac 上安装 Xcode,而是使用 VMWare,这意味着您没有运行操作系统及其上任何软件的有效许可证,所以我怀疑它们会帮助您。
  • 感谢 gnasher729。我明白了。希望尝试使用 VMWare 并遇到此问题的人可能有解决方案并可以帮助我。
  • 我终于找到了解决方案。操作系统和 Xcode 缺少一些补丁和更新。一旦我安装了所有补丁,这个问题就解决了
  • @narsibattula 我有同样的崩溃。你能帮我找到解决办法吗?操作系统和 Xcode 缺少哪些补丁和更新?我该如何安装它?我正在使用 OS 10.10.5 和 Xcode 7.2。

标签: iphone xcode crash


【解决方案1】:

解决方法:修改UI代码放回主线程

dispatch_async(dispatch_get_main_queue(), ^{
// addSubview,insertSubview
});

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-04-15
    • 2015-03-12
    • 1970-01-01
    • 2022-06-24
    • 1970-01-01
    • 2017-07-20
    • 1970-01-01
    • 2013-01-26
    相关资源
    最近更新 更多