4GL core dump
Posted in 1991
Path: emory!swrinde!cs.utexas.edu!usc!sciences.sdsu.edu!ucselx!berick!optigfx!crash!ipars!scotto From: scotto@ipars.cts.com (Scott O'Connell) Newsgroups: comp.databases.informix Message-ID: <1991Nov2.051551.6084@ipars.cts.com> Date: 2 Nov 91 05:15:51 GMT Organization: Spectrum Data Services, Carlsbad, CA A little over a year ago I upgraded my 4GL, SQL and SE database development products to 4.00.UE1. The software was running under SCO Xenix 2.3.2. Right after doing that I wrote a program from scratch using the programmers environment of 4GL. I did a MODULE, NEW, typed about 100 lines of code, saved, COMPILE, RUNABLE. The compile started but almost immediately stopped with "Press Return to Continue". I lost my source and Informix dumped core. I re-typed everything and tried it again with the same results. I then called Informix tech support who said there was no way it could be their problem (I had heard this many times before and wasn't surprised). I looked closely at the source and found a typo (forgot an underscore or something) saved, recompiled and it WORKED! It was something in my source code that caused Informix to bomb on the first compiler pass. I called tech support told them how I could reproduce it and was told they'd look into the problem. Soon after that phone call I learned that the company I worked for had been sold and there would be no new development other than the conversion program to the new machine. I wrote that program without any problems. I just purchased the software from the old company and am currently starting another project. I have already written 3 or 4 programs without incident. I was just bitten by the same bug of a year ago. This time I narrowed it down to ANY variable ending with "_no", as in p_foxlic.hm_phone_no. I changed the name to p_foxlic.hmphone and everything worked fine. I continued to build on this program and the problem is happening again. This time I can't find out what the heck is causing the problem. I just renewed my support and should be able to call tech support next week. In the mean time I was wondering: a) is technical support any better than they were a year ago? b) is this the latest version of 4GL for SCO Xenix (or Unix)? c) is there a workaround for this bug? Thanks in advance. -- Scott O'Connell - N6ZEK UUCP: {nosc, ucsd}!crash!ipars!scotto Spectrum Data Services ARPA: crash!ipars!scotto@nosc.mil Carlsbad, CA INET: scotto@ipars.cts.com