The code is called on the main thread. According to the crash report, thread 0 makes that assignment, Looking at the crash log, the abort originates here: 4 libobjc.A.dylib 0x00000001818d7fc0 _objc_fatal(char const*, ...) + 44 (objc-errors.mm:232) 5 libobjc.A.dylib 0x00000001818a6d78 weak_register_no_lock + 396 (objc-weak.mm:423) 6 libobjc.A.dylib 0x00000001818a6b40 objc_storeWeak + 472 (NSObject.mm:408) As it happen, you don't have to guess at why weak_register_no_lock failed, as the project is opensource. Here is the line that's crashing: _objc_fatal(Cannot form weak reference to instance (%p) of class %s. It is possible that this object was over-released, or is in the process of deallocation., (void*)referent, object_getClassName((id)referent)); That leads to here: and at the same time thread 16 is calling [NSImageView asynchronousPreparation:prepareResultUsingParameters:]. Unfortunately, I wouldn't necessarily assume this call is directly involved. From the large context in th
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: