[ 
https://issues.apache.org/jira/browse/KARAF-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16168599#comment-16168599
 ] 

Peter Huffer commented on KARAF-5092:
-------------------------------------

I'm not sure if this is related, but I've run into an issue on windows where if 
I do `log:tail` and press `ctrl+c` before the log is finished printing previous 
logs, it will crash the process.

> An Invalid input during log:tail results in blocking keyboard inputs.
> ---------------------------------------------------------------------
>
>                 Key: KARAF-5092
>                 URL: https://issues.apache.org/jira/browse/KARAF-5092
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.1.1
>         Environment: Windows 7 x64, CMD
>            Reporter: Daniel Estermann
>            Priority: Minor
>
> During log:tail was active I accidentally pressed arrow up and the log showed 
> an exception:
> {code}2017-04-12 14:36:14,652 | WARN  | indowsStreamPump |                    
>               | 49 - org.jline - 3.2.0 | Error
> java.io.IOException: Read end dead
>         at 
> java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262) 
> ~[?:?]
>         at java.io.PipedInputStream.receive(PipedInputStream.java:201) ~[?:?]
>         at java.io.PipedOutputStream.write(PipedOutputStream.java:122) ~[?:?]
>         at 
> org.jline.terminal.impl.AbstractWindowsTerminal.processInputByte(AbstractWindowsTerminal.java:333)
>  ~[?:?]
>         at 
> org.jline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:294)
>  ~[?:?]
>         at java.lang.Thread.run(Thread.java:745) [?:?]{code}
> After that the keyboard inputs were ignored, because the input stream was 
> probably closed. Since Ctrl+D is ignored at this state, the only way to quit 
> karaf is to kill the java process.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to