michaellukashov / Far-NetBox

SFTP/SCP/FTP/FTPS/WebDAV/S3 client for Far Manager 3 (http://farmanager.com/)
https://forum.farmanager.com/viewtopic.php?t=6317
GNU General Public License v2.0
157 stars 52 forks source link

Crash while attempting to change file attributes after editing #318

Open blabulabul opened 3 years ago

blabulabul commented 3 years ago

Reproducible at any time:

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)

VictorVG commented 3 years ago

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 ...

martinprikryl commented 3 years ago

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.

VictorVG commented 3 years ago

Yes, lib WinSCP and other used this object

blabulabul commented 3 years ago

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.

VictorVG commented 3 years ago

Win10 API changes ????