0

OS X 10.10.3。在基于 Cocoa 文档的文档应用程序中,什么会导致以下崩溃?仅当窗口保存弹出面板消失时才会发生: 保存弹出面板

如果出现“文件已存在”警告表: 更换警报表

更新:有时应用程序在简单地关闭弹出窗口时也会崩溃,但在出现警报表时保证。

崩溃堆栈:

    Crashed Thread:        0  Dispatch queue: com.apple.main-thread

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

VM Regions Near 0x61890cbbec0:
    MALLOC_LARGE           000000011da03000-000000011eca3000 [ 18.6M] rw-/rwx SM=ZER  
--> 
    __TEXT                 0000123400000000-00001234004a5000 [ 4756K] r-x/rwx SM=COW  /System/Library/Extensions/AppleIntelHD4000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD4000GraphicsGLDriver

Application Specific Information:
objc_msgSend() selector name: isKindOfClass:


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff899120dd objc_msgSend + 29
1   com.apple.ViewBridge            0x00007fff8cadbe74 -[NSRemoteViewBase viewWillMoveToWindow:] + 367
2   com.apple.AppKit                0x00007fff94ca90de -[NSView _setWindow:] + 257
3   com.apple.CoreFoundation        0x00007fff8fafa705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
4   com.apple.CoreFoundation        0x00007fff8faf9e09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
5   com.apple.AppKit                0x00007fff9542d474 __21-[NSView _setWindow:]_block_invoke735 + 169
6   com.apple.AppKit                0x00007fff94ca9c54 -[NSView _setWindow:] + 3191
7   com.apple.AppKit                0x00007fff94cb73d7 -[NSVisualEffectView _setWindow:] + 214
8   com.apple.AppKit                0x00007fff94f12747 -[NSPopoverFrame _setWindow:] + 111
9   com.apple.AppKit                0x00007fff94ef961f -[NSWindow dealloc] + 1201
10  com.apple.AppKit                0x00007fff94f8c9f5 -[_NSPopoverWindow dealloc] + 74
11  com.apple.AppKit                0x00007fff94ca68cc -[NSWindow release] + 193
12  com.apple.CoreFoundation        0x00007fff8faf78ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
13  com.apple.CoreFoundation        0x00007fff8fae99f5 __CFRunLoopDoBlocks + 341
14  com.apple.CoreFoundation        0x00007fff8fae91ae __CFRunLoopRun + 910
15  com.apple.CoreFoundation        0x00007fff8fae8bd8 CFRunLoopRunSpecific + 296
16  com.apple.HIToolbox             0x00007fff92b7256f RunCurrentEventLoopInMode + 235
17  com.apple.HIToolbox             0x00007fff92b722ea ReceiveNextEventCommon + 431
18  com.apple.HIToolbox             0x00007fff92b7212b _BlockUntilNextEventMatchingListInModeWithFilter + 71
19  com.apple.AppKit                0x00007fff94d079bb _DPSNextEvent + 978
20  com.apple.AppKit                0x00007fff94d06f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
21  com.apple.AppKit                0x00007fff94cfcbf3 -[NSApplication run] + 594
22  com.apple.AppKit                0x00007fff94c79354 NSApplicationMain + 1832
4

1 回答 1

0

我在我的应用程序中将 Base SDK 从 10.9 更改为 10.10,它解决了问题。正如我所见,崩溃仅发生在 10.10.3 及更高的系统版本上。如果您想使 TextEdit 崩溃,只需将 Base SDK 更改为 10.9 或打开 TextEdit 1.9 或更早版本。也有人已经写了雷达 http://openradar.appspot.com/20991953

于 2015-05-21T15:25:37.083 回答