Error in `FNDLIBR': double free or corruption (out)


In some concurrent programs, I was seeing the error as FNDLIBR corrupted. Other programs were working fine. This was observed in EBS instances having an 11g database. These are also occurred after upgrade the database to 11g for an oracle apps environment.

Error:


 *** glibc detected *** FNDLIBR: double free or corruption (out)


Cause:

The problem was found to be due to the JAVA_JIT_ENABLED being enabled.
The JIT is a compiler that has been introduced in 11g for a faster compilation of java code. Prior to 11g, NCOMP (aka JAccelerator) was being used.

With JIT disabled, you may encounter some slowness when compiling and running your Java stored procedures if you have any.

Documented in Bug 11672921: PICK RELEASE FAILS WITH ERROR GLIBC DETECTED *** FNDLIBR: DOUBLE FREE OR CORRUPT.

SQL> select name,value from v$parameter where name='java_jit_enabled';

NAME                               VALUE
————————————                       ——–
java_jit_enabled                    TRUE


Solution :

Disable JIT.      By using the following command we can disable it

alter system set JAVA_JIT_ENABLED= FALSE scope = both


Reference:
Doc ID 1296991.1: Programs Fail With "Glibc Detected" After Upgrade Of Db To 11g


If you like please follow and comment