[Pkg-virtualbox-devel] Bug#651012: Applications within a Virtualbox guest randomly fail with general protection faults (GPF)

Arno Töll debian at toell.net
Mon Dec 5 00:22:11 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
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
though:

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
compiling.

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
`/home/arno/apache2/apache2/debian/build-tree/worker/server'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/arno/apache2/apache2/debian/build-tree/worker/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/arno/apache2/apache2/debian/build-tree/worker'
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 libbfd-2.22-system.so[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 libperl.so.5.14.2[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 libbfd-2.22-system.so[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 libperl.so.5.12.4[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 libbfd-2.22-system.so[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 libbfd-2.22-system.so[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    0.9.8.2-1
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:1.2.3.4.dfsg-3

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO3A6zAAoJEMcrUe6dgPNtPiMP/1R8ndSwJ3VQ5EEXxFPRs8XR
lLrWb3pMXNYoPuVcFeqMMS6Kjf8Px3ykQPU23lUyQKcyI/Yt3SEscKPhVXjjJMkh
kKhY0jiEqAoD1I74CE1NKNVVz3BmHakPUgCxflHiam6HK4byXh2MEXAEhAIQYQja
wrFXmuCumO6mqRLRSIz/KUhC+1iuXcIt8IMramhRhT75Rd87BCuqJ5pODdcwBK1w
gYw0Hl4DonI0Uk40ob+fyuKRsTKTcgDupU0b/VPOu+AD8Rq3y5HPCU3uXcjvAKOz
WZ347EzSylMJkVoLcmnzItJjc44Uv6bRBH6E8D2vd/4rhO1OUPQ0zduihtVYF0oJ
yhNTQrVkWCz+lS167rAgHYUo3sBAXHLpHbToM87qoi3qXR15aKuV2JUsvbZySJ3V
LVJh2OhNzQO/L6kSDIcWIV24Q0CsE/ofO4uxcuTMuRrAODYb4pDnkg+9RyLREBXL
KT7Awk4l9CedHeJbNB9WMrHZro5TgFFYhteVvs92i+Mn4tbNBk3iTMiHw80GbPxV
ozlktauicR0jnxBDu6yBS4ibDMM9pM8Zq286FMGSAheP/dSt5fd6FS5hXZhetONJ
E63jnQlfHNmxaBZQysUNo4Uu74TkpE8VAdOgkfPbsYbCbY1MxltYWNnptLabEZN0
JAGUDBAd8eokZGOfdH4P
=ZyL1
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Debian Build-2011-12-05-00-52-26.log
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20111205/fb2d6146/attachment-0001.ksh>


More information about the Pkg-virtualbox-devel mailing list