From owner-freebsd-stable Tue Feb 13 12:38: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bitbucket.extern.uniface.nl (bitbucket.extern.uniface.nl [193.78.88.139]) by hub.freebsd.org (Postfix) with ESMTP id B263237B491 for ; Tue, 13 Feb 2001 12:37:57 -0800 (PST) Received: from bh2.nl.compuware.com (unknown [172.16.17.82]) by bitbucket.extern.uniface.nl (Postfix) with ESMTP id A287B8282 for ; Tue, 13 Feb 2001 21:37:55 +0100 (CET) Received: from trashcan.nl.compuware.com ([172.16.16.52]) by bh2.nl.compuware.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1LAJHLTV; Tue, 13 Feb 2001 21:37:55 +0100 Received: from c1111.nl.compuware.com (c1111.nl.compuware.com [172.16.16.36]) by trashcan.nl.compuware.com (Postfix) with ESMTP id 50F73145A4; Tue, 13 Feb 2001 21:37:55 +0100 (CET) Date: Tue, 13 Feb 2001 21:37:55 +0100 (CET) From: Bert Driehuis X-Sender: bertd@c1111.nl.compuware.com To: stable@freebsd.org Subject: Re: getenv() problems on 4.2-STABLE In-Reply-To: <20010212102729.A6521@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Feb 2001, Rasputin wrote: > * Erich Zigler [010212 05:45]: > > I've currently been working on the Gabber port. I'm running in to a constant > > problem though. Whenever gettext or GNOME makes a getenv() call it > > segfaults. This is Gabber 0.8.1. Here is an example of one of the backtraces... > > #0 0x28c0e7a3 in getenv () from /usr/lib/libc_r.so.4 > > #1 0x2881aa5d in guess_category_value () from /usr/local/lib/libintl.so.1 > I assume Gabber uses X libraries, etc. to reach getenv? > Is there a possibility one of those libraries may have it's own > version of getenv? More likely, there is an incompatible malloc somewhere (or a corrupted malloc arena). The MALLOC_OPTIONS (see man malloc) may help if something corrupts the malloc arena. Cheers, -- Bert -- Bert Driehuis -- driehuis@playbeing.org -- +31-20-3116119 If the only tool you've got is an axe, every problem looks like fun! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message