Oracle Client Segfaults When User Hits CTRL-C or Closes The Session (Doc ID 1065478.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Net Services - Version: to - Release: 11.1 to 11.2
Information in this document applies to any platform.


When an OCI application establishes a connection to the Oracle Database, fetches data, and then performs additional non-Oracle related activity, a Ctrl+C causes the application to produce a Segmentation Fault.
If the same non-Oracle related activity is done without establishing an Oracle connection the code works as expected.

Sample Error Stack
[1] nsgetcinfo(0x1d0b60, 0xffbec45c, 0x0, 0x2, 0x1, 0x1db7f4), at 0xfe83fc54
[2] nioqih(0x1d0ab8, 0x0, 0x1cfa80, 0x1d13a8, 0x0, 0x1d0ab8), at 0xfe864dac
[3] nigsuiint(0x2, 0x1d13a8, 0x1d13a8, 0xff308a6c, 0xff2d1eac, 0x6400), at 0xfe86b7f8
[4] nigsuihdlr(0x2, 0x0, 0x0, 0x0, 0x0, 0xff349468), at 0xfe86b8a0
[5] sslsshdlr2(0x2, 0x0, 0xffbec8b8, 0x0, 0x0, 0x0), at 0xff02e9e0
[6] sslsshandler(0x2, 0x0, 0xffbec8b8, 0x0, 0x57c628c, 0x57c6280), at 0xff02e81c
[7] __sighndlr(0x2, 0x0, 0xffbec8b8, 0xff02e700, 0x0, 0x0), at 0xfe046e78
---- called from signal handler with signal 2 (SIGINT) ------
[8] _read(0xf632, 0x2001, 0xf632, 0x11, 0x3, 0x57bfa3), at 0xfe04a748
[9] read(0x5, 0x56d2f0, 0xf632, 0x0, 0xecb5, 0x8760c), at 0xfe038e4c
[10] AmfBlockedReader::readBlock(0x55bf08, 0xecb1, 0x86f20, 0x0, 0xfcfe8, 0x76560), at 0x75a10
[11] AmfBlockedReader::loadNext(0x55bf08, 0xddcd, 0x0, 0x0, 0x1000, 0x1190), at 0x76140


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms