Telnet sessions cause application crash

Telnet sessions cause application crash

avatar

Using Remote Desktop Manager Free - version 3.0.14.0 (latest incarnation) on Windows 10. From the information page: .Net Runtime v4.0.30319, .NET version is 4.6 or higher.

With the prior version I've connected to Telnet devices semi-regularly. Today with the last version I tried accessing multiple telnet devices, only to have the program crash on me every time. Rebooted the PC to exclude any issues with the program in memory, but the issue remained.

Debug info from eventlog (partially translated, since I have a non-english version of Windows installed):

EventID 1026

Application: RemoteDesktopManagerFree.exe

Framework-versie: v4.0.30319

Description: The process was terminated due to an unexpected exception

Exceptioncode: c0000005, exception address 0A1FEB58

Stack:

EventID 1000

Name of application with error: RemoteDesktopManagerFree.exe, versie: 3.0.14.0, timestamp: 0x58d5a269

Name of module with error: DevolutionsTerminalNative.dll, versie: 0.0.0.0, timestamp: 0x58d56ffa

Exceptioncode: 0xc0000005

Errormargin: 0x0004eb58

Id of proces with error: 0x1f64

Starttime of application with error: 0x01d2a79c163ac099

Path to application with error: C:\Program Files (x86)\Devolutions\Remote Desktop Manager Free\RemoteDesktopManagerFree.exe

Path to module with error: C:\Program Files (x86)\Devolutions\Remote Desktop Manager Free\x86\DevolutionsTerminalNative.dll

Rapport-id: 9d807855-e2a3-4668-ba8f-585613faf710

Program crashes with the statement that it's no longer working, and that the program is being terminated.

As stated, tried multiple telnet devices and addresses, result is the same. When accessing Windows RDS sessions no problems occur.

I reject your reality, and substitute my own - Adam Savage

All Comments (29)

avatar

Hi,

I will assign this to our dev and he will get back to you quickly

Regards

David Hervieux

avatar

Hi,

I'm working on this bug, but I'm unable to reproduce it for now. Could it be that you get crashes for anonymous connections? e.g. without user name and password? Also, what kind of device do you have this problem with?

Regards

Denis Vincent

avatar

Trying to access two Cisco switches (3750s in one case, and 2960 in another). Both switches are accessable on a private IP address (192.168 in one case, and 172.16 in the other). I can access them fine using Putty, but using RDM crashes the program. Just for troubleshooting I tried to connect to one of our routers (also Cisco), which resulted in the same crash of RDM.

Putty opens the expected 'Access is prohibited' welcome screen and the prompt asking for the username, like RDM used to do. RDM now however briefly shows the docked black background, never tosses up the 'Access is prohinited' notice, and just reports that RDM is no longer responding (hence killing the program off).

All I've done with regards to settings for the connection is add the IP address it should connect to under the machine, with the standard port. Password and username are grayed out, but that's not an issue. I prefer to fill out the username and password manually once it's connected. So yes, it crashes on anonymous connections, but with the Free version I have you don't get the option of saving username and password in any case, so I can't test that.

I reject your reality, and substitute my own - Adam Savage

avatar

Thank you for the info. I finally got to reproduce the bug connecting without user name. I made a correction and here is the DLL. You just need to copy the unzipped DLL over: C:\Program Files (x86)\Devolutions\Remote Desktop Manager Free\x86\DevolutionsTerminalNative.dll

Let us know if it fixed your problem. If so, it will be part of our next release.

Thank you.



Denis Vincent

avatar

DLL is where? No link in your post :)

I reject your reality, and substitute my own - Adam Savage

avatar

Sorry, it seems drag and drop does not work to attach a file... Here is the DLL.

Denis Vincent

avatar

And that one gives me this on download (just send you a private mail with my e-mail which may help here :)):

404 - File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I reject your reality, and substitute my own - Adam Savage

avatar

Got it through e-mail. Closed the program. Renamed the old DevolutionsTerminalNative.dll to DevolutionsTerminalNative.old

Copied the new one next to it.

Started the program and tried this.

Pleased to report that it looks like your change solved the issue :) Tks :)

I reject your reality, and substitute my own - Adam Savage

avatar

Excellent! Thank you for your feedback and your help.

Denis Vincent

avatar

Excellent! Thank you for your feedback and your help.

Hi Denis,

I am not getting anything in the zip file. Are you able to send me a copy to my email.

Thanks

avatar

New version is out (3.0.15.0).

Minor mishap creeped in on Telnet sessions... My free version is now asking for a username upon starting a Telnet session, despite there not being a username filled in (or a requirement for) on the session.

No matter what I fill in here, or if I cancel the prompt... I still get the basic login prompt of the device, so I can login there. It's just an extra screen that pops up when it's not needed. Filling in the username on that screen also does nothing for the provided screen by the device. If I fill my username in there, the device is not asking for the password, but will once again ask for the username.

http://i68.photobucket.com/albums/i7/Neko1308/Tijdelijk/RDMTelnet_zpsakspinqm.png

I reject your reality, and substitute my own - Adam Savage

avatar

Hello,

Thank you for the feedback. We were able to reproduce the issue in our environment and will work on a fix. It should be an easy one, we'll update this topic once the change has been made internally.

Regards,

Hubert Mireault

avatar

The fix has been made and it will be available in the next version of RDM.

Regards,

Hubert Mireault

avatar

Awesome :)

I reject your reality, and substitute my own - Adam Savage

avatar

I am still getting the SSH error. I have upgraded to 3.0.16.0 and this did not correct the problem.

avatar

@mchange, what error do you get exactly? Could you verify if you have the prerequisite installed?

Regards

David Hervieux

avatar

@mchange, what error do you get exactly? Could you verify if you have the prerequisite installed?

Regards

"An unknown SSH error was encountered.

No error"

What do you mean prerequisite? I have been using RDM for about 2 years now. I just did the upgrade when the program opened up.

avatar

I will ask Hubert and Denis to check with you.

Regards

David Hervieux

avatar

3.0.16.0 installed here. No issues anymore with telnet sessions that I can see. No password prompt popping up, and just showing the CLI. Just as wanted :)

If I try to connect to an SSH session a password prompt is shown (GUI prompt), but anything I fill in there (or nothing) results in the SSH screen to be closed. No connection is made, no error is shown.

Not sure if this is a separate bug (if it is one) or not.

I reject your reality, and substitute my own - Adam Savage

avatar

@mchance: We're currently investigating this issue, we'll keep you updated.

@Jurriaan: The password prompt opens when the terminal is unable to connect with the specified settings and might require a password. What authentication method are you using, password or private key?

Hubert Mireault

avatar

I'd expect the connection to just show a logon prompt allowing me the username and password combo on the CLI.

It's worked before when I made the connection, but on a test today (as a result of the SSH comment above) I found it didn't anymore.

SSH Shell connection - Username and password are set as empty (grayed out, so can't fill those in either). All other settings are default.

There is no personal key, nor any location provided for one.

If I grab Putty, just fill in the IP address of the device, and use SSH (port 22), I get a CLI asking me for 'Login as: '. RDM gives me a GUI question for the password with NO request for the username. RDM does so on multiple devices on the network that are reachable with Putty under SSH. Cancelling this password GUI prompt closes the entire window for that session.

I reject your reality, and substitute my own - Adam Savage