| 
      
      
      From: David E. <de...@ar...> - 2003-06-20 04:21:18
      
     | 
| On 19/06/03, Jim Morcombe wrote: > I seem to have run into a problem. > I am using a script called "comp" to run > the compiler and line 34 of the script is > the actual "htcobol" command. > > I keep getting the following error message: > > comp:line34: 14503 Segmentation fault > htcobol -c -g -C -F -P -I $COBCPY $PROG.cbl > return code 139 > > I think I may have hit some kind of limit on the compiler. > If I "comment out" any line defining a variable in the > WORKING-STORAGE SECTION, then it compiles correctly. > As soon as I remove the comment, the compiler crashes. > > Even if I just comment out a line like this, it works: > > 01 FILLER PIC X(4) VALUE "L20". > > The number "14503" reported in the error message changes slightly > as I comment out different variables, but always seems to stay > between 14500 and 14600. There is a compiler limit, which may, or not, be the cause of this problem. I have forgotten the details, but it should not seg fault, as there was some code to trap the error. Could you send me some sample code, which I could test ? |