Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!decwrl!shelby!csli!cwitty From: cwitty@csli.Stanford.EDU (Carl Witty) Newsgroups: comp.soft-sys.andrew Subject: console gets bus error, other nasties -- PL 6 Message-ID: <14951@csli.Stanford.EDU> Date: 18 Aug 90 01:50:35 GMT Sender: cwitty@csli.Stanford.EDU (Carl Witty) Distribution: comp Organization: CSLI, Stanford University Lines: 50 Some problems I've had with Andrew PL 6: 1) "console" compiled on a Sparcstation 1 gives a bus error in a function called by the application_Start() macro on line 202 of runapp.c. It runs fine on a sun 3 or an IBM RT running AOS 4.3. (The suns both run 4.0.3). How does one go about debugging this? Normally, I'd go into a debugger and get a backtrace, to see where it died, and then look at the source code to see if I could figure out what was wrong. With this dynamic loading stuff, I can't figure out how to get the debugger to tell me what function it died in, so I can't figure out how to start debugging it. 2) .../overhead/util/lib/tokpak.c kills the Sparcstation compiler. It works fine if it's compiled without optimization. 3) .../config/vax_3/system.h is missing the declaration of osi_Times and the definition of osi_GetSecs(). 4) .../ams/demo/gendemo doesn't work if you don't set ANDREWDIR and you don't build andrew in /usr/andrew. 5) .../overhead/class/testing/Imakefile should set MAKEDOFLAGS to -b ../cmd -g -d $(BASEDIR)/lib . Otherwise, it doesn't work if you're not installing in /usr/andrew. 6) .../overhead/snap2/guardian/cmd/Imakefile and .../overhead/snap2/pcserver/Imakefile refer to ${AFSBASEDIR}/lib/librauth.a, which is not part of AFS 3.0. Things seem to work fine if that library is removed from the compile line--evidently AFS 3.0 has the necessary functions from that library, but has moved them to some other library. 7) .../overhead/wpi/wpi.c , line 503, calls puts(WPI_Value("Fwd", entry)); however, if somebody has no forward field, WPI_Value returns NULL, which makes puts() core dump. wpi should probably check for this case explicitly and print out something like "no forwarding address". 8) Is the AFS monitoring for console supposed to work under AFS 3.0? The sample consoles that claim to monitor the file system always claim "There has been no file system activity." I'd appreciate any help with fixing the problems with console (numbers 1 and 8); the rest I've fixed myself. Thanks, Carl Witty cwitty@cs.stanford.edu