@anuy9755: 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.
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.5.1
Error message:
Invalid access to memory.
Stack trace:
(00B748CD) C4406_0
(00EF4DCA)
(00EF6E42)
(00EF3BEC) __ExceptionHandler
(000B0C7F) ntdll.dll
(0007ABCA) ntdll.dll.KiUserExceptionDispatcher
(00B88C34) _ssh_conn_processed_data
(00B896F8) _ssh_is_bare
(00C99A74) TSecureShell::FreeBackend
(00C94110) TSecureShell::Open
(00CEF6E9) TSFTPFileSystem::Open
(00D3252F) TTerminal::Reopen
(00C48BCD) TTerminalThread::TerminalReopenEvent
(00C4393C) TSignalThread::Execute
(000DF45B) Userinterface::C20_0
(00014D47) KERNEL32.DLL.BaseThreadInitThunk
(0006BF09) ntdll.dll
(0006BE8C) ntdll.dll
(00EF5435)
(00EF6A0F)
(00D3045E) TTerminal::Open
(00D3252F) TTerminal::Reopen
(00C48BCD) TTerminalThread::TerminalReopenEvent
(00C4393C) TSignalThread::Execute
(000DF45B) Userinterface::C20_0
(00014D47) KERNEL32.DLL.BaseThreadInitThunk
(0006BF09) ntdll.dll
(0006BE8C) ntdll.dll
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
With a single server connection open I sent my w11 machine to sleep and woke it back up. Immediately after, this error occurred. I assume some windows API handles were invalidated in the process of going into standby and waking back up or something similar.
I don't know if this is reproducible.
WinSCP 6.5
Error message:
Invalid access to memory.
Stack trace:
(00B74789) C4406_0
(00EF4C46)
(00EF6CBE)
(00EF3A68) __ExceptionHandler
(000B0C7F) ntdll.dll
(0007ABCA) ntdll.dll.KiUserExceptionDispatcher
(00B88AF0) _ssh_conn_processed_data
(00B895B4) _ssh_is_bare
(00C99910) TSecureShell::FreeBackend
(00C93FAC) TSecureShell::Open
(00CEF585) TSFTPFileSystem::Open
(00D323CB) TTerminal::Reopen
(00C48A89) TTerminalThread::TerminalReopenEvent
(00C437F8) TSignalThread::Execute
(000DF43B) Userinterface::C20_0
(00014D47) KERNEL32.DLL.BaseThreadInitThunk
(0006BF09) ntdll.dll
(0006BE8C) ntdll.dll
(00EF52B1)
(00EF688B)
(00D302FA) TTerminal::Open
(00D323CB) TTerminal::Reopen
(00C48A89) TTerminalThread::TerminalReopenEvent
(00C437F8) TSignalThread::Execute
(000DF43B) Userinterface::C20_0
(00014D47) KERNEL32.DLL.BaseThreadInitThunk
(0006BF09) ntdll.dll
(0006BE8C) ntdll.dll
The problem happens rarely. I cannot reproduce it.
I was logged in with winSCP to some server, to check whether some files and folders were there.
Next, I was running and changing some scripts which were using an ssh connection to that same server.
A couple of hours later, less than 10 minutes after I ran that script again, this error suddenly popped up.
The same thing has happened once or twice before during the last 7 days.
WinSCP 6.5
Error message:
Invalid access to memory.
Stack trace:
(00B74789) C4406_0
(00EF4C46)
(00EF6CBE)
(00EF3A68) __ExceptionHandler
(0008818F) ntdll.dll
(00074711) ntdll.dll.KiUserExceptionDispatcher
(00B88AF0) _ssh_conn_processed_data
(00B895B4) _ssh_is_bare
(00C99910) TSecureShell::FreeBackend
(00C93FAC) TSecureShell::Open
(00CEF585) TSFTPFileSystem::Open
(00D323CB) TTerminal::Reopen
(00C48A89) TTerminalThread::TerminalReopenEvent
(00C437F8) TSignalThread::Execute
(000DF43B) Userinterface::C20_0
(0001ECC7) KERNEL32.DLL.BaseThreadInitThunk
(000672AC) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00067279) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00EF52B1)
(00EF688B)
(00D302FA) TTerminal::Open
(00D323CB) TTerminal::Reopen
(00C48A89) TTerminalThread::TerminalReopenEvent
(00C437F8) TSignalThread::Execute
(000DF43B) Userinterface::C20_0
(0001ECC7) KERNEL32.DLL.BaseThreadInitThunk
(000672AC) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00067279) ntdll.dll.RtlGetAppContainerNamedObjectPath
The problem happens rarely. I cannot reproduce it.