Re: Seg fault when using existing connection from pro*c/c++

From: MG <liagmairim_at_yahoo.co.uk>
Date: 21 Aug 2001 06:05:56 -0700
Message-ID: <d28a4dae.0108210505.29269557_at_posting.google.com>


Sorry, forgot to say that my client program is running on Linux. Is there any other information I should add? Important bits of configuration I should check?

Thanks!

liagmairim_at_yahoo.co.uk (MG) wrote in message news:<d28a4dae.0108150652.1fb55fe2_at_posting.google.com>...
> I have a pro*c/c++ program which connects to a database using "EXEC
> SQL CONNECT :user IDENTIFIED BY :passwd AT DB_NAME USING :dbname". It
> then submits queries at intervals using "EXEC SQL AT DB_NAME
> SELECT..." and uses "EXEC SQL WHENEVER SQLERROR DO..." to capture
> errors.
>
> Mostly this works fine and any errors are caught, but when the
> database becomes unavailable during its backup procedure there is a
> segmentation fault the next time a query is attempted. Any ideas,
> please? The traceback for the seg fault is:
> upirtrc
> kpuexe
> kpuexecv7
> kpuexec
> OCIStmtExecute
> sqlcucExecute
> sqlall
> sqlatm
> sqlnst
> sqlcmex
> sqlcxt
> ...and then the line of my program where SELECT was called.
>
> Thanks.
Received on Tue Aug 21 2001 - 15:05:56 CEST

Original text of this message