From: utzoo!decvax!pur-ee!uiucdcs!essick Newsgroups: net.bugs.uucp Title: Re: sigtramp() - (nf) Article-I.D.: uiucdcs.169 Posted: Wed Jun 9 12:26:05 1982 Received: Thu Jun 10 02:47:46 1982 Reply-To: (s #R:harpo:6300001:uiucdcs:18600002:000:931 uiucdcs!essick Jun 4 12:31:00 1982 We had this problem about a month ago. Uucp would establish a connection to a machine, send about a dozen files or so and then core dump. Looking at /usr/spool/uucp showed that there where several hundred C* files. It turns out that the array "wrkvec" is only dimensoned to 20. Apparently, we would wind up overrunning the array, stomp all over other variables (and probably the rest of the stack frame) and that was the end. Our "solution" has worked fine for us. We upped the wkrvec to 1000 elements and have not had this problem since. While looking for this "bug", I never saw anything that watches the end of the array to see if the program is about to go off the end. Did I miss it? or is the program never supposed to work itself into a situation like that? Ray Essick pur-ee!uiucdcs!essick 107c107 < char filename[MAXFULLNAME], wrktype, *wrkvec[1000]; --- > char filename[MAXFULLNAME], wrktype, *wrkvec[20];