Windows 10 crashes whilst running trivial app in Visual Studio

Discussions about using Windows guests in VirtualBox.
Post Reply
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

Hi fellas!
Have faced some peculiar behaviour.
Given:
  • Linux host - Ubuntu 16.04 LTS, kernel 4.4.0-116
    Virtualbox 5.1.34 r121010
    Guest additions v. 5.1.34
    Windows 10 guest (version 16299, most recent) with Visual Studio 2017 Community installed
Steps:
  • Run Visual Studio and create C# console application
    Try to run this app via VS either in debug or release configuration
Actual result: machine goes into GURU_MEDITATION state. This occur only when you trying to run application, it can be successfully built and ran via command prompt - in that case there is no crash occur.
I've tried to run c++ console app in a similar manner and it is also result in guest crash.

Any help would be appreciated! Thanks!
Attachments
logs.7z
(99.89 KiB) Downloaded 7 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by socratis »

JohnyDoe wrote:Virtualbox 5.1.34 r121010
Guest additions v. 5.1.34
Windows 10 guest (version 16299, most recent) with Visual Studio 2017 Community installed
If you want to use the latest version for your host/guests, you should also consider doing the same for VirtualBox. Download the latest VirtualBox. As of this writing, that would be version 5.2.8. If that doesn't work you should try the latest test builds, especially with all the Spectre/Meltdown patches coming in from all sides.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

Unfortunately that does not work. Still have crashes with the same scenario. I've upgraded Virualbox and guest additions up to 5.2.8 r121009 which is most recent version at the moment. I've also updated the host itself.
Attachments
VBox.log.bz2
(76.05 KiB) Downloaded 8 times
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

PS: test builds cannot be found on the page above due to HTTP 404, 403 if try to access folder
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by andyp73 »

VBox.log wrote:
00:06:33.262669 !!         VCPU1: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
This is typically an indication that your guest VM has done something it shouldn't. In the bad old days system programmers used to deliberately trigger a triple fault as a way to force the machine to reset.

What is your C# application doing?
JohnyDoe wrote:PS: test builds cannot be found on the page above due to HTTP 404, 403 if try to access folder
The test build link is working fine from here. Shows the latest version (as of writing) as 5.2.9-121224!

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

That C# application does nothing - it is just a empty "Console application" project without changes, his main method return immediately.
I have also upgraded to Ubuntu 17.10 yesterday, will try to fool around this case again.
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

Upgrading didn't help either. Strange enough but application that used to crash the guest now produce an error in VS but guest remain stable. I created new empty console app and this one crashes guest with the same steps performed.
The message in logs is also the same:
~ |1352 00:05:46.849378 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
~ |1353 00:05:46.850256 Console: Machine state changed to 'GuruMeditation'
~ |1354 00:05:46.853463 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
~ |1355 00:05:46.853465 !!
~ |1356 00:05:46.853465 !! VCPU1: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
~ |1357 00:05:46.853884 !!
~ |1358 00:05:46.854349 !! Skipping ring-0 registers and stack, rcErr=VINF_EM_TRIPLE_FAULT
JohnyDoe
Posts: 6
Joined: 15. Mar 2018, 21:42

Re: Windows 10 crashes whilst running trivial app in Visual Studio

Post by JohnyDoe »

Allright, I've redeployed guest Windows OS. This one was x86 so I drop it and installed x64 version and problem has gone as far as I can see. Odd case
Post Reply