Skip to content

Instantly share code, notes, and snippets.

@e2
Created April 16, 2015 20:43
Show Gist options
  • Save e2/d58ec0374ce58e7c7495 to your computer and use it in GitHub Desktop.
Save e2/d58ec0374ce58e7c7495 to your computer and use it in GitHub Desktop.
Readline thread which didn't respond to kill
```
"NonBlockingInputStreamThread" daemon prio=10 tid=0x00007f55c4018800 nid=0x2294 in Object.wait() [0x00007f55fa726000] [153/516]
java.lang.Thread.State: WAITING (on object monitor) [152/516]
at java.lang.Object.wait(Native Method) [151/516]
- waiting on <0x00000000faca1e98> (a jline.internal.NonBlockingInputStream) [150/516]
at jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278) [149/516]
- locked <0x00000000faca1e98> (a jline.internal.NonBlockingInputStream) [148/516]
at java.lang.Thread.run(Thread.java:745) [147/516]
"Ruby-0-Thread-2: a.rb:1" daemon prio=10 tid=0x00007f560c9a7800 nid=0x228c runnable [0x00007f55fa926000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.read0(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:210)
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169)
- locked <0x00000000faca1e98> (a jline.internal.NonBlockingInputStream)
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137)
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246)
at jline.internal.InputStreamReader.read(InputStreamReader.java:261)
- locked <0x00000000faca1e98> (a jline.internal.NonBlockingInputStream)
at jline.internal.InputStreamReader.read(InputStreamReader.java:198)
- locked <0x00000000faca1e98> (a jline.internal.NonBlockingInputStream)
at jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2038)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2242)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162)
at org.jruby.ext.readline.Readline.s_readline(Readline.java:177)
at org.jruby.ext.readline.Readline.s_readline(Readline.java:163)
at org.jruby.ext.readline.Readline.s_readline(Readline.java:223)
at org.jruby.ext.readline.Readline$INVOKER$s$s_readline.call(Readline$INVOKER$s$s_readline.gen)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
at a.invokeOther0:readline(a.rb)
at a.RUBY$block$\=a\,rb$0(a.rb:3)
at java.lang.invoke.LambdaForm$DMH/1106614545.invokeStatic_LLLLLLL_L(LambdaForm$DMH)
at java.lang.invoke.LambdaForm$MH/2121704328.invokeExact_MT(LambdaForm$MH)
at org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(CompiledIRBlockBody.java:68)
at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:75)
at org.jruby.runtime.Block.call(Block.java:106)
at org.jruby.RubyProc.call(RubyProc.java:326)
at org.jruby.RubyProc.call(RubyProc.java:235)
at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:99)
at java.lang.Thread.run(Thread.java:745)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment