Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Fatal Error when upgraded to Hikaricp connection pool from c3p0 for quartz. #170

Open
PriyaJainTR opened this issue Jan 18, 2024 · 3 comments

Comments

@PriyaJainTR
Copy link

PriyaJainTR commented Jan 18, 2024

Recently we have updated our database connection pool to HikariCp and HeapOutofMemory fatal errors started occuring. The issue persists and stops my application to work in local. I then need to manually restart my server again and the error doesn't persist. This is a strange behaviour where the VM crashes on its own. I am suspecting that this upgrade is blocking few threads and leading this issue.

I have just added this new property : quartzProperties.put("org.quartz.dataSource.myDS.provider", "hikaricp");

Currently I am using JDK 17 with a heap memory of 2048M.

Please let me know for any other specific detailed information required. Thankyou for help in advance.


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffff968cf36, pid=30868, tid=46348
#
# JRE version: OpenJDK Runtime Environment Corretto-17.0.8.8.1 (17.0.8.1+8) (build 17.0.8.1+8-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.8.8.1 (17.0.8.1+8-LTS, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x1cf36]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-17/issues/
#

@benty-amzn
Copy link
Contributor

Hi, thanks for contacting us.
Unfortunately, there's not a lot of information present in that crash report.

If you're able to reproduce the issue consistently, the crash log from a recent fastdebug build may provide more.

We've also just released Corretto 17.10, 2 versions newer than the one indicated in the crash. It's possible that your bug has already been fixed.

@PriyaJainTR
Copy link
Author

Whenever I remove the HikariCp property the errors doesn't come.

In all the logs it points out to

Problematic frame:

j javax.servlet.ServletRequestWrapper.getRequestDispatcher(Ljava/lang/String;)Ljavax/servlet/RequestDispatcher;+0

I believe there is some compatability issue of Hikarcp latest version with tomcat-server-api-9.0.83.

Any clues on this

@lutkerd
Copy link
Contributor

lutkerd commented Jan 19, 2024

Can you include the complete hs_err logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants