Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
- Subject: Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
- From: Charles Srstka <email@hidden>
- Date: Thu, 09 Apr 2015 13:17:48 -0500
> On Apr 9, 2015, at 12:41 PM, Raglan T. Tiger <email@hidden> wrote:
>
> My app runs just fine on OS X version > 10.6.8.
>
> On 10.6.8 it crashes.
>
> The crash report indicates a bad object having called on it tableView:objectValueForTableColumn:row:
>
> The eax register has a value that does not match any table being used in the app.
>
> The call stack does not show reference to the app.
>
> I have attempted to symbolicate this using atos but no results.
>
> What is an appropriate methodology to determine the offending entry in the eax register?
>
> ========================
> Application Specific Information:
> objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
>
>
> Thread 0 Crashed: Dispatch queue: com.apple.main-thread
> 0 libobjc.A.dylib 0x92f43f94 objc_msgSend + 36
> 1 com.apple.AppKit 0x9179a1da -[NSTableView preparedCellAtColumn:row:] + 335
> 2 com.apple.AppKit 0x917b46bc -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 56
> 3 com.apple.AppKit 0x917b372a -[NSTableView drawRow:clipRect:] + 1131
> 4 com.apple.AppKit 0x917b3162 -[NSTableView drawRowIndexes:clipRect:] + 360
> 5 com.apple.AppKit 0x917b1b3b -[NSTableView drawRect:] + 1144
> 6 com.apple.AppKit 0x917a76f1 -[NSView _drawRect:clip:] + 3721
> 7 com.apple.AppKit 0x917a4dbd -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 2217
> 8 com.apple.AppKit 0x917a5750 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
> 9 com.apple.AppKit 0x917a5750 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
> 10 com.apple.AppKit 0x917a5750 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
> 11 com.apple.AppKit 0x917a5750 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
> 12 com.apple.AppKit 0x917a434f -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 265
> 13 com.apple.AppKit 0x917a0c96 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3309
> 14 com.apple.AppKit 0x9170184b -[NSView displayIfNeeded] + 818
> 15 com.apple.AppKit 0x916cab64 -[NSWindow displayIfNeeded] + 204
> 16 com.apple.AppKit 0x916fc07e _handleWindowNeedsDisplay + 696
> 17 com.apple.Foundation 0x991ef484 __NSFireTimer + 141
> 18 com.apple.CoreFoundation 0x98832a3b __CFRunLoopRun + 8059
> 19 com.apple.CoreFoundation 0x988303c4 CFRunLoopRunSpecific + 452
> 20 com.apple.CoreFoundation 0x988301f1 CFRunLoopRunInMode + 97
> 21 com.apple.HIToolbox 0x98e56e04 RunCurrentEventLoopInMode + 392
> 22 com.apple.HIToolbox 0x98e56af5 ReceiveNextEventCommon + 158
> 23 com.apple.HIToolbox 0x98e56a3e BlockUntilNextEventMatchingListInMode + 81
> 24 com.apple.AppKit 0x916d2595 _DPSNextEvent + 847
> 25 com.apple.AppKit 0x916d1dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
> 26 com.apple.AppKit 0x916941f3 -[NSApplication run] + 821
> 27 com.apple.AppKit 0x9168c289 NSApplicationMain + 574
> 28 com.britonleap.Embrilliance 0x0001d938 main + 824
> 29 com.britonleap.Embrilliance 0x00002985 start + 53
> ==============================
I had this same problem when I was still planning to make Pacifist 3.5 compatible with 10.6.x. What I found was that if I compiled the same code with Xcode 5.x, it would work, but that Xcode 6 had some sort of problem compiling code that would work on Snow Leopard without getting that same crash in the NSTableView code. So basically your options are to downgrade to an older version of Xcode (which might mean downgrading your OS X installation as well, since I don’t know if Xcode 5 can run on Yosemite), or drop 10.6 support. My decision was to do the latter; Snow Leopard is four years old now. Time to move on.
Charles
_______________________________________________
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