underretain in CoreAnimation / iPhone Simulator

Sat, 12. Dec 2009

Categories: de development Tags: 3 3.2.1 Cocoa CoreAnimation iPhone Simulator Snow Leopard underretain XCode

After upgrading to Snow Leopard and XCode 3.2.1 I’ve seen such console output

CAUnderRetain(32139,0xa0391500) malloc: *** error for object 0x3838000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

when rotating the iPhone Simulator in a project with base SDK 3.0.

This can be reproduced as follows: