Core dump in EXEC SQL DECLARE xx_cur CURSOR FOR xid
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
We compiled our application in Informix 9.2 on HPUX 11. Everything was working. We compiled the same code in Informix 7.31. Now we get core dumps in different executable and all of them are in "EXEC SQL DECLARE ..." code. The stack from the core file indicates BUS ERROR in 0xc52560d8 in sqli_curs_locate () from /user/online731/lib/esql/libifsql.sl This core dump happens after 4 or 5 executions. Does anybody know if this is a known problem in Informix 7.31? any comments, welcome! thanks Sundar Sent via Deja.com http://www.deja.com/ Before you buy.
What version of the SDK or ESQL/C are you using in the 9.2x and 7.31 setups? Art S. Kagel rsundar@my-deja.com wrote: > > We compiled our application in Informix 9.2 on HPUX 11. Everything was > working. We compiled the same code in Informix 7.31. > > Now we get core dumps in different executable and all of them are > in "EXEC SQL DECLARE ..." code. > > The stack from the core file indicates BUS ERROR in > 0xc52560d8 in sqli_curs_locate () > from /user/online731/lib/esql/libifsql.sl > > This core dump happens after 4 or 5 executions. > > Does anybody know if this is a known problem in Informix 7.31? > > any comments, welcome! > > thanks > Sundar > > Sent via Deja.com http://www.deja.com/ > Before you buy.
INFORMIX 9.2
$ onstat -VInformix Dynamic Server 2000 Version 9.20.HC1 Software Serial Number
AAC#J853444
$ esql -V
INFORMIX-ESQL Version 9.30.HC1Software Serial Number AAC#J853445
INFORMIX 7.3.1
$ onstat -VInformix Dynamic Server Version 7.31.UC2A Software Serial Number
AAC#J730765
$ esql -V
INFORMIX-ESQL Version 9.21.HC1Software Serial Number AAC#J730766
In article <39C76255.2DB7ED83@bloomberg.net>,
kagel@bloomberg.net wrote:
> What version of the SDK or ESQL/C are you using in the 9.2x and 7.31
> setups?
>
> Art S. Kagel
>
> rsundar@my-deja.com wrote:
> >
> > We compiled our application in Informix 9.2 on HPUX 11. Everything
was
> > working. We compiled the same code in Informix 7.31.
> >
> > Now we get core dumps in different executable and all of them are
> > in "EXEC SQL DECLARE ..." code.
> >
> > The stack from the core file indicates BUS ERROR in
> > 0xc52560d8 in sqli_curs_locate ()
> > from /user/online731/lib/esql/libifsql.sl
> >
> > This core dump happens after 4 or 5 executions.
> >
> > Does anybody know if this is a known problem in Informix 7.31?
> >
> > any comments, welcome!
> >
> > thanks
> > Sundar
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Some more information on this...
I had the executables made with Informix 7.3.1 and used them to run
with Informix 9.2 Server and Shared libraries. It works fine. I think
the problem is in the shared libraries of 7.3.1 ??
Sundar
In article <8q86g5$veu$1@nnrp1.deja.com>,
rsundar@my-deja.com wrote:
> INFORMIX 9.2
> $ onstat -V> Informix Dynamic Server 2000 Version 9.20.HC1 Software Serial Number
> AAC#J853444
>
> $ esql -V
> INFORMIX-ESQL Version 9.30.HC1> Software Serial Number AAC#J853445
>
> INFORMIX 7.3.1
> $ onstat -V> Informix Dynamic Server Version 7.31.UC2A Software Serial Number
> AAC#J730765
>
> $ esql -V
> INFORMIX-ESQL Version 9.21.HC1> Software Serial Number AAC#J730766
>
> In article <39C76255.2DB7ED83@bloomberg.net>,
> kagel@bloomberg.net wrote:
> > What version of the SDK or ESQL/C are you using in the 9.2x and 7.31
> > setups?
> >
> > Art S. Kagel
> >
> > rsundar@my-deja.com wrote:
> > >
> > > We compiled our application in Informix 9.2 on HPUX 11. Everything
> was
> > > working. We compiled the same code in Informix 7.31.
> > >
> > > Now we get core dumps in different executable and all of them are
> > > in "EXEC SQL DECLARE ..." code.
> > >
> > > The stack from the core file indicates BUS ERROR in
> > > 0xc52560d8 in sqli_curs_locate ()
> > > from /user/online731/lib/esql/libifsql.sl
> > >
> > > This core dump happens after 4 or 5 executions.
> > >
> > > Does anybody know if this is a known problem in Informix 7.31?
> > >
> > > any comments, welcome!
> > >
> > > thanks
> > > Sundar
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
In the 7.31 instance, did you install SDK/ESQL before IDS or after? If
before then the message files and some of the libraries will be the wrong
versions. Always install newer versions (ie ESQL/9.21) after older ones
(ie IDS 7.31).
BTW you could just install the same ESQL for both engines so you only need
one set of executables for both.
Art S. Kagel
rsundar@my-deja.com wrote:
>
> Some more information on this...
>
> I had the executables made with Informix 7.3.1 and used them to run
> with Informix 9.2 Server and Shared libraries. It works fine. I think
> the problem is in the shared libraries of 7.3.1 ??
>
> Sundar
> In article <8q86g5$veu$1@nnrp1.deja.com>,
> rsundar@my-deja.com wrote:
> > INFORMIX 9.2
> > $ onstat -V> > Informix Dynamic Server 2000 Version 9.20.HC1 Software Serial Number
> > AAC#J853444
> >
> > $ esql -V
> > INFORMIX-ESQL Version 9.30.HC1> > Software Serial Number AAC#J853445
> >
> > INFORMIX 7.3.1
> > $ onstat -V> > Informix Dynamic Server Version 7.31.UC2A Software Serial Number
> > AAC#J730765
> >
> > $ esql -V
> > INFORMIX-ESQL Version 9.21.HC1> > Software Serial Number AAC#J730766
> >
> > In article <39C76255.2DB7ED83@bloomberg.net>,
> > kagel@bloomberg.net wrote:
> > > What version of the SDK or ESQL/C are you using in the 9.2x and 7.31
> > > setups?
> > >
> > > Art S. Kagel
> > >
> > > rsundar@my-deja.com wrote:
> > > >
> > > > We compiled our application in Informix 9.2 on HPUX 11. Everything
> > was
> > > > working. We compiled the same code in Informix 7.31.
> > > >
> > > > Now we get core dumps in different executable and all of them are
> > > > in "EXEC SQL DECLARE ..." code.
> > > >
> > > > The stack from the core file indicates BUS ERROR in
> > > > 0xc52560d8 in sqli_curs_locate ()
> > > > from /user/online731/lib/esql/libifsql.sl
> > > >
> > > > This core dump happens after 4 or 5 executions.
> > > >
> > > > Does anybody know if this is a known problem in Informix 7.31?
> > > >
> > > > any comments, welcome!
> > > >
> > > > thanks
> > > > Sundar
> > > >
> > > > Sent via Deja.com http://www.deja.com/
> > > > Before you buy.
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.