Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 16, 2012, 03:20 AM   #1
mkristain
Banned
 
Join Date: Aug 2011
Crash on inserting items in NSTableView?

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000019001fa4c8
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fffffe007c5 __memcpy + 37
1 com.apple.AppKit 0x00007fff85e5ea7c _NSLayoutTreeSetLocationForGlyphRange + 1122
2 com.apple.AppKit 0x00007fff85e5dfe6 -[NSATSLineFragment saveWithGlyphOrigin:] + 3725
3 com.apple.AppKit 0x00007fff85dc5996 -[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingContext:] + 7239
4 com.apple.AppKit 0x00007fff85e59373 -[NSATSTypesetter layoutParagraphAtPoint:] + 204
5 com.apple.AppKit 0x00007fff862fedae -[NSTypesetter _layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGly phIndex:nextCharacterIndex:] + 2637
6 com.apple.AppKit 0x00007fff85e58b22 -[NSTypesetter layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 210
7 com.apple.AppKit 0x00007fff85e58a0b -[NSATSTypesetter layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 1238
8 com.apple.AppKit 0x00007fff85e56fe8 -[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 1131
9 com.apple.AppKit 0x00007fff85e569b0 -[NSLayoutManager(NSPrivate) _fillLayoutHoleAtIndex:desiredNumberOfLines:] + 211
10 com.apple.AppKit 0x00007fff85e5562f _NSFastFillAllLayoutHolesUpToEndOfContainerForGlyphIndex + 679
11 com.apple.AppKit 0x00007fff85e551a5 -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:] + 243
12 com.apple.AppKit 0x00007fff85d6ac12 -[NSLayoutManager glyphRangeForTextContainer:] + 286
13 com.apple.AppKit 0x00007fff85ebcbb9 -[NSStringDrawingTextStorage drawTextContainer:withRect:graphicsContext:baselineMode:scrollableadding:] + 370
14 com.apple.AppKit 0x00007fff85e08034 _NSStringDrawingCore + 4399
15 com.apple.AppKit 0x00007fff85e06cf3 _NSDrawTextCell + 3117
16 com.apple.AppKit 0x00007fff85e0e9fc -[NSTableView drawRow:clipRect:] + 1242
17 com.apple.AppKit 0x00007fff85e0e2ef -[NSTableView drawRowIndexes:clipRect:] + 369
18 com.apple.AppKit 0x00007fff85e0cc9c -[NSTableView drawRect:] + 1302
19 com.apple.AppKit 0x00007fff85e02cc5 -[NSView _drawRect:clip:] + 3390
20 com.apple.AppKit 0x00007fff85e01938 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
21 com.apple.AppKit 0x00007fff85e01ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
22 com.apple.AppKit 0x00007fff85e0000a -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767
23 com.apple.AppKit 0x00007fff85e00ed6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
24 com.apple.AppKit 0x00007fff85e00ed6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
25 com.apple.AppKit 0x00007fff85e00ed6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
26 com.apple.AppKit 0x00007fff85e00ed6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
27 com.apple.AppKit 0x00007fff85e00ed6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
28 com.apple.AppKit 0x00007fff85dffb2c -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
29 com.apple.AppKit 0x00007fff85dfc3de -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
30 com.apple.AppKit 0x00007fff85d75c0e -[NSView displayIfNeeded] + 969
31 com.apple.AppKit 0x00007fff85d70aba _handleWindowNeedsDisplay + 678
32 com.apple.CoreFoundation 0x00007fff85b6fb07 __CFRunLoopDoObservers + 519
33 com.apple.CoreFoundation 0x00007fff85b4b434 __CFRunLoopRun + 468
34 com.apple.CoreFoundation 0x00007fff85b4ad8f CFRunLoopRunSpecific + 575
35 com.apple.HIToolbox 0x00007fff89fc67ee RunCurrentEventLoopInMode + 333
36 com.apple.HIToolbox 0x00007fff89fc6551 ReceiveNextEventCommon + 148
37 com.apple.HIToolbox 0x00007fff89fc64ac BlockUntilNextEventMatchingListInMode + 59
38 com.apple.AppKit 0x00007fff85d45eb2 _DPSNextEvent + 708
39 com.apple.AppKit 0x00007fff85d45801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
40 com.apple.AppKit 0x00007fff85d0b68f -[NSApplication run] + 395
41 com.apple.AppKit 0x00007fff85d043b0 NSApplicationMain + 364


i dont understand

please guide me..
mkristain is offline   0 Reply With Quote
Old Mar 16, 2012, 05:42 AM   #2
toptan
macrumors newbie
 
Join Date: Sep 2010
Location: Novi Sad, Serbia
A little code would not hurt...
toptan is offline   0 Reply With Quote
Old Mar 16, 2012, 10:10 AM   #3
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by mkristain View Post
i dont understand

please guide me..
So you got a crash dump. Do you know what the lines of that crash dump mean? Could you just try in your own words to say what is happening there?

Next, why do you think it is happening? Do you think it's a bug in the code that is executing there or a bug somewhere else? If it is caused by a bug somewhere else, what are you doing that causes the bug?
gnasher729 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
NSTableView get selected row data cpuin Mac Programming 2 Oct 2, 2013 11:08 AM
Edit NSTableView - NSArrayController kikko088 Mac Programming 0 Jan 17, 2013 08:57 AM
Mac Mini 10.8.2 Crash, Can Anyone Decode This Crash Log? cocacolakid OS X 10.8 Mountain Lion 0 Nov 29, 2012 09:20 PM
Not all items being tagged when tagging multiple items in iTunes willryan42 Mac Applications and Mac App Store 0 Oct 8, 2012 06:44 PM
Asynchronous NSURLConnections + NSTableView Help jwei92 Mac Programming 0 Jul 10, 2012 08:42 PM

Forum Jump

All times are GMT -5. The time now is 01:17 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC