Page 1 of 1

VM keeps crashing

Posted: 30. May 2019, 08:43
by Sy
Today I have a new problem, I'm using VirtualBox version 6.0, the virtual machine is running Ubuntu 14.04.6 LTS

I'm using Qt Creator in the VM and after a while and with nothing displayed the VM stops responding, the only thing I can do is close the VM and relaunch, loosing anything I haven't saved.

Re: VM keeps crashing

Posted: 30. May 2019, 09:04
by socratis
We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image

Re: VM keeps crashing

Posted: 30. May 2019, 09:19
by Sy
Thank you, please find attached log.

Re: VM keeps crashing

Posted: 30. May 2019, 12:30
by Martin
Your system only has 4 physical CPU cores.
Please try setting the guest to 2 or 3 vCPU, so that the host still has a free core to handle the VM?

Re: VM keeps crashing

Posted: 30. May 2019, 12:57
by socratis
00:00:01.185427 NumCPUs <integer> = 0x0000000000000004 (4)
00:00:01.329234 CPUM: Physical host cores: 4
Just like Martin said, lower the vCPU allocation for your guest. I have mine set to 2 usually out of the 4 cores of my host.
00:00:01.185499 [/Devices/ahci/0/LUN#0/Config/] (level 5)
00:00:01.185501   BlockCache <integer> = 0x0000000000000001 (1)
Go to the VM Settings » Storage » select the SATA controller » Use Host I/O Cache: enable that.
Sy wrote:I'm using Qt Creator in the VM and after a while and with nothing displayed the VM stops responding
  1. Why Qt Creator in a VM when there's a native OSX implementation?
  2. Which Qt version? Maybe I could try and replicate it...
I don't have anything more than that, except one thing; check your screensaver, make sure it's off, not active. Not blank, but not activated at all.

Re: VM keeps crashing

Posted: 30. May 2019, 13:01
by Sy
Thank you for your post, I have reduce CPU's to 2 and enabled Host I/O Cache. I'm using Ubuntu because the SDK I have to use for the target hardware is only available as an old version that is only compatible with Linux Ubuntu.