Oracle Pro*C/OCI install handlers for SIGSEGV/SIGABRT and friends - why, and how to disable?

倾然丶 夕夏残阳落幕 提交于 2019-11-27 15:09:33
jjavibv

Signal handling and diagnostic framework considerations: the OCI diagnostic framework installs signal handlers that may impact any signal handling that you use in your application. You can disable OCI signal handling by setting

DIAG_SIGHANDLER_ENABLED=FALSE

in the sqlnet.ora file. Refer to "Fault Diagnosability in OCI" in Oracle Call Interface Programmer's Guide for information.

Please try to configure this environment variable in sqlnet.ora file

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!