Tomcat randomly crashes when using APR for HTTP 2 protocol with the following error in log: *** Error in `/home/sas/tomcat/bin/../jre/bin/java': free(): corrupted unsorted chunks: 0x00007f48a80aca60 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7c619)[0x7f4a80c5b619] /home/sas/tomcat/bin/../lib/libapr-1.so.0(apr_allocator_destroy+0x23)[0x7f4a3b430893] [0x7f4a69016087] ======= Memory map: ======== 00400000-00401000 r-xp 00000000 fc:00 6162398 /home/sas/tomcat/jre/bin/java 00600000-00601000 r--p 00000000 fc:00 6162398 /home/sas/tomcat/jre/bin/java 00601000-00602000 rw-p 00001000 fc:00 6162398 /home/sas/tomcat/jre/bin/java 00602000-00623000 rw-p 00000000 00:00 0 .... Server.xml config is as follows: <Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol" SSLEnabled="true" acceptCount="1000" maxSpareThreads="75" maxThreads="500" minSpareThreads="25" relaxedQueryChars="[,],{,},\\,|,/,`" compression="on" compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain,application/javascript,application/json,application/x-javascript,application/xml,text/event-stream"> <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" compression="on" compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain,application/javascript,application/json,application/x-javascript,application/xml,text/event-stream,image/png,image/svg,image/svg+xml,font/ttf"/> <SSLHostConfig honorCipherOrder="false"> <Certificate certificateKeyFile="conf/server.key" certificateFile="conf/server.crt"/> </SSLHostConfig> </Connector> This issue is not seen when downgrading to http11 and removing apr binaries