Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2014, 02:16 PM
AlexT AlexT is offline
Registered User
 
Join Date: Mar 2007
Posts: 16
SecureCRT 7.3.0 Memory Leak

Hi,

There appears to be a memory leak in SecureCRT 7.3.0 that can be triggered in a certain way. This is how it happened to me:

1. Assume a basic Linux install on a virtual machine with a specific IP.
2. Open a SSH session to that machine
3. Right-click "Connect SFTP session"
4. Do something in the SFTP session (like ls, put, get)
5. Don't do anything to the open tabs. Destroy the virtual machine, create a new one with a new basic Linux install, same IP
6. Open a new SSH session to the machine
7. Go to the existing SFTP tab. Try something like ls. You will get the following error message:

There was a problem using the initial remote directory : Connection has gone down. Attempting to fall back to default initial path.

Close the tab, restart it, continue working. After 20 minutes or so, SecureCRT exhausted all available memory on this workstation (Win 7-64bit, 16GB).
Reply With Quote
  #2  
Old 12-03-2014, 02:50 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,439
Hello AlexT,

Please clarify what you mean by "destroy the virtual machine"?

What is the status of the existing SSH session after you have done that?

Is there an error?

Does SecureCRT attempt to reconnect?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 12-04-2014, 01:41 AM
AlexT AlexT is offline
Registered User
 
Join Date: Mar 2007
Posts: 16
Hi bgagnon,

Basically the underlying machine that SecureCRT was previously connected to was plugged off, and completely reinstalled. I.e. SSH hostkeys have changed, the previous TCP connection became invalid, etc. What's important is that I did not close the SFTP tab while doing this, and after that I tried reusing it. It did the error that I pasted below, then, I don't remember whether I first closed the tab or whether it auto-reconnected itself. From then on, without me noticing first, SecureCRT started consuming more and more memory. When Windows started swapping out, I had to kill the process, and it created a ~700MB SecureCRT dmp file. That file was filled by like 80% with the same error string, "There was a problem using the initial remote directory : Connection has gone down. Attempting to fall back to default initial path."
Reply With Quote
  #4  
Old 12-05-2014, 08:46 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,439
Hello AlexT,

Thanks for the clarification.

Although 80% filled with the error string, I still think the crash dump file will be useful to our development team.

Please email support@vandyke.com and include the email address associated with your VanDyke Software download account (if you have one) so I can provide info for uploading the crash dump file to us. If you don't have one, I will then provide info for creating one.

Please include "Attn Brenda - Forum Thread #11806" in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:00 PM.