You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2022/08/11 22:37:00 UTC
[jira] [Commented] (SSHD-1290) Race condition is logged in ChannelAsyncOutputStream
[ 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: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org