Accessing A Result Set Gives Ora-600 [kokmcmp4: cannot compare two val] (Doc ID 779235.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 11.1.0.7 - Release: to 11.1

Symptoms

-- Problem Statement:
The application calls a PL/SQL stored procedure to return a result set. On accessing rows past the
first one in the result set, the ORA-600 error is returned.
ORA-00600: internal error code, arguments: [kokmcmp4: cannot compare two val], [], [], [], [], [],
[], []

Call Stack Trace is similar to:
ksedmp ksfdmp kgerinv kgeasnmierr kokmcmp PGOSF546_qersoCom pare smbput sorput PGOSF525_qersoRow qerjoFetch qersoFetch rwsfcd qeruaFetch qersoFetch kpofchswcbk rpiswu2 kpofrws opifch2 kpoal8 opiodr ttcpip opitsk opiino opiodr opidrv sou2o opimai_real opimai

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