VirtualBox

Ticket #15525 (new defect)

Opened 4 years ago

Last modified 4 years ago

Linux host hangs during compiling

Reported by: yanp.bugz Owned by:
Component: other Version: VirtualBox 5.0.22
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I'm compiling LibreOffice on Xubuntu 16.04 guest machine and sometimes (3 freezes - 6 compilings) guest machine freezes. Guest machine is allowed to use 2 cores. I have AMD Phenom II with 4 cores. Host machine - Linux Mint 17.3 (based on ubuntu 14.04)

Attachments

VBox.log Download (76.2 KB) - added by yanp.bugz 4 years ago.
Log (I have 3 older logs too)
vb_frozen_compilation.zip Download (250.2 KB) - added by koso 4 years ago.
Minidump of VirtualBox.exe process once similar behavior is detected on Windows 7 host
Ubuntu 16.04-2016-10-06-11-24-53_vb_5.1.6.log.zip Download (29.1 KB) - added by yurtesen 4 years ago.
ubuntu 16.04 freeze with vb 5.1.6

Change History

Changed 4 years ago by yanp.bugz

Log (I have 3 older logs too)

comment:1 Changed 4 years ago by frank

When your guest freezes: I guess the guest screen completely freezes. Are you able to power-off the VM in that case?

comment:2 Changed 4 years ago by koso

I am experiencing the same issue (since 5.0.20 if I recall correctly). I am using Kubuntu 16.04 guest for compilation on Windows7 VirtualBox host. It freezes mostly when compiling using all resources. In most cases using previous version, guest machine was not frozen completely - only gcc compiler was not responding and I had to kill all instances manually (also there was high kernel CPU time from these processes)

With current version it was frozen completely -> guest was not responding to shutdown signals, but power off was immediate.

Attached minidump of VirtualBox.exe process was created few minutes after guest machine stopped responding.

Changed 4 years ago by koso

Minidump of VirtualBox.exe process once similar behavior is detected on Windows 7 host

comment:3 Changed 4 years ago by frank

yanp.bugz, is this a 5.0.22 regression for you? If so, could you test this test build to check if the problem is gone?

comment:4 Changed 4 years ago by yanp.bugz

Sorry for the late responce. This bug tracker didn't email me... Is this fix included in 5.1? I guess I'll install 5.1 and will continue working. Unfortunately there are no clear steps to reproduce.

By the way machine was freezing completely, only reload helped

comment:5 Changed 4 years ago by yanp.bugz

5.0.26 r108824 - reproducible

comment:6 Changed 4 years ago by frank

Please clarify: Is this problem reproducible with VirtualBox 5.1.2 or only with VirtualBox 5.0? And please attach a new VBox.log file for VirtualBox 5.0.26.

comment:7 Changed 4 years ago by koso

Hello, in my case (Windows7 host machine) it is reproducible also with 5.1.0 and 5.2.0.

The more threads I use to compilation, the faster it freezes. In my case, virtual machine has 8 physical cores, and it freezes even when compiling using 4 threads (make -j4).

Sometimes I can see that before machine is completely frozen, worker threads (= spawned compiler instances) are in strange state - almost completely in kernel and blocked on disk I/O operations. When I kill such "stuck" compiler process, resulting object file is mostly corrupted. I am using gcc+ccache to compile my projects which produces even more disk IO operations as is normal.

Changed 4 years ago by yurtesen

ubuntu 16.04 freeze with vb 5.1.6

comment:8 Changed 4 years ago by yurtesen

I have a similar problem. It happens in 5.1 versions also. I managed to rectify the issue by changing the OS type to Other 64bit.

But I think the issue is related to paravirtualization using KVM when Ubuntu64bit is selected (it appears to select 'none' when other64bit is selected).

Now I am testing with paravirtualization set to 'minimal' to see if my theory is correct. I attached a vbox log file from 5.1.6 version. Also there is some information in this forum thread ->  https://forums.virtualbox.org/viewtopic.php?f=3&t=79595

Last edited 4 years ago by yurtesen (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use