Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!mcsun!ukc!cf-cm!glasgow!daemon From: sysnet@central1.lancaster.ac.uk ("The Postmaster") Newsgroups: mail.uk-sendmail-workers,comp.mail.sendmail Subject: Problems with Dombuild on ptx Message-ID: <25446.9105071014@central1.lancaster.ac.uk> Date: 7 May 91 11:48:06 GMT Sender: uk-sendmail-workers-request@cs.hw.ac.uk Organization: Glasgow University Computing Science Dept. Lines: 21 Approved: usenet@dcs.glasgow.ac.uk X-Mailer: ELM [version 2.2.030 PL10], mail-news 2.0.5 I'm having awful trouble porting UK-Sendmail 2.1 to a Sequent ptx machine. The problem is in the Dombuild script; it seems that there is simply too much data for awk to process, and it crashes with a SEGV. The point of fail comes where it tries to do a split on domain[rhs]. Depending on what other strings are in the program, and whether the data is in a file or sent to awk on standard input, the failure point is at around 300 elements. Best I can get is that domain[uk.ac] will split with 302 elements, but if that works awk crashes doing domain[uk.co]. Anyone else have this problem? What's the remedy? I've tried deleting elements of the arrays as they're finished with, but that doesn't seem to improve things. Is the size of the NRS such that awk just can't cope, and should I rewrite the stuff in C? I've noticed that on our Sequent Dynix 3 system (BSD 4.2) the awk script is _very_ close to the point of fail too..... Any advice appreciated..... Alan Phillips