Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp server die thread blocking during sftp ls execution #543

Open
txran opened this issue Apr 16, 2024 · 4 comments
Open

sftp server die thread blocking during sftp ls execution #543

txran opened this issue Apr 16, 2024 · 4 comments

Comments

@txran
Copy link

txran commented Apr 16, 2024

_20240416215853 this is jstack blocking thread
@txran
Copy link
Author

txran commented Apr 16, 2024

version 0.1.54

@norrisjeremy
Copy link
Contributor

Hi @txran,

0.1.54 is a very old version that was released by the original JSch maintainer prior to this fork's existence.
Can you please confirm whether or not this is still an issue with our current release (0.2.17)?

Thanks,
Jeremy

@emp-java
Copy link

I also met this issue with

com.jcraft
jsch
0.1.55

"eaf.sync-data1" #1464 prio=5 os_prio=0 tid=0x0000fffa708de800 nid=0xa3ea0 in Object.wait() [0x0000fff8eedfd000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Object.wait(Native Method)
at java.io.PipedInputStream.read(PipedInputStream.java:326)
- eliminated <0x000000068c804b88> (a com.jcraft.jsch.Channel$MyPipedInputStream)
at java.io.PipedInputStream.read(PipedInputStream.java:377)
- locked <0x000000068c804b88> (a com.jcraft.jsch.Channel$MyPipedInputStream)
at java.io.InputStream.skip(InputStream.java:224)
at com.jcraft.jsch.ChannelSftp.skip(ChannelSftp.java:2921)
at com.jcraft.jsch.ChannelSftp.access$600(ChannelSftp.java:36)
at com.jcraft.jsch.ChannelSftp$RequestQueue.cancel(ChannelSftp.java:1270)
at com.jcraft.jsch.ChannelSftp$2.read(ChannelSftp.java:1501)
at com.jcraft.jsch.ChannelSftp$2.read(ChannelSftp.java:1364)
at org.springframework.util.StreamUtils.copy(StreamUtils.java:166)
at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:112)
at org.springframework.util.FileCopyUtils.copyToByteArray(FileCopyUtils.java:152)

@norrisjeremy
Copy link
Contributor

Hi @emp-java,

0.1.55 is a very old version that was released by the original JSch maintainer prior to this fork's existence.
Can you please confirm whether or not this is still an issue with our current release (0.2.17)?

Thanks,
Jeremy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants