From: Reg <re...@ri...> - 2007-09-06 09:05:45
|
David Essex-2 wrote: > > Reg wrote: > > > Is there a size limit for TC programs? > > Using latest Fedora/gcc/etc. get compiler fail > > on "Segmentation Fault" with larger programs > > which compile and run perfectly with OpenCobol, Acu, MF. > > Anyone any ideas? > > There is no specific source SIZE limit on TC. > > But, no stress tests have been performed using source code SIZE as a > parameter. > > I have compiled and run fairly large programs, but > but then again it depends on what is considered a 'large program'. > > In any case I suspect this to be some sort of bug, and without a sample > to test there is no way to trace it. > > If you are feeling adventurous, you can compile the TC source with the > '-g' option, then use GDB to isolate the seg-fault location. > > > Hope this helps. > > PS. > Please do not post any large and/or proprietary source code) > > Hi David, > Thanks for rapid response. > Doesn't seem to matter which source code, so looks like compiler bug. > Will debug it when I get chance, probably about 3 or 4 weeks. > Meanwhile, I seem to recall someone muttering about gcc 3 returning a > yes/ok instead of a 0/1 or vice versa on a memory alloc, so might try > running on an older machine. > Regards, > Reg. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Tin...@li... > https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users > > -- View this message in context: http://www.nabble.com/Segmentation-Fault-tf4383688.html#a12518261 Sent from the tiny-cobol-users mailing list archive at Nabble.com. |