Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 10:49:23 +0300
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        Mark Peek <mp@FreeBSD.org>, freebsd-current@freebsd.org
Subject:   Re: csh on arm failure?
Message-ID:  <464AB783.3090603@bulinfo.net>
In-Reply-To: <20070515224031.78dd92aa@kan.dnsalias.net>
References:  <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net>	<20070515105611.00747584.rnsanchez@wait4.org>	<464A008E.5040508@FreeBSD.org> <20070515224031.78dd92aa@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Kabaev wrote:
> On Tue, 15 May 2007 11:48:46 -0700
> Mark Peek <mp@FreeBSD.org> wrote:
>
>   
>> No, this is different. The tcsh malloc is showing it is out of memory
>> and aborting. The thing I don't understand is the malloc is coming
>> from tcsh instead of using the system malloc. Looking at this file:
>>
>> src/bin/csh/config_p.h:
>>
>> ...
>> #if defined(__FreeBSD__)
>> #define NLS_BUGS
>> #define BSD_STYLE_COLORLS
>> /* we want to use the system malloc when we install as /bin/csh */
>> #define SYSMALLOC
>> /* Use LC_MESSAGES locale category to open the message catalog */
>> #define MCLoadBySet NL_CAT_LOCALE
>> #define BUFSIZE 8192
>> #endif
>>
>> The SYSMALLOC define should cause it to use the system malloc and not
>> the tcsh malloc. Could __FreeBSD__ not be defined?
>>
>> Also, it is odd that it is out of memory in the first place. Has it
>> worked before? Is there something that changed in the arm memory
>> allocation schemes?
>>
>>     
>
> Just out of curiosity, could you try again with new libc/arm/Symbol.map
> in place?
>
>   
No difference.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464AB783.3090603>