Sunday, 10 February 2013

Crash on inserting items in NSTableView?


exception type: exc_bad_access (sigsegv)
exception codes: kern_invalid_address @ 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:nextglyphindex: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:scrollable:padding:] + 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


dont understand

please guide me..
 

a little code not hurt...
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment