My Oracle Support Banner

Application Using OCI/OCCI Libraries Are Unable to Handle Interrupted System Calls(EINTR) Resulting in Hang or Crash Intermittently (Doc ID 2709607.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


A C++ application manipulating BLOB data using OCCI APIs either hangs or crashes with ORA-03113/ORA-12552/ORA-12592 error intermittently. The issue is observed only when the application is interrupted by a signal(e.g. SIGUSR1) while the underlying libraries are making read/write calls at OS level. The 'strace' output of the failing process shows the OCI library function cannot handle EINTR.



The code is executed for the first time using RDBMS Client version 12.1 connecting to a 12.2 database(RAC) using SCAN listener. The issue is observed with Client version 12.2 also.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.