Far-NetBox icon indicating copy to clipboard operation
Far-NetBox copied to clipboard

Crash while attempting to change file attributes after editing

Open blabulabul opened this issue 3 years ago • 5 comments

Reproducible at any time:

  • connect via SFTP or FTP
  • edit some file using F4, change it, save it (Esc, confirm Yes)
  • try to change attributes of some file using Ctrl+A
  • crash happen!

Exception: 0xC0000005 - EXCEPTION_ACCESS_VIOLATION Details: Memory at 0xFFFFFFFFFFFFFFFF ! (get the pdb) could not be read errno: 0x00000000 - No error LastError: 0x00000000 - Operace byla dokončena úspěšně. NTSTATUS: 0xC0000100 - Znamená, že zadaná proměnná prostředí nebyla nalezena v zadaném bloku prostředí. Address: 0x00027ABF - NetBox.dll!tinylog::TinyLog::operator delete[] Function: ProcessPanelInputW Source:
File: C:\Program Files\Far\Plugins\NetBox\NetBox.dll Plugin: NetBox 2.4.535.5 (SFTP/FTP(S)/SCP/WebDAV client for FAR 3.0 x86/x64, Michael Lukashov) Far: 3.0.5883.0 x64 (2d720a0) OS: 10.0.19042.2.0.0.256.1 (version 20H2, OS build 19042.1110) Kernel: 10.0.19041.1110 (WinBuild.160101.0800)

blabulabul avatar Aug 24 '21 10:08 blabulabul

I use FarNetBox v2.4.5.535 x86-64 in to Far3 b5883 x86-64 on Win7 SP1 x64 and don't have this phenomena on FTP/SFTP. Your can try my build for test - https://github.com/VictorVG/PLG/releases/download/NB-856ff71b8/FarNetBox-2.4.5.535_Far3_x64.7z or https://github.com/VictorVG/PLG/releases/download/NB-856ff71b8/FarNetBox-2.4.5.535_Far3_x86.7z ...

VictorVG avatar Aug 24 '21 13:08 VictorVG

It happens to me all the time too. I guess, the plugin tries to access the TRemoteFile object from the directory listing (to see the current attributes). But the object was freed when the listing was invalidated by the upload from the editor.

martinprikryl avatar Aug 24 '21 14:08 martinprikryl

Yes, lib WinSCP and other used this object

VictorVG avatar Aug 24 '21 17:08 VictorVG

I use FarNetBox v2.4.5.535 x86-64 in to Far3 b5883 x86-64 on Win7 SP1 x64 and don't have this phenomena on FTP/SFTP. Your can try my build for test - https://github.com/VictorVG/PLG/releases/download/NB-856ff71b8/FarNetBox-2.4.5.535_Far3_x64.7z or https://github.com/VictorVG/PLG/releases/download/NB-856ff71b8/FarNetBox-2.4.5.535_Far3_x86.7z ...

Your version crashes too.

blabulabul avatar Aug 25 '21 08:08 blabulabul

Win10 API changes ????

VictorVG avatar Aug 25 '21 11:08 VictorVG