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

Mail #11243

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: 8 Jan 2005, 00:08:54

Frank Heckenbach wrote:
> CBFalconer wrote:
>> 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.
> 
> But then malloc must return NULL (which GPC will translate into a
> proper error message) instead of crashing or terminating the
> program.

Oh.  Didn't realize the errors were internal to malloc. 
Unbelievably sloppy.  

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


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
CBFalconer compiling-update 7 Jan 2005, 07:50:21
Frank Heckenbach compiling-update 7 Jan 2005, 19:28:58

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).