PL/SQL Package Compiled With Debug Option Produces Wrong Results On P27 Winx64

(Doc ID 1669287.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version and later
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Information in this document applies to Microsoft Windows x64 (64-bit)


After applying P27 on Database, PL/SQL package produces wrong results when compiled with debug option.
Code works fine when using DB.

alter package xxxx compile debug;
Issue occurs when calling the packaged procedure with parameters and pass concrete values.


Sample testcase :



Sample output:


p1 send = 1
p2 send = 2
p3 send = 3
p1 receive = 1
p2 receive = 3 ===> This is wrong, must be 2
p3 receive = 3


 Upgraded the database from to P27


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