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

From: MG <liagmairim_at_yahoo.co.uk>
Date: 15 Aug 2001 07:52:01 -0700
Message-ID: <d28a4dae.0108150652.1fb55fe2_at_posting.google.com>



[Quoted] 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 Wed Aug 15 2001 - 16:52:01 CEST

Original text of this message