Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 10:27:29 +0000
From:      Rasputin <rasputin@FreeBSD-uk.eu.org>
To:        stable@freebsd.org
Subject:   Re: getenv() problems on 4.2-STABLE
Message-ID:  <20010212102729.A6521@dogma.freebsd-uk.eu.org>
In-Reply-To: <20010211234348.A5894@superhero.org>; from erichz@superhero.org on Sun, Feb 11, 2001 at 11:43:48PM -0600
References:  <20010211234348.A5894@superhero.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Erich Zigler <erichz@superhero.org> [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
> #2  0x2881a36a in dcgettext__ () from /usr/local/lib/libintl.so.1
> #3  0x2881ab0c in dgettext__ () from /usr/local/lib/libintl.so.1
> #4  0x2881ab38 in gettext__ () from /usr/local/lib/libintl.so.1
> #5  0x28819ffe in gettext () from /usr/local/lib/libintl.so.1
> #6  0x80c0efb in GabberWin::OnSessionConnected (this=0x8390a00,
> t=@0x838b200)
>     at GabberWin.cc:302

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?
The one you'd want is defined in stdlib.h (which wasn't in your
code snippet).

Sorry, that's all I got (still new to C).

--
Rasputin 
Jack of All Trades :: Master of Nuns


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




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