Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Error SP2-0642 when Killing Session?

Error SP2-0642 when Killing Session?

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Mon, 02 Dec 2002 14:44:16 -0800
Message-ID: <F001.0051040F.20021202144416@fatcity.com>


Hi All,

A tester has come across a problem testing an SQL script. The script contains an anonymous block which loops through a cursor, writing lines to an output file (using UTL_FILE.PUT_LINE) and deleting rows from a table.

The tester is attempting to test failure of the script midway through execution. To do this they are using "alter system kill session 'xx, yy';". Unfortunately when they do this they receive the following error hundreds of times...

.......
SP2-0642: SQL*Plus internal error state 2167, context 4294967294:2:0 Unable to proceed
SP2-0642: SQL*Plus internal error state 2167, context 4294967294:2:0 Unable to proceed
SP2-0642: SQL*Plus internal error state 2167, context 4294967294:2:0 Unable to proceed
SP2-0642: SQL*Plus internal error state 2167, context 4294967294:2:0 Unable to proceed
Segmentation Fault(coredump)

Any ideas what might be causing this problem? Any other suggestions for making the script fail midway through execution that might avoid this bug?

Also, since the script uses dbms_output.put_line to log some progress messages, can they still expect these to appear after the session is killed?

Thanks in advance,

          Mark.

PS: Oracle is 8.1.7.4.0 (EE) on Solaris, script is being executed via SQL*Plus 8.1.7.0.0 on Solaris also.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

   Privileged/Confidential information may be contained in this message.

          If you are not the addressee indicated in this message
       (or responsible for delivery of the message to such person),
            you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender
           by reply e-mail or by telephone on (61 3) 9612-6999.
   Please advise immediately if you or your employer does not consent to
                Internet e-mail for messages of this kind.
        Opinions, conclusions and other information in this message
              that do not relate to the official business of
                         Transurban City Link Ltd
         shall be understood as neither given nor endorsed by it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Richard
  INET: mrichard_at_transurban.com.au

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Dec 02 2002 - 16:44:16 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US