Debian Bug report logs - #651012
Applications within a Virtualbox guest randomly fail with general protection faults (GPF)

version graph

Package: virtualbox; Maintainer for virtualbox is Debian Virtualbox Team <>; Source for virtualbox is src:virtualbox.

Reported by: Arno Töll <>

Date: Mon, 5 Dec 2011 00:27:01 UTC

Severity: important

Found in version virtualbox/4.1.6-dfsg-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Debian Virtualbox Team <>:
Bug#651012; Package virtualbox. (Mon, 05 Dec 2011 00:27:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arno Töll <>:
New Bug report received and forwarded. Copy sent to Debian Virtualbox Team <>. (Mon, 05 Dec 2011 00:27:04 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Arno Töll <>
To: Debian Bug Tracking System <>
Subject: Applications within a Virtualbox guest randomly fail with general protection faults (GPF)
Date: Mon, 05 Dec 2011 01:22:11 +0100
[Message part 1 (text/plain, inline)]
Hash: SHA1

Package: virtualbox
Version: 4.1.6-dfsg-2
Severity: important

I'm experiencing random runtime exceptions on CPU bound processes
running in a Virtualbox virtual machine. Both, host and guest CPU use an
up to date Debian Sid system. The versions towards the end of the report
are these on the _host_ system. The guest system is on the same version

ii  virtualbox-guest-dkms              4.1.2-dfsg-1
ii  virtualbox-guest-utils             4.0.8-dfsg-2
ii  virtualbox-guest-x11               4.0.8-dfsg-2
ii  virtualbox-ose-guest-dkms          4.1.6-dfsg-2
ii  virtualbox-ose-guest-utils         4.1.6-dfsg-2
ii  virtualbox-ose-guest-x11           4.1.6-dfsg-2

Running a CPU bound service (notably compiling with gcc) regularly
causes runtime exceptions in the build utils, but not necessarily at the
same position - hence this is not related to gcc or the source I'm

I randomly get errors like:

x86_64-linux-gnu-gcc: internal compiler error: Segmentation fault
(program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[4]: *** [mpm_common.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
dh_auto_build: make -j4 returned exit code 2
make[1]: *** [build-worker] Error 2
make[1]: Leaving directory `/home/arno/apache2/apache2'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2

This is my dmesg:

[15328.748987] ld[2114] general protection ip:2b3679b56d10
sp:7fffc1a1c420 error:0 in[2b3679aff000+eb000]
[15329.801798] as[2232] general protection ip:41036f sp:7fffb086fd70
error:0 in as[400000+50000]
[15465.606431] dpkg-buildflags[15698] general protection ip:2b98d0a45c55
sp:7fff861532f0 error:0 in[2b98d099c000+176000]
[23164.867588] as[14360] general protection ip:41036f sp:7fff6b3122a0
error:0 in as[400000+50000]
[23178.174334] as[17582] general protection ip:41036f sp:7fff52e479f0
error:0 in as[400000+50000]
[23196.549922] as[19966] general protection ip:41036f sp:7fff1f312f40
error:0 in as[400000+50000]
[23197.228813] as[20110] general protection ip:41036f sp:7fff58a7d300
error:0 in as[400000+50000]
[23235.582206] as[23382] general protection ip:410940 sp:7fff26b4ee80
error:0 in as[400000+50000]
[23241.668725] ld[25356] general protection ip:2b69dc0df130
sp:7fffa4fee410 error:0 in[2b69dc066000+eb000]
[23244.178757] as[25883] general protection ip:41036f sp:7fffc6c27a10
error:0 in as[400000+50000]
[23331.435874] as[8678] general protection ip:41036f sp:7fff1af10050
error:0 in as[400000+50000]
[23350.276759] as[11772] general protection ip:41036f sp:7fff27d92700
error:0 in as[400000+50000]
[23398.272452] debian[14542] general protection ip:7f93242c3061
sp:7fff442a7f00 error:0 in[7f932421d000+170000]
[23441.251821] as[22510] general protection ip:41036f sp:7fffe829dbc0
error:0 in as[400000+50000]
[23486.465577] as[31659] general protection ip:41036f sp:7fff20d34260
error:0 in as[400000+50000]
[24194.670239] as[7003] general protection ip:41036f sp:7fff1a692b90
error:0 in as[400000+50000]
[24196.649062] as[7378] general protection ip:410940 sp:7fff133255c0
error:0 in as[400000+50000]
[24199.070880] as[7872] general protection ip:41036f sp:7fffad635ab0
error:0 in as[400000+50000]
[24214.617569] as[9983] general protection ip:41036f sp:7fff38b66b20
error:0 in as[400000+50000]
[24216.152845] ld[10283] general protection ip:2acf7d49cd10
sp:7fff77db5f90 error:0 in[2acf7d445000+eb000]
[24216.548325] as[10374] general protection ip:41036f sp:7fff542b0ec0
error:0 in as[400000+50000]
[24216.681240] as[10404] general protection ip:41036f sp:7fffcd7245b0
error:0 in as[400000+50000]
[24495.935752] as[13305] general protection ip:410940 sp:7fff7ed416a0
error:0 in as[400000+50000]
[24497.518704] as[13595] general protection ip:41036f sp:7fffef283390
error:0 in as[400000+50000]
[24498.018657] ld[13687] general protection ip:2acae3074d10
sp:7fffec1b7080 error:0 in[2acae301d000+eb000]
[24504.213774] as[15633] general protection ip:41036f sp:7fff33822f90
error:0 in as[400000+50000]
[24505.325143] as[15816] general protection ip:41036f sp:7ffff1e69610
error:0 in as[400000+50000]
[24507.689944] as[16090] general protection ip:41036f sp:7fff2ea8dcf0
error:0 in as[400000+50000]

I've attached a vbox.log of the affected machine, but as far as I can
see it does not contain any helpful information to debug the issue. I
got the same behavior with every guest kernel I tested (always using
Virtualbox 4.1.6 on the same Debian Sid machine), that is: 2.6.32, 3.0
and 3.1.

The problem occurs on a four core enabled guest as does on a single core
guest. It happens with and without I/O cache, with and without PAE/NX.
However I seem /not/ to have that problem on Debian Squeeze guests (thus
running Virtualbox 3.2).

Let me know how I can further debug the problem.

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox depends on:
ii  adduser          3.113
ii  libc6            2.13-21
ii  libcurl3         7.22.0-3
ii  libgcc1          1:4.6.2-4
ii  libpng12-0       1.2.46-3
ii  libpython2.7     2.7.2-7
ii  libsdl1.2debian  1.2.14-6.4
ii  libssl1.0.0      1.0.0e-2.1
ii  libstdc++6       4.6.2-4
ii  libvncserver0
ii  libx11-6         2:1.4.4-4
ii  libxcursor1      1:1.1.12-1
ii  libxext6         2:1.3.0-3
ii  libxml2          2.7.8.dfsg-5
ii  libxmu6          2:1.1.0-3
ii  libxt6           1:1.1.1-2
ii  python           2.7.2-9
ii  python-central   0.6.17
ii  zlib1g           1:

Versions of packages virtualbox recommends:
ii  libgl1-mesa-glx [libgl1]  7.11.1-1
ii  libqt4-opengl             4:4.7.3-8
ii  libqtcore4                4:4.7.3-8
ii  libqtgui4                 4:4.7.3-8
ii  virtualbox-dkms           4.1.6-dfsg-2
ii  virtualbox-qt             4.1.6-dfsg-2

Versions of packages virtualbox suggests:
pn  vde2                            2.2.3-3+b1
pn  virtualbox-guest-additions-iso  <none>

- -- no debconf information

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -

[Debian Build-2011-12-05-00-52-26.log (text/plain, attachment)]

Information forwarded to, Debian Virtualbox Team <>:
Bug#651012; Package virtualbox. (Sun, 23 Dec 2012 18:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michał Papis <>:
Extra info received and forwarded to list. Copy sent to Debian Virtualbox Team <>. (Sun, 23 Dec 2012 18:57:03 GMT) Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Michał Papis <>
Subject: RE: Applications within a Virtualbox guest randomly fail with general protection faults (GPF)
Date: Sun, 23 Dec 2012 19:52:36 +0100
[Message part 1 (text/plain, inline)]
I just got the same problem, errors happen in random location of the source
(starting with fresh code).

I was able to finish compilation with `CFLAGS=-O1` but the resulting binary
is rather very slow and I do not consider it as a solution.

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Sat Apr 19 19:04:59 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.