| 
      
      
      From: Jim M. <ro...@vi...> - 2003-06-20 01:33:42
      
     | 
| Alain I am using Red Hat Linix 8.0 Even if I just add "77 FILLER PIC X Value SPACES." then the erro= r occurs. If you are having the same problem, then it looks as if there is a bug in the compiler somewhere. I was hoping that the program had simply exceeded some parameter that is related to the number of WORKING STORAGE VARIABLES you can have. In whic= h case it might be easy to fix. My programs all have fairly large WORKING STORAGE sections. The programs= I am testing are much smaller than a lot of other programs I would like to compile. Have you noticed any other factors that affect getting the error in your programs? Jim ----- Original Message ----- From: eurlix <eu...@li...> To: <tin...@li...> Sent: Friday, June 20, 2003 3:03 AM Subject: Re: [Tiny-cobol-users] Segmentation fault > Hi Jim, > > Le Thu, 19 Jun 2003 12:28:48 +0800 > "Jim Morcombe" <ji...@by...> a =E9crit: > > > 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 > > SETCTION, 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. > > > > Jim > > > > > As I have EXACTLY the same problem on about 30% of 450/500 programs, > I am curious to read what appen if you _only_ add a line like > 77 filler pic x value space. > in your program . > > I suppose that you works with win*something, but this work for me > with Linux from sometime ;-) > > Regards, > -- > Alain Lucari (Eurlix) > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission= ! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Tin...@li... > https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users > |