Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527950 - app-emulation/virtualbox-4.3.18 - tstDeviceStructSize: error! VGASTATE::svga.u64HostWindowId offset=0x10d1c (68892) expected alignment 0x8, meaning 0x4 (4) off
Summary: app-emulation/virtualbox-4.3.18 - tstDeviceStructSize: error! VGASTATE::svga....
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-01 23:34 UTC by Binary Runner
Modified: 2017-08-31 18:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.bz2,145.55 KB, application/x-bzip2)
2014-11-02 23:19 UTC, Binary Runner
Details
proposed patch (devvga-padding.patch,510 bytes, patch)
2015-01-04 02:10 UTC, B. Nortmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Binary Runner 2014-11-01 23:34:12 UTC
During installation of virtualbox 4.3.18 I got following errors:

tstDeviceStructSize: error! VGASTATE::svga.u64HostWindowId offset=0x10d1c (68892) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::GCPhysVRAM offset=0x131bc (78268) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::Dev offset=0x13244 (78404) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::CritSect offset=0x131c4 (78276) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::StatRZMemoryRead offset=0x1349c (79004) expected alignment 0x8, meaning 0x4 (4) off

USE flags used: 

"additions alsa headless pam vnc -doc -extensions -java -opengl -pulseaudio -python -qt4 -sdk -vboxwebsrv" 



Reproducible: Always




emerge --info =virtualbox-4.3.16
Portage 2.2.14 (python 2.7.8-final-0, default/linux/x86/13.0/developer, gcc-4.8.3, glibc-2.19-r1, 3.3.0-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.0-gentoo-i686-Intel-R-_Celeron-R-_CPU_847_@_1.10GHz-with-gentoo-2.2
KiB Mem:     3523880 total,    402012 free
KiB Swap:    4194300 total,   4182852 free
Timestamp of tree: Wed, 29 Oct 2014 18:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.10 [disabled]
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r1
dev-lang/python:          2.7.8, 3.2.5-r3, 3.3.3, 3.4.2
dev-util/ccache:          3.1.10
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x11
ACCEPT_KEYWORDS="x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse2 -mmmx -mssse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse2 -mmmx -mssse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://gentoo.wheel.sk/ ftp://gentoo.mirror.web4u.cz/ http://gentoo.mirror.web4u.cz/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11"
USE="a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pcre pdf png policykit ppds readline sdl session snmp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis x264 x86 xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="dash i18n kernel-modules fstab-sys resume rootfs-block terminfo udev-rules usrmount base fs-lib shutdown btrfs debug ifcfg" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset fastcgi gzip limit_conn limit_req map memcached proxy referer rewrite scgi ssi userid uwsgi auth_pam fancyindex gunzip gzip_static headers_more push push_stream stub_status sub xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i915 virtualbox intel vesa via vmware v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-02 18:54:19 UTC
Please attach the entire build log to this bug report.
Comment 2 Binary Runner 2014-11-02 23:19:41 UTC
Created attachment 388368 [details]
build log
Comment 3 B. Nortmann 2015-01-04 02:06:04 UTC
I'm experiencing the same issue while trying to build an up-to-date headless virtualbox-4.3.20-r1 on ~x86 (32-bit). The build fails with:

tstDeviceStructSize: error! VGASTATE::svga.u64HostWindowId offset=0x10d24 (68900) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::GCPhysVRAM offset=0x131dc (78300) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::Dev offset=0x13264 (78436) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::CritSect offset=0x131e4 (78308) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::StatRZMemoryRead offset=0x134bc (79036) expected alignment 0x8, meaning 0x4 (4) off

https://bugs.gentoo.org/show_bug.cgi?id=436002 also relates to this message, and points to a fix at https://www.virtualbox.org/pipermail/vbox-dev/2012-December/005550.html. Applying the proposed padding to VGAState solved the problem for me.

(My impression is that this should probably also be reported upstream.)

-----
[Output of emerge --info virtualbox]

Portage 2.2.14 (python 3.3.2-final-0, default/linux/x86/13.0, gcc-4.7.3, glibc-2.16.0, 3.17.7-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-i686-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.2
KiB Mem:     2022800 total,    350992 free
KiB Swap:    2097144 total,   2091956 free
Timestamp of tree: Fri, 02 Jan 2015 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.5-r3, 3.2.5-r1, 3.3.2-r2
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local-portage-overlay-Olymp
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gd gdbm gpm iconv ipv6 modules mysql ncurses nls nptl openmp pam pcre readline session sqlite3 ssl tcpd truetype udev unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/virtualbox-4.3.20-r1 was built with the following:
USE="extensions headless opengl pam python sdk udev vnc -additions -alsa -doc -java -pulseaudio -qt4 -vboxwebsrv" PYTHON_TARGETS="python2_7"
Comment 4 B. Nortmann 2015-01-04 02:10:25 UTC
Created attachment 393124 [details, diff]
proposed patch

This fix was proposed by Frank Mehnert on the vbox-dev mailing list (see https://www.virtualbox.org/pipermail/vbox-dev/2012-December/005550.html).
Comment 5 Ben Kohler gentoo-dev 2017-08-31 18:21:22 UTC
Please reopen if this is still a problem on current versions