Re: Compiling Dynamic-4GL forms
Posted in 1998
On Fri, 7 Aug 1998, Candy McCall wrote: > We've gotten several "Memory fault - core dumped" when compiling form > files in Dynamic-4GL. It appears to happen on those forms that have > fields with several elements in their include lists. Here is a sample > that compiles under classic 4gl but gives a core dump in Dynamic-4GL: > > DATABASE formonly > [...sample form with long list of values in INCLUDE attribute...] > END I had to add several extra lines to the include list on Solaris, but when I did so, I too got a core dump. This is entered in PTS as bug B98481. I will be reporting this to 4J's. I don't know whether there's a good workaround or not. I suspect not. Yours, Jonathan Leffler (jleffler@informix.com) #include <witticism.h> Guardian of DBD::Informix v0.59 -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn PS: It is in a released version, despite the last line below. BUG NUMBER 98481 Product: ID4GL Date: 08/07/98 Dup. Bug ID: Type: SW Submitter: jleffler ---- Short Description ---- FGLFORM DUMPS CORE IF FORM CONTAINS A BIG ENOUGH INCLUDE LIST ---- Long Description ---- If you have a form with a big enough list of items in the INCLUDE attribute, fglform cumps core. A modified sample is shown below. The repeated lines had to be added to get the core dump on Solaris. The original version had an array instead of just a single field, and there were extra attributes on the field and an INSTRUCTIONS section too. Omitting them meant a couple of extra lines in the INCLUDE section were needed to get the core dump on Solaris 2.6. The customer got the core dump on a smaller form -- your milage may vary, therefore, when reproducing this problem. INFORMIX Dynamic 4GL Form Compiler Version 2.02.1e6l7 Built Jun 4 1998 13:19:38 (c) 1989-1998 Four J's Development Tools -- core dumping form -- DATABASE formonly SCREEN { [f001 ] } END ATTRIBUTES f001 = formonly.fldid TYPE CHAR, INCLUDE = (NULL,"CHECKN","ACKDATE","ANETPAY","ANETPAY2","NETPAY", "ENAME","EADD1","EADD2","EADD","ECSZ","EDEPT","ENUM","ESSN", "PEDATE","TUNITS","TEARN","TDED","AEARN","STAX","LTAX", "DEFCOMP","CKDATE","ADEFCOMP","ASTAX","ALTAX","EDTOTAL", "EHRRATE","SVTOTAL","SVETOTAL","SVATOTAL","ESCAPE","CR","EC1", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC2","EC3","EC4","EC5","EC6","EC7","EC8","EC9","EC10","EC11", "EC12","EC13","EC14","EC15","EC16","EC17","EC18","EC19","EC20", "EC21","EC22","EC23","EC24","EC25","DC1","DC2","DC3","DC4", "DC5","DC6","DC7","DC8","DC9","DC10","DC11","DC12","DC13", "DC14","DC15","DC16","DC17","DC18","DC19","DC20","DC21","DC22", "DC23","DC24","DC25","JE1","JE2","JE3","JE4","JE5","JE6","JE7", "JE8","JE9","JE10","JE11","JE12","JE13","JE14","JE15","JE16", "JE17","JE18","JE19","JE20","JE21","JE22","JE23","JE24","JE25"); END ---- Bug Comments ---- FAMILY 2 ENVIRONMENT UNIX: SOLARIS FOR BUG NUMBER 98481 ID Effect Severity Fix Precedence Work around ______________________________________________________________________ 262029 CORE 1 4 N Current Owner: jleffler Current Fixer: No fixer assigned Last Critical Assertion: VRF Earliest Verified Version: 2.00.UC1 Ever Exist in a Released Version? N