Hi, I'm programming in ESQL-C 9.2 on Informix 7.3 for Solaris 5.8 and really often I get a core dump in this sentence:
EXEC SQL SELECT Value, Severity, AdittionalInfo
INTO :LnValue, :LnSeverity, :LszAditionalInfo
WHERE IdObject = :LszIdObject
AND IdAgent = :LszIdAgent;
This sentence is executes succesfully a lot of times, but some others I get a core dump. All the variables are well inicialized. Another fact is that I run 10 instances of the same programm at the same time with one connection per instance, I mean every instance is respolsible for connecting and disconnecting for the database, they connect at the beginning of the programm and disconnect at the end.
I send you too the contents of the core file where the programm crashes: