当我向视图添加子视图时,我遇到了以下堆栈崩溃。我找不到这个错误的确切原因? mac应用程序在10.10.5中运行。在搜索过程中,我发现此问题发生在10.10.5中。任何人都可以帮我调试这个问题吗?
Application Specific Information:
abort() called
*** error for object 0x600000a24ea1: Invalid pointer dequeued from free list
Thread 0 Crashed:: MainThread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff96bb2286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff9358cb53 abort + 129
2 libsystem_malloc.dylib 0x00007fff97eadf3c nanozone_error + 524
3 libsystem_malloc.dylib 0x00007fff97e9ba5c _nano_malloc_check_clear + 370
4 libsystem_malloc.dylib 0x00007fff97e9db48 nano_calloc + 73
5 libsystem_malloc.dylib 0x00007fff97e9dacb malloc_zone_calloc + 78
6 libsystem_malloc.dylib 0x00007fff97ea3231 calloc + 49
7 libobjc.A.dylib 0x00007fff8e09fc12 class_createInstance + 133
8 libobjc.A.dylib 0x00007fff8e0a1dea +[NSObject new] + 42
9 com.apple.AppKit 0x00007fff90ab2a04 _NXSetCursorRect + 408
10 com.apple.AppKit 0x00007fff90ab26c6 -[NSWindow _addCursorRect:cursor:forView:] + 907
11 com.apple.AppKit 0x00007fff90ab231a -[NSView addCursorRect:cursor:] + 555
12 com.apple.AppKit 0x00007fff90cf88eb -[NSTableHeaderView resetCursorRects] + 389
13 com.apple.AppKit 0x00007fff90aaf3ef -[NSView(NSInternal) _updateTrackingAreas] + 663
14 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
15 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
16 com.apple.AppKit 0x00007fff90ab04ee -[NSScrollView _updateTrackingAreas] + 119
17 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
18 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
19 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
20 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
21 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
22 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
23 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
24 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
25 com.apple.AppKit 0x00007fff90ab04ee -[NSScrollView _updateTrackingAreas] + 119
26 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
27 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
28 com.apple.AppKit 0x00007fff90aaf899 -[NSView(NSInternal) _updateTrackingAreas] + 1857
29 com.apple.AppKit 0x00007fff90aaefb2 _handleInvalidCursorRectsNote + 1077
30 com.apple.AppKit 0x00007fff91132231 __35-[NSWindow _postInvalidCursorRects]_block_invoke3353 + 46