• 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: In gdb, virtual memory exhausted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >In gdb, virtual memory exhausted (From: rick proebstl <email@hidden>)

  • Prev by Date: Re: Compilation leads to Undefined symbols of a nested static lib
  • Next by Date: Can't compile, preprocessor define is coming from unknown place!
  • Previous by thread: Re: In gdb, virtual memory exhausted
  • Next by thread: Re: Creating a Java Tool - Newbie questions
  • Index(es):
    • Date
    • Thread