Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 22:40:31 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Mark Peek <mp@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: csh on arm failure?
Message-ID:  <20070515224031.78dd92aa@kan.dnsalias.net>
In-Reply-To: <464A008E.5040508@FreeBSD.org>
References:  <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net> <20070515105611.00747584.rnsanchez@wait4.org> <464A008E.5040508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_o+TXFVX8ouM+hM5+3lax982
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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:
>=20
> src/bin/csh/config_p.h:
>=20
> ...
> #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
>=20
> The SYSMALLOC define should cause it to use the system malloc and not
> the tcsh malloc. Could __FreeBSD__ not be defined?
>=20
> 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?
>=20

Just out of curiosity, could you try again with new libc/arm/Symbol.map
in place?

--=20
Alexander Kabaev

--Sig_o+TXFVX8ouM+hM5+3lax982
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGSm8fQ6z1jMm+XZYRArthAJ9zUtrBMxz13OYIKgolA6EmM605rACfRiAj
l3yc0ImLyvYMmBjCWJihRZE=
=8WlU
-----END PGP SIGNATURE-----

--Sig_o+TXFVX8ouM+hM5+3lax982--



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