[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: A malloc error in C++ Giacomo Monari Thu Aug 30 18:04:07 2007

Shawn Erickson ha scritto:

Type "bt" to get a backtrace of the thread stack.


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, [EMAIL PROTECTED]) 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?


Email.it, the professional e-mail, gratis per te: http://www.email.it/f

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 PROTECTED])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]