The crash 'CFRelease.cold.2' / '__CFStringCollectionCopy() called with NULL' was caused by passing pointers to uninitialized CFDictionaryKeyCallBacks and CFDictionaryValueCallBacks structs (zeroed arena allocations) to CFDictionaryCreate. When CoreFoundation tried to call the copyDescription callback, it invoked a NULL function pointer. Fix: Use ffi.ptrOf(kCFTypeDictionaryKeyCallBacks) and ffi.ptrOf(kCFTypeDictionaryValueCallBacks) to pass the standard global callback structs instead of empty struct space. |
||
|---|---|---|
| .. | ||
| src | ||
| platform_image_converter.dart | ||