Tag Archives: Snow Leopard

underretain in CoreAnimation / iPhone Simulator

After upgrading to Snow Leopard and XCode 3.2.1 I’ve seen such console output
CAUnderRetain(32139,0xa0391500) malloc: *** error for object 0×3838000: 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:

Create a fresh iPhone project (I use …

Upgrade to Snow Leopard

Mac OS X 10.6 Snow Leopard (partition 25G, HFS+ Journaled, Upper/Lower)
Mac OS X 10.5 Leopard (partition 25G, HFS+ Journaled, Upper/Lower)
partition userspace 100G, HFS+ Journaled, Upper/Lower
$ cat /etc/fstab
# mount partition “userspace” as /Users
UUID=D016E3FD-E322-3006-A8F5-D2348C6A5B7B /Users hfs rw,auto

create user “mig”
TimeMachine restore Users + Settings
delete user “mig”
manually copy user “Shared”
iPhone SDK 3.1.2 + XCode 3.2.1
modgenerator 1.5 plus trick
$ ln -s /Developer/usr/bin/momc …