Occi Libraries Crash In Ocipclearmxctr Run In Browser With CGI (Doc ID 1160529.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.1.0 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

CGI program with OCCI calls failing with:

current thread: t@1
[1] OCIPClearMxCtr(0x64, 0xff1cb560, 0x9b0, 0xff1357d4, 0x891bc, 0x800), at 0xfe2a72a4
[2] oracle::occi::OCCIErrorGet(0x64, 0x1, 0x0, 0x70704, 0xffbff0a8, 0x400), at 0xff1419f8
[3] oracle::occi::SQLExceptionImpl::SQLExceptionImpl(0x706f8, 0xff1cc044, 0x64, 0x1, 0x800, 0x96c74), at 0xff134948
[4] oracle::occi::SQLExceptionCreate(0xff0ec850, 0x64, 0x1, 0x0, 0x944fc, 0xff1cc044), at 0xff1370a0
[5] oracle::occi::Environment::createEnvironment(0x0, 0x0, 0x0, 0x2478c, 0x941f8, 0xff0ec850), at 0xff1373a8
=>[6] run(), line 45 in "cgitest.cpp"


However, the application would work fine from the command line, or in the browser if the Oracle calls are removed.

Cause

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