Re: Core Dump problems
Posted in 1995
In article <3iin12$es9@hippo.shef.ac.uk>, S.Woolrich@Sheffield.ac.uk (Sally) wrote: > Our product is written & distributed in RDS (4.1x) and run with SE > 5.0x. We have problems at some sites (both ICL DRS6000 and Motrola) > with occasional core dumps. Our favorite difficult-to-reproduce core dumps under RDS are usually caused by code which "illegally" exit from MENU and INPUT blocks without using EXIT MENU or EXIT INPUT. eg: MENU "Are you sure?" COMMAND "Yes" RETURN TRUE -- Should set a flag, and EXIT MENU COMMAND "No" RETURN FALSE -- ditto END MENU -- and return the value of the flag after the END MENU EXIT WHILE works just as well as the RETURNs in the above example. Note that your code won't die in this routine - it'll die in some other INPUT or MENU, but it's this one that causes the problem. --------------------------------------,------------------------------------- Kerry Sainsbury, kerry@kcbbs.gen.nz | THE INFORMIX FAQ Quanta Systems, Auckland, New Zealand | kcbbs.gen.nz:/informix/* | mathcs.emory.edu:/pub/informix/faq/* +64 9 377-4473 (work) 266-6011 (home) | http://www.garpac.com/informix.html