Re: Odd Crash
Re: Odd Crash
- Subject: Re: Odd Crash
- From: Jens Alfke <email@hidden>
- Date: Thu, 24 Sep 2015 09:02:33 -0700
This is a pretty common type of crash. You’ve got an NSTableView whose dataSource has been dealloced, so it tried to call the dataSource and crashed.
If you want to catch this in the debugger, turn Zombie Objects on.
Most likely the problem is that the window got closed but not released, so it and its views are still in memory.
—Jens
> On Sep 24, 2015, at 8:23 AM, Peter Hudson <email@hidden> wrote:
>
> Suddenly, after a long period of clean operation, I start to this crash.
>
> I’ve copied the last section of the crash report from the user.
>
> Any suggestions appreciated.
>
>
> Peter
>
>
> Date/Time: 2015-09-24 15:38:49.222 +0100
> OS Version: Mac OS X 10.10.4 (14E46)
> Report Version: 11
> Anonymous UUID: 899431F1-88F0-529E-0D17-073884EE9FDA
>
> Sleep/Wake UUID: B8985A4A-CC24-42C6-89F0-32993D38777B
>
> Time Awake Since Boot: 21000 seconds
> Time Since Wake: 14000 seconds
>
> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>
> Exception Type: EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000006e7a000
>
> VM Regions Near 0x6e7a000:
> CG shared images 0000000006e6a000-0000000006e7a000 [ 64K] r--/r-- SM=SHM
> -->
> CoreAnimation 0000000006e7c000-0000000006e82000 [ 24K] rw-/rwx SM=SHM
>
> Application Specific Information:
> objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
> Performing @selector(runSheetEditPostHeaderPreFooter:) from sender NSMenuItem 0x7b07ab80
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 libobjc.A.dylib
> 0x98a840a7 objc_msgSend + 23
> 1 com.apple.AppKit
> 0x980ec80b -[NSTableView preparedCellAtColumn:row:] + 385
> 2 com.apple.AppKit
> 0x9811cba1 -[NSTableView _dirtyVisibleCellsForKeyStateChange] + 878
> 3 com.apple.AppKit
> 0x9811c2ae -[NSTableView _windowChangedKeyState] + 323
> 4 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 5 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 6 com.apple.AppKit
> 0x97f9483f -[NSScrollView _windowChangedKeyState] + 50
> 7 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 8 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 9 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 10 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 11 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 12 com.apple.AppKit
> 0x9808223d -[NSSplitView _windowChangedKeyState] + 71
> 13 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 14 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 15 com.apple.AppKit
> 0x9805ca16 -[NSTabView _windowChangedKeyState] + 50
> 16 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 17 com.apple.AppKit
> 0x97f94671 -[NSView _windowChangedKeyState] + 276
> 18 com.apple.AppKit
> 0x97f9450a -[NSFrameView _windowChangedKeyState] + 101
> 19 com.apple.AppKit
> 0x97f94430 -[NSThemeFrame _windowChangedKeyState] + 51
> 20 com.apple.AppKit
> 0x980d90fe -[NSWindow(NSSheets) _orderFrontRelativeToWindow:] + 236
> 21 com.apple.AppKit
> 0x97f9bfe2 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 2502
> 22 com.apple.AppKit
> 0x97f9b607 -[NSWindow _doOrderWindowWithoutAnimation:relativeTo:findKey:forCounter:force:isModal:] + 81
> 23 com.apple.AppKit
> 0x97f9b03b -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 856
> 24 com.apple.AppKit
> 0x980ce205 -[NSApplication _orderFrontModalWindow:relativeToWindow:] + 811
> 25 com.apple.AppKit
> 0x980cdaf1 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 913
> 26 com.apple.AppKit
> 0x98153b6f -[NSApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:] + 154
> 27 WattWenn
> 0x0012956d -[SSScriptDoc(EDIT_POSTHEADER_PREFOOTER_STRIPS_WINDOW_SUPPORT) runSheetEditPostHeaderPreFooter:] + 1837
> 28 libobjc.A.dylib
> 0x98a8b853 -[NSObject performSelector:withObject:] + 70
> 29 com.apple.AppKit
> 0x980c8c1e __36-[NSApplication sendAction:to:from:]_block_invoke + 51
> 30 libsystem_trace.dylib
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Odd Crash (From: Peter Hudson <email@hidden>) |