我遇到了与MacRuby不一致的错误,并且不知道如何调试它。如果有人能提供帮助就会很棒。
我不知道这是由于我自己的代码还是MacRuby框架中的错误。我有一种感觉,这是我自己的代码,一些关于过度保留一块内存,因此垃圾收集失败。
这是Xcode的错误。感谢。
CSV Wizard(30245,0x7fff704f7ca0) malloc: resurrection error for object 0x20199da20 while assigning {conservative-block}[196608](0x302360060)[117616] = Array[64](0x20199da20)
garbage pointer stored into reachable memory, break on auto_zone_resurrection_error to debug
CSV Wizard(30245,0x103781000) malloc: garbage block 0x20199da20(Array[64]) was over-retained during finalization, refcount = 1
This could be an unbalanced CFRetain(), or CFRetain() balanced with -release.
Break on auto_zone_resurrection_error() to debug.
CSV Wizard(30245,0x103781000) malloc: fatal resurrection error for garbage block 0x20199da20(Array[64]): over-retained during finalization, refcount = 1