0

I have a huge set of data, those are displayed in a customized NSOutlineView.

Sometime my app gets crashed and gives me this error, while running in Xcode:

libobjc.A.dylibobjc_assign_strongCast_non_gc(objc_object*, objc_object**)`

Any idea about this one? Your replies would certainly help me to figure it out.

EDIT:

What I have tried so far:

I have put all exception breakpoints and enabled NSZombieEnabled. But is never caught.

I have use Binding to populate the NSOutlineView. The array contains one custom object, and the gets its values from aync server calls. If I do not open this NSOutlineView window, then every thing goes well.

enter image description here

Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
  • Can you please post the relevant code? Stack trace? Error messages? Troubleshooting you've tried so far? – Aaron Brager Mar 23 '15 at 12:23
  • 1
    @AnoopVaidya The whole stacktrace would be nice – JustSid Mar 23 '15 at 12:38
  • It looks to me like an overreleased object. Have you tried running your code with NSZombieEnabled? – Jesse Rusak Mar 23 '15 at 14:48
  • @JesseRusak: Yes the above screen shot is with ZombieEnabled only. What kind of issue is that, not able to understand. It i bypassing "All Exception Breakpoint" & "NSZombieEnable" both :( – Anoop Vaidya Mar 23 '15 at 15:56
  • Have you implemented `prepareForReuse` on any custom row or cell views? I wonder if you're passing a nil-check into weird territory because a reused view retained an object that was bound to it. – stevesliva Mar 24 '15 at 04:23
  • Also, bindings, controllers, and views can create some strange retain cycles. [I managed to EXEC_BAD_ACCESS because a managedObjectContext was retaining a controller which controlled a view that was deallocated.](http://stackoverflow.com/questions/23944436/should-i-need-to-unbind-cocoa-bindings-in-dealloc-of-windowcontroller) – stevesliva Mar 24 '15 at 04:35

0 Answers0