Re: Segmentation fault
Posted in 1998
In article <6pt6el$t5e$1@news2.tor.accglobal.net>, Family Jurkovic <jurkovic@mail.ican.ca> writes > >Peter Strempel wrote in message <901870137.599713@fermi.dialix.com.au>... >> >> >>An Informix 4GL program which creates a report, intermitently falls >>over with a "Segmentation Fault" error. >> >>Can anyone suggest any possible cause for this error. >> >>We are running on Solaris 2.5, Online 7.2, 4GL 6.?? >> >>Thanks, >>Peter Strempel >> > >I had similar problem in 4GL reports when I used uninitialized local >variables. It immediately dumped core. After proper initialization >everything worked fine! > Also you could be running off the end of an array. Do adb myfile.4ge core and then $c $t c t one of these will show you the stack and hence help you locate the problem. With sdb instead and c4gl -keep you might be able to tie it down to an individual source code line!! >Dragan Jurkovic >MRRM (Canada) Inc. >jurkd@mrrm.ca > > -- David Williams Maintainer of the Informix FAQ Primary site (Beta Version) http://www.smooth1.demon.co.uk Official site http://www.iiug.org/techinfo/faq/faq_top.html I see you standin', Standin' on your own, It's such a lonely place for you, For you to be If you need a shoulder, Or if you need a friend, I'll be here standing, Until the bitter end... So don't chastise me Or think I, I mean you harm... All I ever wanted Was for you To know that I care