Topic "I can't execute "session.dispose()" correctly."

Author Message
Yuki

Guest


    WinSCP: version 5.9 build 6786
    OS: Windows Server 2012 R2
    Protocol: FTPS
    How to run: powershell scripting


When connecting with FTPS on the production site and runnning session.dispose command, Windows pop-up with APPSCRASH.
Looking at the dubug log, the following has been repeated.

Quote:
[2017-06-29 17:56:44.244Z] [0011] 2nd generation collection count: 3
[2017-06-29 17:56:44.244Z] [0011] Total memory allocated: 24009760
[2017-06-29 17:56:44.244Z] [0011] Waiting for request event


Ultimately, I guess that the killing process is executed and it is causing APPSCRASH.

Quote:
[2017-06-29 17:56:46.150Z] [0011] Waiting for request event
[2017-06-29 17:56:46.244Z] [000d] Killing process
[2017-06-29 17:56:46.244Z] [000d] ExeSessionProcess.Close leaving
[2017-06-29 17:56:46.244Z] [000d] ExeSessionProcess.Dispose entering


But I can run "session.dispose()" when connecting Test FTPS Server.In that case, it is as follows.

Quote:
[2017-07-01 11:17:09.137Z] [0013] 2nd generation collection count: 3
[2017-07-01 11:17:09.137Z] [0013] Total memory allocated: 20778496
[2017-07-01 11:17:09.137Z] [0013] Waiting for request event
[2017-07-01 11:17:09.138Z] [000c] ExeSessionProcess.Close entering
[2017-07-01 11:17:09.138Z] [000c] Waiting for process to exit (2000 ms)
[2017-07-01 11:17:09.161Z] [000c] ExeSessionProcess.Close leaving
[2017-07-01 11:17:09.164Z] [000c] ExeSessionProcess.Dispose entering


How can I successfully execute process.close, dispose?
script_logfile.zip (20.58 KB) Private file

Description: script and logfiles

NG is the case of connecting Production site.
OK is the case of connecting test site.

Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Can you reproduce the problem with 5.9.6? Post its log files.
Yuki

Guest


Thank you for your reply.
I could reproduce this problem after upgrading 5.9.6.7601.
script_logfile_5.9.6.zip (17.58 KB) Private file

Description: 5.9.6.7601 log files

martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include 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.
Yuki Yamamoto
[View user's profile]

Joined: 2017-07-17
Posts: 2
Location: Japan
I have sent the email.Thanks.
Yuki Yamamoto
[View user's profile]

Joined: 2017-07-17
Posts: 2
Location: Japan
In the 5.10.3 Beta, APPSCRASH didn't occur.
I did not know the cause, but I will update to the latest version.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License