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

OpenJ9 (Java 8) 0.9.0 crashed with 'Inconsistency detected by ld.so' #3607

Closed
akrus opened this issue Nov 8, 2018 · 4 comments
Closed

OpenJ9 (Java 8) 0.9.0 crashed with 'Inconsistency detected by ld.so' #3607

akrus opened this issue Nov 8, 2018 · 4 comments

Comments

@akrus
Copy link

akrus commented Nov 8, 2018

Hello!

Just had a strange JVM crash. A few seconds after the service start-up (it was establishing the connections at that time) it crashed with the following line:

Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

No other messages are available.

Some possibly useful details:

openjdk version "1.8.0_181"                                                                                                                                                                                                                  
OpenJDK Runtime Environment (build 1.8.0_181-b13)                                                                                                                                                                                            
Eclipse OpenJ9 VM (build openj9-0.9.0, JRE 1.8.0 Linux amd64-64-Bit 20180813_80 (JIT enabled, AOT enabled)                                                                                                                                   
OpenJ9   - 24e53631
OMR      - fad6bf6e
JCL      - a05586ac based on jdk8u181-b13)                                                                                                                                                                                                   

JVM flags:

-server -Xshareclasses:name=appname -Xgcpolicy:metronome -Xgc:targetPauseTime=1 -Xscmx200m -XX:SharedCacheHardLimit=300m -Xlp:codecache:pagesize=2M -Xlp:objectheap:pagesize=2M,warn

OS details:

Ubuntu 18.04.1 LTS, kernel 4.15.0-38-lowlatency

Unfortunately there is no core dump or anything else that could help.

@akrus
Copy link
Author

akrus commented Nov 8, 2018

Probably this is related:
https://sourceware.org/bugzilla/show_bug.cgi?id=19329

@DanHeidinga
Copy link
Member

It certainly looks like that glibc bug. The only thing I can think of is to reproduce with LD_DEBUG=all and see if that highlights where the issues occurs in openj9 to see if we can work around it.

@akrus
Copy link
Author

akrus commented Nov 8, 2018

I'll check if I can reproduce this bug as it just appeared for the first time.

It looks like a workaround is to use a static build.

@DanHeidinga
Copy link
Member

Closing this as a glibc bug. Please reopen if it reoccurs and there's something we can do to help work around it.

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

No branches or pull requests

2 participants