GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #11237

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: CBFalconer
Subject: compiling-update
Date: 7 Jan 2005, 07:50:21

*** top-posting fixed ***
Grant Jacobs wrote:
>> jan.ruzicka@comcast.net wrote:
>>> Jan-Ruzickas-Computer:~/Desktop/downloads/gpc-20041218/p/test
... snip ...
>>> TEST    systemtest.pas: *** malloc: vm_allocate(size=2147483648)
>>> failed (error code=3)
>>> *** malloc[452]: error: Can't allocate region
>>> *** malloc: vm_allocate(size=2147483648) failed (error code=3)
>>> *** malloc[452]: error: Can't allocate region
>>
>> A bug in Mac OS X. Please report it to <devbugs@apple.com>.
> 
> Perhaps search Apple's XCode user mailing list - I seem to vaguely
> recall a discussion about a similar issue quite some time ago.
> Sorry I can't remember the details myself.

Why a bug?  Any malloc system has the right to limit assignment
size.  In this case I expect it is probably using sbrk calls to the
system, and allowing for negative arguments to return core to the
system.  That assignment size is ridiculous on the face of it, and
the test simply exposes a system limit.

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach compiling-update 7 Jan 2005, 19:28:58
CBFalconer compiling-update 8 Jan 2005, 00:08:54

In reply to

Author Subject Date
Adriaan van Os compiling-update 7 Jan 2005, 10:38:14
Grant Jacobs compiling-update 8 Jan 2005, 00:07:16

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).