Re: In gdb, virtual memory exhausted
Re: In gdb, virtual memory exhausted
- Subject: Re: In gdb, virtual memory exhausted
- From: Eric Slosser <email@hidden>
- Date: Mon, 17 Mar 2008 10:56:46 -0400
Your stack crawl seems to implicate a custom data formatter.
Have you trying disabling them? (1st item in menu "Run > Variables
View")
On Mar 16, 2008, at 1:45 PM, rick proebstl wrote:
I'm using Xcode 3.0 on an Intel macbook pro. I'm
running a program with large data structs and arrays,
and when I try to take a look at some of these, either
in the variable list window or by using data tips, my
program dies and I get the following message.
gdb-i386-apple-darwin(3200,0xa05e8fa0) malloc: ***
mmap(size=1855488) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
gdb stack crawl at point of internal error:
[ 0 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(align_down+0x0) [0x11d2ff]
[ 1 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(xstrvprintf+0x0) [0x11e393]
[ 2 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(xcalloc+0x45) [0x11e528]
[ 3 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(xzalloc+0x19) [0x11e549]
[SNIP]
[ 12 ]
/Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(evaluate_subexp_with_coercion+0x5d) [0x349c7]
/SourceCache/gdb/gdb-768/src/gdb/utils.c:1144:
internal-error: virtual memory exhausted: can't
allocate 1854676 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
_______________________________________________
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