[351] in arla-drinkers
Re: pwd gives segmentation fault
daemon@ATHENA.MIT.EDU (Magnus Ahltorp)
Sat Oct 24 21:47:15 1998
From owner-arla-drinkers@stacken.kth.se Sun Oct 25 01:47:13 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 13749 invoked from network); 25 Oct 1998 01:47:10 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 25 Oct 1998 01:47:10 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id CAA06088
for arla-drinkers-list; Sun, 25 Oct 1998 02:40:50 +0100 (MET)
Received: (from map@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id CAA06061;
Sun, 25 Oct 1998 02:39:27 +0100 (MET)
To: Xiaochun He <he@petitt.phy-astr.gsu.edu>
Cc: arla-drinkers@stacken.kth.se, xhe@gsu.edu
Subject: Re: pwd gives segmentation fault
References: <Pine.SGI.3.96.981024120749.6046C-100000@petitt.phy-astr.gsu.edu>
From: Magnus Ahltorp <map@stacken.kth.se>
Date: 25 Oct 1998 02:39:21 +0100
In-Reply-To: Xiaochun He's message of Sat, 24 Oct 1998 12:24:09 -0400 (EDT)
Message-ID: <lv1hfwto1x2.fsf@sundance.stacken.kth.se>
Lines: 23
X-Mailer: Gnus v5.3/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
> Everything seemed working fine except that the "pwd" command gave me
> the following error message - "pwd: cannot get current directory" when I
> accessed a remote AFS cell. I did follow the recipe from the
> arla-0.13/INSTALL file to fix the problem. However, the problem became
> worse and the new error message was - "segmentation fault (core dumped)"
> when put "/lib/getcwd.so" in /etc/ld.so.preload. What did I do wrong?
The segmentation fault, was it when trying to run "pwd"? In that case,
I have never seen it before, but I _have_ seen it on setuid programs
(and netscape). The code that getcwd.so consists of is very
straight-forward, and I doubt that there are any bugs in it.
There have been speculations that the problem lies in the dynamic
linker, but this has not been confirmed.
If it occurs when running all programs, it's very bad, since the
getcwd.so is very vital for system functionality (as you have seen,
cwd fetching does not work very well without it). If you could do some
more testing, like when it segfaults and not, it would be very
valuable.
/Magnus
map@stacken.kth.se