free(): corrupted unsorted chunks
Bernd Eckenfels
ecki at zusammenkunft.net
Thu Jun 21 20:30:54 UTC 2018
Are you using any native libraries in this VM, is there a hs_err or System core file? Can you run „ldd“ on the java launcher binary. Can you try a OpenJDK binary distribution independent of the OS compiled version?
Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: core-libs-dev <core-libs-dev-bounces at openjdk.java.net> on behalf of Oliver Kohll <oliver at agilechilli.com>
Sent: Thursday, June 21, 2018 1:59:27 PM
To: core-libs-dev at openjdk.java.net
Subject: free(): corrupted unsorted chunks
Hi,
I'm a Java developer getting a crash and error message 'free(): corrupted
unsorted chunks' in the log. this sounds like it could be a low level issue
in the core Java libraries so I'm posting here, but if it would be better
in another list (or even a different community) please let me know.
So I'm requesting help because I don't know how to debug this further. In
summary, the issue is
We're getting a crash nearly once a day on our production system, at a time
of day when it's most busy (mid morning). This crash hasn't been seen on
our development environment, which is the same apart from the server has
less memory and CPU resources.
The environment is:
* A VPS host
* Ubuntu LTS 18 (Bionic)
* The default Java 10 packaged as 11 I believe (
https://askubuntu.com/questions/1037646/why-is-openjdk-10-packaged-as-openjdk-11
)
* However, javac seems to be from JDK8:
root at server:~# file /etc/alternatives/java /etc/alternatives/javac
/etc/alternatives/java: symbolic link to
/usr/lib/jvm/java-11-openjdk-amd64/bin/java
/etc/alternatives/javac: symbolic link to
/usr/lib/jvm/java-8-openjdk-amd64/bin/javac
We're running our webapp on Tomcat 8 (also the Ubuntu default). When this
happens, the server stops responding to HTTP requests (in fact the java
process has quit) and needs to be restarted.
The crash doesn't seem to correspond to a particular activity on the server
as far as I can see, though it's hard to tell as many people are logged in
at the same time.
Does anyone have any pointers of
a) how to track the bug further so I can report it, ideally without a big
impact on our live server
b) more immediately, any workarounds to try
In the meantime I will see if I can downgrade to JDK8 on the test server,
but I'm not sure if that's possible or whether it would make a difference.
Regards
Oliver
More information about the core-libs-dev
mailing list