Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 1998 09:22:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Gary Kline <kline@thought.org>
Cc:        monachus@arces.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: realloc() error - cryptic little thing
Message-ID:  <19980513092216.S20153@freebie.lemis.com>
In-Reply-To: <199805122335.QAA04703@tao.thought.org>; from Gary Kline on Tue, May 12, 1998 at 04:35:18PM -0700
References:  <19980513082305.E20153@freebie.lemis.com> <199805122335.QAA04703@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 May 1998 at 16:35:18 -0700, Gary Kline wrote:
> According to Greg Lehey:
>> On Tue, 12 May 1998 at 13:27:37 -0700, Gary Kline wrote:
>>> According to Greg Lehey:
> 		[[ .. ]]
>
>>> 	Don't think it is swap-related, unless inetd does something
>>> 	bizarre.  From my zsh on my 6x86 (256M of swap), I type
>>>
>>>	% setenv LANG de_DE.ISO_8859-1
>>>
>>> 	and thus far always seem the realloc() complaint.  First time.
>>> 	On my second try, no noise.
>>
>> I'm not sure I understand this statement.  BTW, why do you choose a
>> German environ?
>
>
> 		Wasn't this discussion anout the `junk pointer'
> 		error?  I'm seeing:
>
> p2 15:21 <sage> [518] setenv LANG de_DE.ISO_8859-1
> -zsh in free(): warning: junk pointer, too low to make sense.

Ah, no, this is a different problem.  I was talking about inetd.
Yours appears to be in zsh, presumably the shell you use.  That's a
whole different can of worms.

> 		Okay, my mistake.  It's in free(), not realloc().
> 		This may be simply another zsh error on the x86
> 		platform.  This only happens once, tho.
>
> 		I'm using a non-English LANG in my locale work.
> 		Writing my own locale.c and localedef.c...
> 		((So far, FreeBSD is way ahead in its locale code.))
>>
>>
>> It's irritating rather than dangerous.  Since it's completely within
>> inetd, it's not going to affect the rest of the system much, but it
>> makes it difficult to establish connections.
>>
>
> 		It'll be interesting when you've figured out
> 		what the score is.

I'm probably not going to look at the zsh one.  You might forward it
to the zsh people.  inetd is part of FreeBSD, of course, so we can't
foist that off on anybody else.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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