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

Thomas Wolf commented on SSHD-1290:
-----------------------------------

Probably not "racy"; I don't see unsynchronized accesses in the code. Not sure 
what might be going on; might be just a symptom of an immediate channel closure 
(perhaps after other errors) while a write was still being attempted. In that 
case I would expect the {{writeState.pendingFuture}} to be {{{}null{}}}, and 
the log entry might be harmless. Can you determine from other log entries if 
that might be the case? Otherwise we should probably log a bit more, or 
differently if it's really that case.

Does the log contain any line number? That would be helpful, too.

> Race condition is logged in ChannelAsyncOutputStream
> ----------------------------------------------------
>
>                 Key: SSHD-1290
>                 URL: https://issues.apache.org/jira/browse/SSHD-1290
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: Evgeny Pasynkov
>            Priority: Major
>
> After upgrading to 2.9.0 I start receiving in logs records like
> {code}
> onWritten(ChannelAsyncOutputStream[[id=0, 
> recipient=0]-SSHServerSessionEx[****]] cmd=SSH_MSG_CHANNEL_DATA) future 
> changed
> {code}
> Which looks suspicious to racy data structure updates



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to