• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pointer being freed was not allocated when rotating an iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pointer being freed was not allocated when rotating an iPhone


  • Subject: Re: pointer being freed was not allocated when rotating an iPhone
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 11 Jan 2010 21:51:26 +0700

On 11 Jan 2010, at 19:24, Jonathan del Strother wrote:

> 2010/1/11 Gerriet M. Denkmann <email@hidden>:
>> 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.
>>
>
> Is this on the 3.0 simulator?
The simulator says: Version 3.1 (139.1)

Xcode says: iPhone Simulator 3.1.2

> I had a similar problem when creating
> CGImages, and it was fixed by running the simulator with the 3.1 SDK.
> As far as I can tell, the problem is completely absent on the actual
> hardware, with or without 3.0.

RIght now I cannot test the stuff on my iPhone.

_______________________________________________

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

References: 
 >pointer being freed was not allocated when rotating an iPhone (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: pointer being freed was not allocated when rotating an iPhone (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: Application defaults and toolbar items
  • Next by Date: [MEET] Toronto Cocoaheads / tacow - January 26
  • Previous by thread: Re: pointer being freed was not allocated when rotating an iPhone
  • Next by thread: iPhone endInterruption delegate method killing OpenAL
  • Index(es):
    • Date
    • Thread