Akihiro Suda
Akihiro Suda
Is this still planned?
Is this closable now?
full jstack: https://gist.github.com/AkihiroSuda/56ebabe71528b0186ea2
Finally I've got how the deadlock occurrs. - Th#16([`tcp.clj`](https://github.com/aphyr/riemann/blob/48e9f610c696f5e3ce85d643da6ba332d41e6b6e/src/riemann/transport/tcp.clj#l133)): Acquires lock 0xd4f52260(`java.lang.Runtime`), and enters [`java.lang.Runtime.load0`](http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/20e6cadfac43/src/share/classes/java/lang/Runtime.java#l800). - Th#17([`sse.clj`](https://github.com/aphyr/riemann/blob/48e9f610c696f5e3ce85d643da6ba332d41e6b6e/src/riemann/transport/sse.clj#l96-l97)): Enters [`sun.nio.ch.IOUtil.`](http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/20e6cadfac43/src/share/classes/sun/nio/ch/IOUtil.java#l355). - Th#17(`sse.clj`): Wants to enter [`java.lang.Runtime.loadLibrary0`](http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/20e6cadfac43/src/share/classes/java/lang/Runtime.java#l861). However blocked by the lock...
Couldn't reproduce with my local OpenJDK 7u79. :disappointed: I will try to dump stack on the Travis with my new tool: https://github.com/AkihiroSuda/deadlockreporter
In JDK7, `com.hypirion.io` (called from leiningen rather than riemann itself) is deadlocking? https://travis-ci.org/AkihiroSuda/riemann/jobs/86775336 https://travis-ci.org/AkihiroSuda/riemann/jobs/86775337
On second thought, riemann itself is deadlocking at [transport_test.clj:76](https://github.com/aphyr/riemann/blob/4a095955ab71fb4849c15284c024506ebb9a8778/test/riemann/transport_test.clj#L76). However, unfortunately `jstack` did not provide any useful information about clojure stacks.
The bug seems still not resolved for JDK 8 (for the build run 14 days ago, at least).. https://travis-ci.org/riemann/riemann/jobs/107986718 Not sure whether the cause is identical to the case in...
The latest riemann@0ed63b29 (Feb 14) still hanging with JDK8. Stack trace: https://travis-ci.org/AkihiroSuda/riemann/jobs/111115077
Any update for this?