You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Stevens (JIRA)" <ji...@apache.org> on 2011/05/20 14:16:47 UTC
[jira] [Created] (SSHD-132) NativeSshFile does not close
RandomAccessFile on IOException
NativeSshFile does not close RandomAccessFile on IOException
------------------------------------------------------------
Key: SSHD-132
URL: https://issues.apache.org/jira/browse/SSHD-132
Project: MINA SSHD
Issue Type: Bug
Affects Versions: 0.5.0
Reporter: Michael Stevens
In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
This causes a file handel leak.
Patch is attached
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-132) NativeSshFile does not close
RandomAccessFile on IOException
Posted by "Michael Stevens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stevens updated SSHD-132:
---------------------------------
Description:
In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
This causes a file handle leak.
Patch is attached
was:
In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
This causes a file handel leak.
Patch is attached
> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
>
> Key: SSHD-132
> URL: https://issues.apache.org/jira/browse/SSHD-132
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Michael Stevens
> Attachments: fileHandle.patch
>
>
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
> This causes a file handle leak.
> Patch is attached
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-132) NativeSshFile does not close
RandomAccessFile on IOException
Posted by "Michael Stevens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stevens updated SSHD-132:
---------------------------------
Attachment: fileHandle.patch
Patch against 0.5.0
> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
>
> Key: SSHD-132
> URL: https://issues.apache.org/jira/browse/SSHD-132
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Michael Stevens
> Attachments: fileHandle.patch
>
>
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
> This causes a file handel leak.
> Patch is attached
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SSHD-132) NativeSshFile does not close
RandomAccessFile on IOException
Posted by "Michael Stevens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036796#comment-13036796 ]
Michael Stevens commented on SSHD-132:
--------------------------------------
This patch deals with the issues in SSHD-118 without the nasty System.out logging
> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
>
> Key: SSHD-132
> URL: https://issues.apache.org/jira/browse/SSHD-132
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Michael Stevens
> Attachments: fileHandle.patch
>
>
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
> This causes a file handle leak.
> Patch is attached
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SSHD-132) NativeSshFile does not close
RandomAccessFile on IOException
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-132.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.7.0
Assignee: Guillaume Nodet
Fixed. Thx the the patch Michael.
> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
>
> Key: SSHD-132
> URL: https://issues.apache.org/jira/browse/SSHD-132
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Michael Stevens
> Assignee: Guillaume Nodet
> Fix For: 0.7.0
>
> Attachments: fileHandle.patch
>
>
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
> This causes a file handle leak.
> Patch is attached
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira