Skip to content

The app crashes when loading SFTP files #2675

Description

@elosoarcade

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Description:
Since v1.12.7 (and still present in v1.12.8), opening any file over SFTP causes the application to crash intermittently. Typically, it crashes 1–2 times before successfully remaining open. The crash is not consistent — it may happen when listing files, opening a file, beginning to edit, or attempting to save.

Steps to reproduce:

  1. Connect to an SFTP server.
  2. Open any file from the remote server.
  3. Observe that the app crashes (often on the first or second attempt).

Expected behavior:
The file should open and allow editing without crashing.

Actual behavior:
Frequent crashes during SFTP interactions (listing, opening, editing, saving).

Affected versions:
1.12.7 and 1.12.8

Environment

WebView Version: 150.0.7871.181
App Language: es-sv
Error Message: Failed to allocate a 16000016 byte allocation with 2583344 free bytes and 2522KB until OOM, target footprint 536870912, growth limit 536870912
App Version: 1.12.8 (1004)
Device: Xiaomi 23073RPBFG
Android Version: 15 (SDK 35)

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log
Acode Crash Report
==================
WebView Version: 150.0.7871.181
App Language: es-sv
Error Message: Failed to allocate a 16000016 byte allocation with 2583344 free bytes and 2522KB until OOM, target footprint 536870912, growth limit 536870912
App Version: 1.12.8 (1004)
Device: Xiaomi 23073RPBFG
Android Version: 15 (SDK 35)

Stack Trace:
java.lang.OutOfMemoryError: Failed to allocate a 16000016 byte allocation with 2583344 free bytes and 2522KB until OOM, target footprint 536870912, growth limit 536870912
at java.nio.HeapByteBuffer.(HeapByteBuffer.java:87)
at java.nio.HeapByteBuffer.(HeapByteBuffer.java:71)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:380)
at com.sshtools.synergy.ssh.CachingDataWindow.(CachingDataWindow.java:40)
at com.sshtools.synergy.ssh.ChannelNG.createCache(ChannelNG.java:134)
at com.sshtools.synergy.ssh.ChannelNG.(ChannelNG.java:129)
at com.sshtools.client.AbstractSessionChannel.(AbstractSessionChannel.java:64)
at com.sshtools.client.SessionChannelNG.(SessionChannelNG.java:76)
at com.sshtools.client.SessionChannelNG.(SessionChannelNG.java:88)
at com.sshtools.client.tasks.AbstractSubsystem.(AbstractSubsystem.java:61)
at com.sshtools.client.sftp.SftpChannel.(SftpChannel.java:204)
at com.sshtools.client.sftp.SftpClient.(SftpClient.java:367)
at com.sshtools.client.sftp.SftpClient$SftpClientBuilder.build(SftpClient.java:300)
at com.foxdebug.sftp.Sftp$1.run(Sftp.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:1572)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions