Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Invalid pointer operation - WinSCP 5.9.4

Please help us improving WinSCP by reporting the error on WinSCP support forum.
...

Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include a link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Guest

Re: Invalid pointer operation - WinSCP 5.9.4

Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:
(00BEB625)
(00F85626)
(00F8768E)
(00F84448)
(000852DF) ntdll.dll
(00072BE1) ntdll.dll.KiUserExceptionDispatcher
(00BE9D67)
(00BE9F5C)
(00BFCD8D)
(00BCB916)
(00BCBA09)
(00D05F1C)
(00D04DFF)
(00CFFDBD)
(00CFF6FD)
(00D875FD)
(00CF2812)
(00CFBFCE)
(00CEFBED)
(00CF117F)
(00060E73)
(00068873)
(001001F1)
(00002658)
(00F83639)
(000664EB) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000664B8) ntdll.dll.RtlGetAppContainerNamedObjectPath
Authentication log (see session log for details):
Using username "tda_p_tda".

Authentication failed.
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.Session.WaitForGroup()
at WinSCP.Session.Open(SessionOptions sessionOptions)
at FTPProcess.FTPOpr.SFTPGetFiles(String filePattern) in C:\Users\spabbu\source\Workspaces\DTS-Web\Main\TDAmeritrade\TDA.LeadGen.NewsLetter.DownLoad\FTPProcess\FTPOpr.cs:line 48
at TDA.LeadGen.NewsLetter.DownLoad.Program.Main(String[] args) in C:\Users\spabbu\source\Workspaces\DTS-Web\Main\TDAmeritrade\TDA.LeadGen.NewsLetter.DownLoad\TDA.LeadGen.NewsLetter.DownLoad\Program.cs:line 36
Logger: TDA.LeadGen.NewsLetter.DownLoad.Program
RequestURL: (null)
Thread: 1
Date: 2021-04-08 19:55:03,538
NDC: (null)
adriaanh

Hi Martin,
The company that manages the server has installed a new server with up-to-date software. We don't have the same issues with the new server.
Thanx for your help!
martin

Re: Invalid pointer operation - WinSCP 5.9.4

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
adriaanh

Invalid pointer operation - WinSCP 5.9.4

WinSCP version 5.9.4 on Windows Server 2012 R2 Hyper-V virtual machine

Transfer protocol: SFTP

We do a scripted transfer of 2 files daily, 4 and 5 GB per file. It works 1 or 2 times per week, the other transfers fail.

The script:
open sftp://{user}:{password}@{servername}/ -hostkey="ssh-rsa 2048 {hostkey}" -rawsettings SendBuf=0

put -resumesupport=on C:\Backups\{file1} /backup/
put -resumesupport=on C:\Backups\{file2} /backup/
exit



The error:

Searching for host...

Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] {user}@{servername}
C:\Backups\{file1} |     3926170 KB | 52818.3 KB/s | binary |  76%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\{file1} |     3987711 KB | 53391.3 KB/s | binary |  77%
C:\Backups\{file1} |     4137138 KB | 39099.2 KB/s | binary |  80%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\{file1} |     4160955 KB | 39989.7 KB/s | binary |  80%
Copying files to remote side failed.
Invalid pointer operation



Please help us improving WinSCP by reporting the error on WinSCP support forum.



Stack trace:

(003E36F4)

(003E36F4)

(00866B09)

(008688B7)

(0075B7EC)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll