My Oracle Support Banner

Change In the Behavior of DBMS_UTILITY.FORMAT_ERROR_STACK From 12.2 Onwards. (Doc ID 2361141.1)

Last updated on FEBRUARY 19, 2018

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


The exception handling behavior of the function DBMS_UTILITY.FORMAT_ERROR_STACK is different in version output of the function in does not match with its equivalent in any pre 12.2 release. The function now includes ORA-6512 showing the complete backtrace information from where the actual error/exception was originated.

For example:



Database is upgraded to


To view full details, 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 a vibrant support community of peers and Oracle experts.