WinSCP stuck if directory contains the files of some specific type

Advertisement

Lardpower
Joined:
Posts:
4

WinSCP stuck if directory contains the files of some specific type

Hello,

I'll try to describe this situation. WinSCP got randomly stuck when I'm drag-n-dropping some files from remote to local panel or vice versa, or even just opening some local or remote folder. It happens a lot during the last month. If I forcibly closes WinSCP, it cannot launch properly (please see my screenshot).

The only remedy for me was to temporarily rename the last local directory, after that WinSCP can be launched again and I can even navigate into that local directory without any problems, so it's not the permanent problem with some file types which are currently unknown for me.

Last time WinSCP stuck and my usual trick with the renaming the local directory didn't work, so I tried to investigate what can cause such damage. I was able to located the line in my .ini config file that prevents WinSCP from the correct launching: it was section "[Configuration\Interface\Commander\LocalPanel]", parameter "LastPath".

I tried to located the problem file or group of such files splitting the whole files and folder by half and check if that half causes the problem, but eventually no files alone can cause the same problem. However, if I return all files to their original place within that problem directory, WinSCP cannot be opened again.

I'm storing everything in .ini file located in OneDrive Windows directory.

Also for some time I cannot perform drag-n-drop operations from outside folders to WinSCP and I couldn't find how to fix it. I tried to use fresh .ini file, launch WinSCP as administrator, use WinSCP portable, try to use "Download files via temporary folder" - no result. Maybe it's somehow related to the problem.

I'm using:
WinSCP 5.15.4 (Build 9849)
Windows 10.0.18362 64-bit

I also would like to include some log, but this problem is probably not about some session, so I thinks any session log will be useless.

Thank you so much for WinSCP and help with that case.

Description: How WinSCP opens after the problem occured.

stuck.png

Reply with quote

Advertisement

Lardpower
Joined:
Posts:
4

It happened again, I'm attaching a session log.

I tried to install WinSCP from the Microsoft Store and now drag-n-drop from the outside apps works. However, the main problem still persists.

One new observation: WinSCP crashes when I click Options -> Preferences -> Editors -> Selecting Notepad++ -> Edit -> Click "Browse" button in "Edit editor" dialog window. WinSCP is just getting closed without any messages or notifications.

Thanks.
  • log.log (162.82 KB, Private file)
Description: Session log

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,744
Location:
Prague, Czechia

Re: WinSCP stuck if directory contains the files of some specific type

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Btw, I assume the problem is related to the dark mode. Can you check if the problem goes away, once you disable the dark mode?

Reply with quote

Lardpower
Joined:
Posts:
4

Hello Martin,

Thank you for your quick reply.

I'll read these instructions and use a debug version today in order to catch the same issue and send you more information about it.

Then I'll try to turn off the dark mode and see if problem persists.

Thanks.

Reply with quote

Advertisement

You can post new topics in this forum