Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!mit-eddie!uw-beaver!tikal!sigma!uw-nsr!john From: john@uw-nsr.UUCP (John Sambrook) Newsgroups: comp.unix.wizards,comp.mail.uucp Subject: Re: Problems with pathalias Message-ID: <1055@uw-nsr.UUCP> Date: Tue, 23-Jun-87 10:46:54 EDT Article-I.D.: uw-nsr.1055 Posted: Tue Jun 23 10:46:54 1987 Date-Received: Thu, 25-Jun-87 04:48:12 EDT References: <1177@uccba.UUCP> Reply-To: john@uw-nsr.UUCP (John Sambrook 5-7433) Distribution: na Organization: UW-Bioengineering, Seattle, WA Lines: 32 Xref: mnetor comp.unix.wizards:2906 comp.mail.uucp:652 In article <1177@uccba.UUCP> showard@uccba.UUCP (Steve Howard) writes: > >I am running SYSV R2 on an AT&T 3B2. I am attempting to run pathalias >(From the Jan 86 posting) without any luck. When I feed the whole >map to pathalias I get the following on standard error: > >rehash into 2039 >pathalias: rehash error >pathalias: cannot recover! > >When PA is only fed a state or two it runs but says "you can't get there >from here" and lists several @ signs. But if I feed it all the "d." >files it fails. > >Is there some kind of problem allocating memory? I tried running PA at >night with no load, and it crashed with about 1.5 Meg of memory free >and no swap space used!!!! (according to sar -r). At this poing I >figured that there was some sort of per-process-limit of memory usage. There was a bug in our version of pathalias in function yylex() in file parse.y. There is a declaration of "char buf[BUFSIZ]" that needed to be made static as the contents of the buffer are used after the function has returned. You should check to see if this is the case in your version of pathalias. I found this bug when I ported pathalias to our Data General MV/10000 system; others have found it on the 3B series as well. Good luck. >Steve Howard UUCP: {pyramid,philabs!phrimit-eddie}!uccba!showard > USPS: M.L. 130, Cincinnati, OH 45221 -- John Sambrook Dial: (206) 545-7433 University of Washington WD-12 Inet: john@nsr.acs.washington.edu Seattle, Washington 98195 UUCP: uw-nsr!john