OCI-21500 error

OCI-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
which is causing a core dump
Background:
our application: Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode) using 9i drivers (oci), accessing 8i database.
We see this error at the statement execute ( accessing a table that has a nested table column).
Can you please help me? :)

This could be a problem with DB, problem with SQL or the JDBC driver. Please try to run the SQL statement from SQLPlus and see whether you get the same problem. Ask your DBA to see the alert log to check whether any errors are reported in it and have him contact Oracle Support for diagnosing the problem.
Can you please cut and paste the SQL statement and the table description ? What version of 9i Client and DB you are using and on what platform ?
thanks
Debu

Similar Messages

  • OCI-21500 error when upgrading Oracle database from 10.2 to 11.2

    We have been running some test upgrades from 10.2 to 11.2 before running it on our production server. During one of these tests, the post-upgrade script utlu112s.sql generated the following output:
    Oracle Database 11.2 Post-Upgrade Status Tool 12-12-2011 21:12:54
    Component Status Version HH:MM:SS
    Oracle Server
    . VALID 11.2.0.2.0 00:53:59
    JServer JAVA Virtual Machine
    . VALID 11.2.0.2.0 00:31:25
    Oracle Real Application Clusters
    . INVALID 11.2.0.2.0 00:00:03
    Oracle Enterprise Manager
    . VALID 11.2.0.2.0 00:33:44
    Oracle XDK
    . VALID 11.2.0.2.0 00:13:00
    Oracle Text
    . VALID 11.2.0.2.0 00:05:19
    Oracle XML Database
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . VALID 11.2.0.2.0 00:20:49
    Oracle Database Java Packages
    . VALID 11.2.0.2.0 00:00:53
    Oracle Multimedia
    . VALID 11.2.0.2.0 00:13:00
    Spatial
    . VALID 11.2.0.2.0 00:20:00
    Gathering Statistics
    . 00:24:39
    Total Upgrade Time: 03:37:02
    PL/SQL procedure successfully completed.
    As far as we can tell, everything appears to be up and running, but the OCI-21500 internal errors are troubling. I have not been able to find anything on metalink regarding this error, and I am wondering if anyone else has come across it before. Thanks for your help!
    Simeon

    The OS is Solaris 10 (SunOS 5.10) and the source DB version was 10.2.0.4. We are running the upgrade manually (NOT with DBUA). The upgrade log does not have any ORA-xxxx errors, but it does show a few instances of the same error, such as this example:
    SQL> desc XDB.XDB$RESOURCE_T;
    ERROR: OCI-21500: internal error code, arguments: [KODDBG_PUSH_80IMGPTR:dbgecPushPtr failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    Regards,
    Simeon

  • OCI-21500 when binding a collection

    Hello all:
    I've got a very strange behaviour when binding a collection. If I try to bind an empty collection, my program runs. BUT when I add one element to the collection, I've got a SIGSEGV and this message appears:
    -21500: internal error code, arguments: [kohrsc153], [], [], [], [], [], [], []
    Errors in file :
    OCI-21500: internal error code, arguments: [kohrsc153], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    Error: stisini(),13 - Can't open /oracle1/app/oracle/product/9.2.0.1.0/bin/oracleError: Stack Initialization Failure
    Error: ssdinit() failed 13
    calling call entry argument values in hex
    location type point (? means dubious value)
    ----- Argument/Register Address Dump -----
    ----- End of Call Stack Trace -----
    Any idea?

    This is my code:
    CREATE TYPE my_collection IS TABLE OF my_element;
    I'm trying to call to a PLSQL procedure:
    PROCEDURE get_collection(
    v_collection IN OUT my_collection
    Then, in the C program:
    sword code = OCI_SUCCESS;
    OCITable pList              = (OCITable )0;
    char *statement_sql      = "begin package.get_collection(:list); end;";
    code=OCITypeByName(
    envhp,
    errhp,
    svchp,
    (CONST text *)ORA_SCHEMA,
    (ub4)ORA_SCHEMA_LEN,
    (CONST text *)("MY_ELEMENT"),
    (ub4)strlen("MY_ELEMENT"),
    NULL,
    (ub4)0,
    OCI_DURATION_SESSION,
    OCI_TYPEGET_ALL,
    &(DataClass)
    code=OCITypeByName(
    envhp,
    errhp,
    svchp,
    (CONST text *)ORA_SCHEMA,
    (ub4)ORA_SCHEMA_LEN,
    (CONST text *)("MY_COLLECTION"),
    (ub4)strlen("MY_COLLECTION"),
    NULL,
    (ub4)0,
    OCI_DURATION_SESSION,
    OCI_TYPEGET_ALL,
    &(DataListClass)
    code = OCIObjectNew(
    envhp,
    errhp,
    svchp,
    OCI_TYPECODE_NAMEDCOLLECTION,
    (DataListClass),
    (dvoid *)0,
    OCI_DURATION_DEFAULT,
    TRUE,
    (dvoid **)&(pList)
    /* Add one element */
    code = OCIObjectNew(
    envhp,
    errhp,
    svchp,
    OCI_TYPECODE_OBJECT,
    (DataClass),
    (dvoid *)0,
    OCI_DURATION_DEFAULT,
    TRUE,
    (dvoid **)&(elemData)
    code = OCIStringAssignText(
    envhp,
    errhp,
    (text *)"Name1",
    (ub4)strlen("Name1"),
    &(elemData->dataName)
    code = OCICollAppend(
    envhp,
    errhp,
    (CONST dvoid *)&(elemData),
    (dvoid **)NULL,
    (OCIColl *)(pCollection)
    code = OCIStmtPrepare2((OCISvcCtx *)svchp,(OCIStmt **)&stmtp,
    (OCIError *)errhp, (unsigned char *)statement_sql, strlen(statement_sql),
    NULL,0,OCI_NTV_SYNTAX,OCI_DEFAULT);
    /* Bind */
    code = OCIBindByPos(
    stmtp,
    &bind,
    errhp,
    (ub4)1,
    (dvoid* *) NULL,
    (sb4) 0,
    SQLT_NTY,
    (dvoid *) 0, (ub2 *)0, (ub2 *)0,
    (ub4) 0, (ub4 *) 0, (ub4) OCI_DEFAULT);
    code = OCIBindObject(
         bind,
    errhp,
    DataListClass,
    (dvoid **) &pList,
    (ub4 *) 0,
    (dvoid **)0,
    (ub4 *) 0);
    /* Execute */
    code = OCIStmtExecute(svchp, stmtp, errhp, (ub4)1, (ub4)0,
    (CONST OCISnapshot *) NULL,(OCISnapshot *) NULL, OCI_DEFAULT);
    I'm trying to run this code in an Oracle 9i environment.
    Thanks in advance.

  • Oracle 9iAS installation question-oci.dll error

    Hi all
    I have a question about 9iAS installation. Can we install 9iAS in NT??. I downloaded from the site, installation for NT. While installing I get error like "could not write oci.dll error"..I'm installing the portal and wireless type and I have my Oracle9i database installed on the same machine. Can anybody suggest how to rectify this error.
    Thanks a lot

    Are you trying to install in the same Oracle Home directory as the database? You should install in a different OH. Furthermore, 9iAS itself also installs in 2 OH's. You will end up with 3 OH's.
    It is not a good idea to install the database and 9iAS on the same server, unless you have a really big one.

  • Native SQL - Runtime Error: DBIF_DSQL2_SQL_ERROR (OCI returned error code)

    Hi,
    I have sometimes a problem with a NATIVE SQL-Statement.
    Runtime Error text:
    Database error text........: "OCI returned error code -2."
    Database error code........: "-2"
    Triggering SQL statement...: "FETCH NEXT "
    Internal call code.........: "DBDS/NEW DSQL"
    Sometimes it works and sometimes we have this error.
    Can anyone help me on this error?
    Best Regards
    André

    Hi !
    also a my job that runs every day, gets the same error in the production system at least once a month ! and nobody could help me to find out why.
    Regards
    Graziano Cortese

  • Error connecting "Can't initialize OCI. Error -1"

    Hi All,
    Has anyone ever face this error when trying to connect database from Toad?
         Can't initialize OCI. Error -1
    Connecting using SQL+ running well.
    Add information:
         Database     : Oracle 10G release 10.2.0.1.0
         OS              : Win 7 Enterprise 32 bit
         Toad            : 9.0.1.8
    Thanks & best regards,
    TE

    eRie wrote:
    Hi All,
    Has anyone ever face this error when trying to connect database from Toad?
         Can't initialize OCI. Error -1
    Connecting using SQL+ running well.
    Add information:
         Database     : Oracle 10G release 10.2.0.1.0
         OS              : Win 7 Enterprise 32 bit
         Toad            : 9.0.1.8
    Thanks & best regards,
    TE
    >Connecting using SQL+ running well.
    so problem is not with the Oracle database but with Toad.
    So root cause & fix are external to Oracle.
    This problem is off topic for this forum & should be posted somewhere in TOAD-world

  • Getting OCI HANDLE ERROR

    hi
    I running a big query and i got the result when I tried to save the result it gave me this error OCI HANDLE ERROR
    and then checked on details it says tht some DLL file not found.
    But this issue was not there previously.
    Can you suggest me how to resolve this error ?
    Saravanan

    You should make the OCI NON block by using OCIAttrSet with with
    the attrtype parameter set to OCI_ATTR_NONBLOCKING_MODE before calling OCIBreak().
    You must then issue an OCIReset() call to reset the asynchronous operation and protocol.

  • OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생

    제품 : OFSA_RM
    작성날짜 : 2003-05-21
    OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생
    ====================================================
    PURPOSE
    Problem Description
    RM process 실행시 아래와 같은 에러 발생.
    Oracle RM
    Version 4.5.36
    Copyright (c) Oracle Corporation, 1995-2000
    All rights reserved worldwide.
    MB(Oracle Financial Services Application error) (203105) Oracle drv_oci error:
    OCI Function: [0] - olon(), orlon()
    Oracle Error: [12154] - ORA-12154: TNS:could not resolve service name
    Driver Function: drv_oci::Connect()
    MB(AttachDB()) Error attaching to database: OFSA45
    Workaround
    Solution Description
    기존에 사용하던 "OFSA45" 라는 listener가 다른 이름으로 바뀌어 있었다.
    OFSA45 Listener를 다시 만들고 test하니, 잘 됨.
    Reference Documents
    -------------------

    First, don't use an ODBC connection, use OCI. Secondly you need to search what's the active home. Also change all your TNSNAMES.ORA files that you can find in your system to make they have the DB name you are trying to resolve. Then try to "tnsping" the DB from a CMD prompt.

  • OCI connect error reported to cause core dump

    I use OCI in my developped library. Other developers use my library for their development purposes. Last night, the oracle server went down for patching, and a user reported a core dump that I recognized it is comming from my OCI section of library.
    I do OCI initialization, select, execute a query, and cleanup.
    Has there been any reports as for the case, when a connection is initialized, and the server goes down after successful initialization but before calls to execute a query or commit?
    Any comment???
    I have the error message below, and replace prepriotory info with xxxxxxx.
    thanks,
    --M
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxx)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xxxxxx)(CID=(PROGRAM=xxxxxx@fashing)(HOST=xxxxxx)(USER=xxxxx))))
    VERSION INFORMATION:
    TNS for Solaris: Version 10.1.0.4.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 10.1.0.4.0 - Production
    Time: 15-FEB-2007 15:49:09
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

    We have seen core dumps in system calls earlier and have tried to debug them. We did not have the exact same stack as you but the core used to show up a stack in _malloc.
    As it turned out that we had out of bound array reads (used purify to detect this) and which resulted in this dump. So the stack shown in this case could be totally misleading and the real cause could be somewhere else.
    Hope this helps.

  • Jdbc-OCI:112020 Error with SQL Developer 4.0.0.12

    Hi,
    I receive an error, Incompatible version of libocijdbc[Jdbc:112030, Jdbc-OCI:112020, when attempting to log into an existing connection with SQL Developer 4.0.0.12.  I do have the JDK 7u45 for 32 bit Windows 7.  I know this was an issue in the past and attempted to look at earlier solutions with no luck.  Any idea?

    The issue is that if you are using the OCI (thick) JDBC  driver the version of the JDBC library (in SQLDeveloper) must match the version in your ORACLE_HOME. 
    It seems SQLDeveloper 4 ships with 11.2.0.3 version of JDBC and you have 11.2.0.2 client installed.
    Possible options:
    1     Don't use the OCI driver.  You can untick the box in Tools |Preferences|Database |Advanced, but some connection types use it anyway.
    2     Upgrade your Oracle client.

  • Loading oci.dll Error

    Trying to connect to Oracle for the first time using Visual Studio.Net. I have created a App that has a connection to an Oracle database. That was easy. I then tried to populate a datareader and started receiving the error " Unable to load dll ("oci.dll"). I browsed for .dll and did not find it. My question is how to I get this .dll on a developement (WinXP) workstation and also on a production server running IIS 5.0 to connect to an oracle database? I am new but this is turning out to be a challenge. Thanks for the help in advance!!

    John,
    If you have a proper installation of Oracle Server or Client, oci.dll should be in your %Oracle_Home%\bin directory. For example, c:\Oracle\ora92\bin.
    Sinclair

  • OCI.DLL error

    My application install Oracle OLEDB and instant Client 11g, with "ODAC 11.2 Release 5 (11.2.0.3.20) with Xcopy Deployment" the connection work well in hundred of installations, except :
    On a single machine and only on it, with Win7 32 bit I have a particular problem, when i try to active an ADOconnection Object , an error appear :
    "The procedure entry point lxgutf2ucs could not be located in the dynamic link library OCI.DLL"
    Any Idea ??
    thanks Mirko

    I'd guess the wrong OCI.dll is being loaded.
    Use Process Explorer from http://sysinternals.com to verify where it's being loaded from. You'll probably see it's not the one you expect.
    Once you've verified exactly what OCI.dll is being loaded, you can see the entry points with Dependency Walker from http://dependencywalker.com
    Hope it helps
    Greg

  • OCI-21614 Error Message

    Dear readers,
    I got the error below while trying to open a message handle with the function OCIMessageOpen(), together with the ORACLE message:
    "OCI-21614: Message 21614 not found; product=RDBMS; facility=OCI"
    which is unfortunately not very helpful for debugging.
    That happens with any kind of binary message files, either provided by ORACLE or compiled with the "lmsgen" utility.
    Has anybody have any idea of why this occurs ?
    As a background: I use a prototype "Oracle 9i Enterprise Edition Release 9.2.0.1.0 - Developer's Release" for Mac OSX, which otherwise happens to work beautifully.
    Thank you for any help.
    Best regards.
    Georges Brefort

    ORA-21614 constraint violation for attribute number string
    Cause: Constraints on the attribute were violated.
    Action: Correct the value (of the attribute) so that it satisfies constraints.

  • OCI.dll error while conneting via Pl/Sql developer

    Hi All,
    I have installed Oracle 9.2.0.6 on my test server. The installations was sueecssful & SQL Plus is working fine.
    Now i have installed PL/Sql developer but when i going to connect thru it its givng me the following error message.
    Initialization Error Could Not locate OCI dll
    OracleHomeKey: SOFTWARE\ORACLE\HOME1
    OracleHomeDir: D:\orant
    I have also check the oci.dll file & it is located in D:\Orant\Bin
    Pleace adivce....
    Thanks in advance.

    Hi All,
    I have installed Oracle 9.2.0.6 on my test server. The installations was sueecssful & SQL Plus is working fine.
    Now i have installed PL/Sql developer but when i going to connect thru it its givng me the following error message.
    Initialization Error Could Not locate OCI dll
    OracleHomeKey: SOFTWARE\ORACLE\HOME1
    OracleHomeDir: D:\orant
    I have also check the oci.dll file & it is located in D:\Orant\Bin
    Pleace adivce....
    Thanks in advance.

  • OCI NLS errors in Perl script

    I'm using Perl to access an Oracle DB, using Activestate Perl and pre-built DBI and DBD::Oracle modules.
    I'm running the scripts on a Windows XP laptop, connecting to an Oracle DB running on Solaris 10, Oracle versions are 10.2 in both cases.
    I can connect to the database successfully with sqlplus, run from the command line, using the 'easy connect' method.
    The script fails to connect, generating this error:
    DBI connect('host=host.domain.com;sid=mydb;port=1522','myusername',...)
    failed: ERROR OCINlsEnvironmentVariableGet(OCI_NLS_CHARSET_ID)
    Check ORACLE_HOME and NLS settings etc. at C:\Perl\bin/esrch line 249
    My ORACLE_HOME points to the Oracle installation directory which was used to build the module, so I believe it's OK.
    Line 249 in the script is the dbi->connect(...) method.
    I have no idea which NLS variable would need to be set or changed, if that's what's needed.
    I also know that OCI_NLS_CHARSET_ID is a #define, found in oci.h. This file is included by the header file for my code.
    Any suggestions on how to get this working are much appreciated.
    Bob

    Hmm, there seems to be some confusion on my part regarding my login. I just used one which I swear I tried previously without success.
    In any case, I'm the original poster. Sorry for any confusion this causes.
    As for the questions asked.
    1. Oracle home access: yes, not only did the same user do the install of Oracle, I've verified that the user can access all files.
    2. I've run with NLS_LANG set and unset. The value used is the one stored in the registry:
    AMERICAN_AMERICA.WE8MSWIN1252
    3. I did a 'print "$ENV{NLS_LANG}\n"' from the perl script and got the expected output, as set above.
    4. As I understand it, the PerlSetVar function is a mod_perl feature, not part of the base language. I'm using batch files to run perl on my perl scripts, started from a command prompt.
    Thanks,
    Bob

Maybe you are looking for

  • What's wrong with my "Contact Me" page?

    My website has a way to go before it's "done", but I've uploaded it to see what works and what doesn't. On the Contact Us page http://www.dohaexpatmumsandkids.com/Contact.html , I want an e-mail to be sent to me when the user completes the box; howev

  • Error  while starting Content Server on Windows

    Hi While starting SAP Content Server on Windows using IIS Manager -> SAP Content Server, I am getting the message "The process cannot access the file because, it  is being used by another process" I have stopped the Contnet Server  using  options sho

  • Problem with vertexCount in LineArray

    hey, I have an array with points and I want to connect them with line and the program throw an exception during running. This is part of code: public BranchGroup graph(int n) {         for(int i = 0; i<n; i++) {             X[i] = eq.rungekutty4(0, x

  • Standard Text not getting refreshed.

    Hi All, I am working on a script where in I got to use a standard text. I am printing the text on script. And no error is coming. But when I print more than 1 invoice continuously I am getting the same standard text multiple times. Can any one help m

  • Problem in accessing huge data resultset

    HI, Am generating a weekly report in my code. My sql queries(query1 =18495 and query2=532000) results in 5.5 lacs of records. Given below is my code. Am using Jboss-4.2.x running on solaris 10. Oracle 9i is my backend DB . Using the driver version of