VirtualBox

Opened 8 years ago

Last modified 8 years ago

#15525 new defect

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 (3)

VBox.log (76.2 KB ) - added by yanp.bugz 8 years ago.
Log (I have 3 older logs too)
vb_frozen_compilation.zip (250.2 KB ) - added by koso 8 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 (29.1 KB ) - added by yurtesen 8 years ago.
ubuntu 16.04 freeze with vb 5.1.6

Download all attachments as: .zip

Change History (11)

by yanp.bugz, 8 years ago

Attachment: VBox.log added

Log (I have 3 older logs too)

comment:1 by Frank Mehnert, 8 years ago

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

comment:2 by koso, 8 years ago

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.

by koso, 8 years ago

Attachment: vb_frozen_compilation.zip added

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

comment:3 by Frank Mehnert, 8 years ago

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 by yanp.bugz, 8 years ago

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 by yanp.bugz, 8 years ago

5.0.26 r108824 - reproducible

comment:6 by Frank Mehnert, 8 years ago

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 by koso, 8 years ago

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.

by yurtesen, 8 years ago

ubuntu 16.04 freeze with vb 5.1.6

comment:8 by yurtesen, 8 years ago

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.

Version 0, edited 8 years ago by yurtesen (next)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use