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

Facing App Crash #40

Closed
NickSneo opened this issue Feb 6, 2024 · 9 comments
Closed

Facing App Crash #40

NickSneo opened this issue Feb 6, 2024 · 9 comments

Comments

@NickSneo
Copy link

NickSneo commented Feb 6, 2024

Hey,
I have included this library in web3j - hyperledger-web3j/web3j#2000 for sending Blob Txs
But I am facing app crash and errors when running any function that includes functions from this library.

Errors -

JVMDUMP039I Processing dump event "abort", detail "" at 2024/02/06 16:20:07 - please wait.
JVMDUMP032I JVM requested System dump using '/Users/nicks/Desktop/coding/projects/Web3App/core.20240206.162007.59144.0001.dmp' in response to an event
JVMDUMP010I System dump written to /Users/nicks/Desktop/coding/projects/Web3App/core.20240206.162007.59144.0001.dmp
JVMDUMP032I JVM requested Java dump using '/Users/nicks/Desktop/coding/projects/Web3App/javacore.20240206.162007.59144.0002.txt' in response to an event

Let me know if I should share other details or I am missing something

@NickSneo
Copy link
Author

NickSneo commented Feb 6, 2024

I was able to solve this.
Issue was with the IBM Java 17 JDK version, switched to other JDK (Amazon Java 17) and it worked fine.

Thanks!

@NickSneo NickSneo closed this as completed Feb 6, 2024
@NickSneo NickSneo reopened this Feb 6, 2024
@NickSneo
Copy link
Author

NickSneo commented Feb 6, 2024

Reopened the issue, in case someone wants to investigate further why did it fail with IBM JDK 17.0.6 version.

@StefanBratanov
Copy link
Contributor

StefanBratanov commented Feb 19, 2024

Hi @NickSneo thank you for raising, will look into testing with this specific JDK version.

@StefanBratanov
Copy link
Contributor

Hi @NickSneo I know it's an older issue, but do you somehow have access to the dump?

@NickSneo
Copy link
Author

Hey @StefanBratanov , I can reproduce it and get the dump if you require. But its size was over 6GB

@StefanBratanov
Copy link
Contributor

Hey @StefanBratanov , I can reproduce it and get the dump if you require. But its size was over 6GB

I see. Maybe it would be easier if I can reproduce. What exact version of IBM JDK are you using and are you using Docker to test?

@NickSneo
Copy link
Author

IBM JDK 17.0.6 version
I added it as a dependency in web3j for EIP4844 support - hyperledger-web3j/web3j#2000
When you run these tests - https://github.com/web3j/web3j/blob/master/crypto/src/test/java/org/web3j/crypto/BlobUtilsTest.java with above mentioned IBM JDK you will get the error while with other JDK like Amazon Corretto 17.0.10 it gets resolved

@StefanBratanov
Copy link
Contributor

Hi @NickSneo I cloned the codebase and tried running this test and it works for me. I am using this version of the JDK: https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.6%2B10_openj9-0.36.0/ibm-semeru-open-jdk_x64_linux_17.0.6_10_openj9-0.36.0.tar.gz Is it correct? I use Windows as well, not sure if that can make the difference.

@NickSneo
Copy link
Author

Closing the issue

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

2 participants