Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site gymble.UUCP Path: utzoo!linus!philabs!prls!amdimage!amdcad!amd!vecpyr!lll-crg!gymble!neal From: neal@gymble.UUCP (Neal R. Vanderlipp) Newsgroups: net.misc Subject: Re: Program bug Message-ID: <261@gymble.UUCP> Date: Fri, 16-Aug-85 18:03:56 EDT Article-I.D.: gymble.261 Posted: Fri Aug 16 18:03:56 1985 Date-Received: Tue, 20-Aug-85 02:13:20 EDT References: <226@gymble.UUCP> <265@frog.UUCP> Distribution: net Organization: U of Maryland, Laboratory for Parallel Computation, C.P., MD Lines: 32 >> My program crashed. Can anyone debug it for me? Here's the core dump: >> >> 0000000 000000 000000 000000 000000 000000 000000 000000 000000 >> 0000020 000000 000000 000000 000000 000000 000000 000000 000000 > ... >> 0000760 000537 000400 000000 000400 000000 000012 000000 000377 >> 0001000 177777 177777 177777 177777 177777 177777 177777 177777 >> 0001020 177777 177777 000537 000400 000000 000000 177600 007770 >> 0001040 177600 007724 017765 011600 177404 105230 000000 000002 <<- > ... > >It's quite simple. The line in your program which reads > > if (FF<&_flf[0]||FF>=&_flf[NFLF]||FF!=&_flf[FF-&_flf[0]]||FF->ff_dir==NULL){radon(bad_flf,67);return foo->ff_bc = getbch(dptr->di_ack,dptr->di_tor);} > >should read > > if (FF<&_flf[0]||FF>=&_flf[NFLF]||FF!=&_flf[FF-&_flf[0]]||FF->ff_dir==NULL){radon((bad_flf,67));return foo->ff_bc = getbch(dptr->di_ack,dptr->di_tor);} > >Glad to help! > >-- >John Woods, Charles River Data Systems, Framingham MA, (617) 626-1101 Thanks John, that looks like it will probably work, but I'm looking for a solution which is not load dependent. -- Neal R. Vanderlipp ARPA: neal@maryland CSNet: neal@umcp-cs UUCP: {seismo,allegra}!umcp-cs!neal