pointer being freed was not allocated when rotating an iPhone
pointer being freed was not allocated when rotating an iPhone
- Subject: pointer being freed was not allocated when rotating an iPhone
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 11 Jan 2010 18:34:01 +0700
When I rotate my iPhone in the Simulator, I get:
... malloc: *** error for object 0x1091000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
(gdb) bt
#0 0x980d2072 in malloc_error_break ()
#1 0x97fe1303 in free ()
#2 0x0015ce49 in dataReleaseInfo ()
#3 0x001481d9 in data_provider_finalize ()
#4 0x30204421 in _CFRelease ()
#5 0x00147fa2 in image_finalize ()
#6 0x30204421 in _CFRelease ()
#7 0x00c12ded in CALayerStateRelease ()
#8 0x00c18290 in -[CALayer dealloc] ()
#9 0x00c0a00e in CALayerRelease ()
#10 0x00c0b265 in CA::release_root_if_unused ()
#11 0x00c0b1ef in x_hash_table_remove_if ()
#12 0x00c0afd4 in CA::Transaction::commit ()
#13 0x00c132e0 in CA::Transaction::observer_callback ()
#14 0x30245c32 in __CFRunLoopDoObservers ()
#15 0x3024503f in CFRunLoopRunSpecific ()
#16 0x30244628 in CFRunLoopRunInMode ()
#17 0x32044c31 in GSEventRunModal ()
#18 0x32044cf6 in GSEventRun ()
#19 0x309021ee in UIApplicationMain ()
#20 0x0000291c in main (argc=1, argv=0xbffff06c) at /Volumes/เม่น
(gdb)
As there seems to be none of my code involved, I am a bit puzzled how to debug this.
My subclass of UIViewController is initialized from a nib and only contains a UITextView.
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden