• 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: Bad free() before any of my code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad free() before any of my code


  • Subject: Re: Bad free() before any of my code
  • From: Matt Gough <email@hidden>
  • Date: Wed, 26 Nov 2003 08:28:45 +0000

> Just wondering if anybody has seen this or knows a way to track it down.
>
> I'm getting 8 of these in the console:
>
> *** malloc[4362]: Deallocation of a pointer not malloced: 0x1ad6e00;
> This could be a double free(), or free() called with the middle of an
> allocated block; Try setting environment variable MallocHelp to see
> tools to help debug
>
> They happen before the first line of my code executes, so I'm not sure
> where they could be coming from.  Is there a way to trace what's
> happening when my app starts up?

Brian,

I too started seeing these yesterday after updating to the latest ADC XCode
seed. I spent a couple of hours trying to track it down until I found that
every sample project I tried did the same thing. The usual things about
turning on the malloc environment variables and trying to 'fb malloc_printf'
in gdb didn't work.

Matt
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Bad free() before any of my code (From: Brian Barnes <email@hidden>)

  • Prev by Date: Re: CVS integration XCode
  • Next by Date: Suppressing warnings for multi-character character constants
  • Previous by thread: Bad free() before any of my code
  • Next by thread: Suppressing warnings for multi-character character constants
  • Index(es):
    • Date
    • Thread