• 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: Lyndsey Ferguson <email@hidden>
  • Date: Wed, 29 Aug 2007 14:27:03 -0400
  • Thread-topic: A malloc error in C++

What is at line 183 in file "/Users/giacomomonari/Programmi
C++/lab3_1/lab3_1.cpp"?


On 8/29/07 2:27 PM, "Giacomo Monari" <email@hidden> wrote:

> Shawn Erickson ha scritto:
>>
>> Type "bt" to get a backtrace of the thread stack.
>>
>> -Shawn
>>
>>
>
> Thx Shawn, I get this (trancript from the console):
>
> (gdb) bt
> #0  0x90003da3 in szone_malloc ()
> #1  0x90002b0f in malloc ()
> #2  0x90b4e5b3 in operator new ()
> #3  0x00036e14 in __gnu_cxx::new_allocator<double>::allocate
> (this=0xbffff838, __n=80) at
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/ext/new_allocator.h:88
> #4  0x00036e3e in std::_Vector_base<double, std::allocator<double>
>> ::_M_allocate (this=0xbffff838, __n=80) at
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/stl_vector.h:117
> #5  0x00036e71 in std::_Vector_base<double, std::allocator<double>
>> ::_Vector_base (this=0xbffff838, __n=80, __a=@0xbffff316) at
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/stl_vector.h:103
> #6  0x00036fdd in std::vector<double, std::allocator<double> >::vector
> (this=0xbffff838, __n=80) at
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/stl_vector.h:217
> #7  0x00035211 in main (argc=1, argv=0xbffff9b8) at
> /Users/giacomomonari/Programmi C++/lab3_1/lab3_1.cpp:183
>
> Any idea about how should I interprete this?
>
> Giacomo
>
>
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
>  Sponsor:
>  In REGALO 'All the Good Thing' di NELLY FURTADO
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6617&d=29-8
>  _______________________________________________
> 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

--
Mr. Lyndsey D. Ferguson
Software Engineer
Nemetschek N.A., Inc.
http://www.nemetschek.net


 _______________________________________________
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

  • Follow-Ups:
    • Re: A malloc error in C++
      • From: Giacomo Monari <email@hidden>
    • Re: A malloc error in C++
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Re: A malloc error in C++ (From: Giacomo Monari <email@hidden>)

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