memory fault(coredumb)
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, I have created report using Informix-4GL 7.20 UC4. during compiling I'didn't see any error everything is OK, but when I run the report, I found error memory fault(coredumb) Can Anybody help me to solve my problem ? TIA ____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
In article <7qvt6e$sm7$1@news.xmission.com>, esetyawa@netscape.net (eko setyawan) wrote: > > Hi, > > I have created report using Informix-4GL 7.20 UC4. > during compiling I'didn't see any error everything is OK, > but when I run the report, I found error memory fault(coredumb) > Can Anybody help me to solve my problem ? > If you are using gcc have you set -fwriteable-strings. Paul Watson # I don't suffer from WF Software Ltd. # stress, I'm just Tel. (+44) 1436 674729 # a carrier Fax. (+44) 1436 678693 # www.wfsoftware.com
Hi! If you are using compiler 4GL also check for not initialized variables or very large records passed as parameters - pass absolute minimum number of values. HTH Michael eko setyawan wrote: > Hi, > > I have created report using Informix-4GL 7.20 UC4. > during compiling I'didn't see any error everything is OK, > but when I run the report, I found error memory fault(coredumb) > Can Anybody help me to solve my problem ? > > TIA > > ____________________________________________________________________ > Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
paulw@wfsoftware.co.uk (Paul Watson) writes: > In article <7qvt6e$sm7$1@news.xmission.com>, esetyawa@netscape.net (eko setyawan) wrote: > > I have created report using Informix-4GL 7.20 UC4. > > during compiling I'didn't see any error everything is OK, > > but when I run the report, I found error memory fault(coredumb) > > Can Anybody help me to solve my problem ? > > If you are using gcc have you set -fwriteable-strings. There are lots of other ways to make a compiled app core dump.... Best bet is to just compile and link with -g and then use a debugger to find the offending line. -- Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412 Ronald Cole <ronald@forte-intl.com> Phone: (760) 499-9142 President, CEO Fax: (760) 499-9152 My PGP fingerprint: 15 6E C7 91 5F AF 17 C4 24 93 CB 6B EB 38 B5 E5