Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application terminates when connecting to RDP session #1343

Closed
MatsAnd opened this issue Mar 11, 2019 · 17 comments
Closed

Application terminates when connecting to RDP session #1343

MatsAnd opened this issue Mar 11, 2019 · 17 comments
Labels
Support Request Vendor/Upstream Issue Problem with a vendor's component. mRemoteNG cannot resolve this.

Comments

@MatsAnd
Copy link

MatsAnd commented Mar 11, 2019

mRemoteNG crashes when connecting to RDP session. There is nothing logged in the mRemoteNG.log-file, but the following messages appears in Windows event viewer:

Application: mRemoteNG.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code e06d7363, exception address 77634C22

Loggnavn: Application
Kilde: Application Error
Dato: 11.03.2019 12:56:43
Hendelses-ID: 1000
Oppgavekategori:(100)
Nivå: Feil
Nøkkelord: Klassisk
Bruker: I/T
Datamaskin: VFK-2YQ85S2.login.top.no
Beskrivelse:
Programnavn med feil: mRemoteNG.exe, versjon: 1.76.15.31277, tidsangivelse: 0x5c83f65e
Modulnavn med feil: KERNELBASE.dll, versjon: 10.0.18342.1, tidsangivelse: 0x43a77f85
Unntakskode: 0xe06d7363
Feilforskyvning: 0x00114c22
Feil prosess-ID: 0x2350
Feil starttid for program: 0x01d4d8017a41c532
Feil programbane: C:\Program Files (x86)\mRemoteNG\mRemoteNG.exe
Feil modulbane: C:\WINDOWS\System32\KERNELBASE.dll
Rapport-ID: 70450255-19f1-493c-97bf-5bbc3c2acaac

Expected Behavior

Connecting to RDP should work without the application crashing...

Current Behavior

When clicking on a connection, the application is immediately closed.

Your Environment

  • Version used: 1.76.15.31277
  • Operating System: Windows 10 Enterprise 1903 (Insider build 18342.8)
@nmat
Copy link
Contributor

nmat commented Mar 11, 2019

looks like you are using some insider version of windows 10?

@MatsAnd
Copy link
Author

MatsAnd commented Mar 11, 2019

That's correct, but shouldn't it just work? I mean, what happens when Windows 10 1903 is released for everybody?

@sparerd
Copy link
Contributor

sparerd commented Mar 11, 2019

@MatsAnd Are there any crash dumps available? https://github.com/mRemoteNG/mRemoteNG/wiki/Troubleshooting-and-Logging#crash-information

Does this happen immediately on the first RDP session you attempt to open, or does it work for a few connections than crashes?

@MatsAnd
Copy link
Author

MatsAnd commented Mar 11, 2019

It now seems like it doesn't happen all the time, but when it first happens it won't stop for a while (reboot doesn't seem to work either). There is nothing logged in the logfile, but there was a couple of crash dumps, I uploaded the last one for you to check out:

mRemoteNG.exe.dmp.zip

@kmscode
Copy link
Member

kmscode commented Mar 11, 2019

That's correct, but shouldn't it just work? I mean, what happens when Windows 10 1903 is released for everybody?

Ideally the problem will be gone by the time the final 1903 build rolls around... Microsoft has release "broken" insider builds that had poor experiences with mRemoteNG in the past... Reference #337, #339, and #1058.

We will do due diligence on our end, but unless we find a smoking gun in our code, it's unlilkey that we'll be able to confirm and fix anything until after the final 1903 is released should the problem still occur.

And it's not like MS only releases broken insider builds these days... Not that I had any problems with 1809 (and still don't) but that was a debacle and a half from the tech media coverage of it... 😉

@nmat
Copy link
Contributor

nmat commented Apr 19, 2019

@MatsAnd since the 1903 is nearing release I was wondering if you have had this problem occurring more now or is it not occurring in 1903 anymore?

@farosch farosch added Cannot Reproduce Developers cannot reproduce the issue being reported. Vendor/Upstream Issue Problem with a vendor's component. mRemoteNG cannot resolve this. labels May 4, 2019
@jaoord
Copy link

jaoord commented May 31, 2019

Hi, this problem is happening to me as well. I'm on 1903 and it started after I updated to 1903.
I'm on version 1.77.0.41252 but it also happened on the current stable version (1.76).

Faulting application name: mRemoteNG.exe, version: 1.77.0.41252, time stamp: 0x5cc780cc
Faulting module name: KERNELBASE.dll, version: 10.0.18362.86, time stamp: 0x3fee4d7f
Exception code: 0xe06d7363
Fault offset: 0x001133d2
Faulting process id: 0x4a54
Faulting application start time: 0x01d517a2e7b299a9
Faulting application path: C:\Program Files (x86)\mRemoteNG\mRemoteNG.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 1cfe01ce-ee59-4245-9b02-4ccae56d09fc
Faulting package full name:
Faulting package-relative application ID:

@jaoord
Copy link

jaoord commented Jun 5, 2019

@sparerd I have done some further testing and it appears to happen on my PC when I have mremoteng opened on my second screen that is connected via a usb/c dock. When the second screen is connected over hdmi or when working from my laptop screen only, the application does not crash upon connecting.

@anhlqn
Copy link

anhlqn commented Jun 12, 2019

Windows: Windows 10 1803
mRemoteNG: v1.76.20 and v1.77.0.41252

mRemoteNG started crashing randomly for me with stable version 1.76.20, so I decided to give the prerelease a try. Still crashing, but not often. It usually crashes when I have a few opening RDP connections and try to connect to another one.

I'll enable debug log and post additional information later.

@sparerd sparerd added Support Request and removed Cannot Reproduce Developers cannot reproduce the issue being reported. labels Jun 14, 2019
@sparerd
Copy link
Contributor

sparerd commented Jun 16, 2019

It may be worth trying an sfc /scannow to verify that your system files are still healthy. https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system

@arampon
Copy link

arampon commented Jul 1, 2019

@sparerd Hello, I work for DisplayLink, the technology in most of the USB docking station @jaoord referred to, and another end user reached out to me. I believe there could have been a change in Windows around RDP and the Indirect Display Interface API which was rolled out in v1903/19H1. That could be why your application terminates when docked whilst the inbox RDP client works.

@arampon
Copy link

arampon commented Jul 2, 2019

A workaround is to change the 3D settings in GPU (or Windows 10) to use the integrated graphics instead of discrete. Impact is likely to only be dual-GPU/hybrid machines.
A new build of Windows 10 will fix that issue.

@jaoord
Copy link

jaoord commented Jul 2, 2019

A workaround is to change the 3D settings in GPU (or Windows 10) to use the integrated graphics instead of discrete. Impact is likely to only be dual-GPU/hybrid machines.

Can confirm this works. Thank you @arampon !

@sparerd
Copy link
Contributor

sparerd commented Jul 15, 2019

@arampon Thanks for the context and work around!

@arampon
Copy link

arampon commented Jul 15, 2019

The OS fix has been rolled out to Windows 10 Insiders build 18932 (20H1 - v2003).
I'd welcome external confirmation it solves it for you too before we can ask for a fix in a monthly patch for Windows 10 v1903.

@arampon
Copy link

arampon commented Aug 6, 2019

Microsoft approved the fix for multi-GPU machines for deployment to Windows 10 v1903 (19H1).
It is currently tracking to be an optional update starting rolling out on Tuesday 27th August (overall OS patch, not just that) and then pushed to all machines as part of the Tuesday 10th September cumulative patch and newer.

Optional updates are manually installed by going to Settings > Updates & Security > Windows Update, and clicking on "Check for updates".
No driver change necessary.

@janis-veinbergs
Copy link

Huh, mRemoteNG crashed today with same/similar error (fault offset almost the same) and I'm on October 2019 Win updates. Giving heads up here may help gather clues if any other experiences this. Btw I do have 2x GPU's (built-in and dedicated) and multi-monitor setup.

Crashed after returning to work after 3 days and trying to open new RDP connection. I remember having this king of crash a week ago or so after long inactivity and then trying to initiate RDP connection.

Faulting application name: mRemoteNG.exe, version: 1.77.1.27654, time stamp: 0x5d6d3391
Faulting module name: KERNELBASE.dll, version: 10.0.18362.418, time stamp: 0x2b181c2c
Exception code: 0xe06d7363
Fault offset: 0x00113572
Faulting process id: 0x2764
Faulting application start time: 0x01d5825682e22c69
Faulting application path: C:\Program Files (x86)\mRemoteNG\mRemoteNG.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: b4347003-5108-4988-b82e-ba479e44bb37
Faulting package full name: 
Faulting package-relative application ID: 

and

Application: mRemoteNG.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code e06d7363, exception address 77283572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Request Vendor/Upstream Issue Problem with a vendor's component. mRemoteNG cannot resolve this.
Projects
None yet
Development

No branches or pull requests

9 participants