Hi Oliver, Is there a stack trace on stderr?
Thanks, Thomas On Thu, Jun 21, 2018 at 1:59 PM, Oliver Kohll <oli...@agilechilli.com> wrote: > 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@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