When using Pro*C (a embedded SQL preprocessor from Oracle for C-Code) or OCI I noticed that the connect/init routine installs some signal handlers.
That means before
I would patch the Oracle .so file to replace the sigaction string with nosigactn and make a no-op function in your program called nosigactn with the same signature as sigaction.
.so
sigaction
nosigactn