From: David E. <de...@us...> - 2007-12-15 19:09:53
|
Reg wrote: > Next problem:- > Whether I compile with -m and run vis htcobrun or > compile with -x for an executable, > when I call the next program in the system I get:- > > /TinyCat/startpass1: line 4: 13359 Segmentation fault > /TinyCobol/development/cobrun/htcobrun PASSCHEC1 > > (different number for fault from -x version). > This seems to occur when PASSCHEC1 calls the next > program, which was compiled with -m. > Could be the next program is large or the single > parameter passed in linkage is too big? > Anyway, seems like a memory fault similar to the > compile problem prior to the CVS version. I don't have sufficient information to determine the problem. But usually a 'segmentation fault' with a CALL statement usually occurs when the input/output paramaters are not in sync. Or when a dynamic call fails and input/output paramater data contains junk. Did you set the following 'environment variables' ? export TCOB_LD_LIBRARY_PATH=/TinyCat export LD_LIBRARY_PATH=/TinyCat Hint: You can check a call statement with the following code. CALL ... ON EXCEPTION ... Cheers. |