• 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: A malloc error in C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A malloc error in C++


  • Subject: Re: A malloc error in C++
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 29 Aug 2007 11:37:42 -0700

On 8/29/07, Lyndsey Ferguson <email@hidden> wrote:
>
> What is at line 183 in file "/Users/giacomomonari/Programmi
> C++/lab3_1/lab3_1.cpp"?

Don't forget that line is likely the first allocation to trigger the
heap validation (which detected the problem) not the one that actually
cause the problem.

The issue is most likely down in the DataAnalysis class ... something
taking place when it does its processing is corrupting things
(overwriting memory).

As an on topic item... consider using malloc_history (man
malloc_history) and related items to understand who allocated the
object in question, etc.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: A malloc error in C++ (From: Giacomo Monari <email@hidden>)
 >Re: A malloc error in C++ (From: Lyndsey Ferguson <email@hidden>)

  • Prev by Date: Re: A malloc error in C++
  • Next by Date: Re: Using Xcode debugger without Xcode project
  • Previous by thread: Re: A malloc error in C++
  • Next by thread: Re: A malloc error in C++
  • Index(es):
    • Date
    • Thread