| 
      
      
      From:  <ra...@gr...> - 2005-07-18 06:48:05
      
     | 
| Hi David, I did try to debug as mentioned by you. But still no clue. Any luck with you? TIA Ravi On Fri, 15 Jul 2005 02:27 , David Essex <de...@us...> sent: >ravi : > > > Could someone pls help me with the following? > > I am able to compile the programs without any error. > > But I get "segmentation fault" on executing the binary. > > One is calling program and the other called program. > > gdb is also of no use in this case. I am unable to > > proceed any further. Pls help. > > I have attached both the programs in one single file. > >There is some sort of memory corruption problem in one of the literals >or identifiers. > >This is causing a segmentation fault when one of the identifiers gets >initialized due to the VALUE clause. > >Due to the large amount of literals and identifiers it is difficult to >isolate the problem, as the memory location where the problem occurs may >have only a casual relation to the problem. >And since the memory location is corrupt, it is difficult, if not >impossible, to identify the problem statement. > >Anyway I will try to isolate the problem. > >BTW, if you which to look at the problem just compile the run-time with >the GCC '-g' option, and set the '.gdbinit' file with a break-point at >'b tcob_move'. >The run the tests program (gdb BPVITD3), and use the continue command. > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/\?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Tin...@li... >https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users |