Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 511152

Summary: app-emulation/virtualbox-4.3.12 - In function ‘int pgmHandlerVirtualFindByPhysAddr(PVM, RTGCPHYS, PGMVIRTHANDLER**, unsigned int*)’: .../work/VirtualBox-4.3.12/src/VBox/VMM/VMMAll/PGMAllHandler.cpp:1357:1: internal compiler error: Aborted
Product: Gentoo Linux Reporter: Peter Asplund <azpegath>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bkohler, jer, patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.7z

Description Peter Asplund 2014-05-23 23:10:42 UTC
>>> Jobs: 20 of 67 complete, 2 running              Load avg: 18.6, 18.5, 14.2*** Error in `/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus': free(): invalid next size (normal): 0x00000000020dac90 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x73d3f)[0x2ab4cf5acd3f]
/lib64/libc.so.6(+0x7965e)[0x2ab4cf5b265e]
/lib64/libc.so.6(+0x7a376)[0x2ab4cf5b3376]
/lib64/libc.so.6(obstack_free+0x45)[0x2ab4cf5b9ac5]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus[0x685852]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z16execute_one_passP8opt_pass+0x149)[0x813789]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z17execute_pass_listP8opt_pass+0x15)[0x813b65]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z17execute_pass_listP8opt_pass+0x27)[0x813b77]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus[0x67142e]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z7compilev+0x637)[0x6729f7]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z25finalize_compilation_unitv+0x5a)[0x672e1a]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z28cp_write_global_declarationsv+0xb19)[0x546819]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus[0x8a25ed]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus(_Z11toplev_mainiPPc+0xa1a)[0x8a40ca]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x2ab4cf55aa65]
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus[0x4e4071]
======= Memory map: ========
00400000-0110e000 r-xp 00000000 08:31 5657250                            /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus
0130e000-01311000 r--p 00d0e000 08:31 5657250                            /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus
01311000-0131d000 rw-p 00d11000 08:31 5657250                            /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus
0131d000-013e0000 rw-p 00000000 00:00 0 
02094000-0229b000 rw-p 00000000 00:00 0                                  [heap]
2ab4ce2ff000-2ab4ce320000 r-xp 00000000 08:31 7256172                    /lib64/ld-2.19.so
2ab4ce320000-2ab4ce362000 rw-p 00000000 00:00 0 
2ab4ce362000-2ab4ce4c7000 rw-p 00000000 00:00 0 
2ab4ce4c8000-2ab4ce51f000 rw-p 00000000 00:00 0 
2ab4ce51f000-2ab4ce520000 r--p 00020000 08:31 7256172                    /lib64/ld-2.19.so
2ab4ce520000-2ab4ce521000 rw-p 00021000 08:31 7256172                    /lib64/ld-2.19.so
2ab4ce521000-2ab4ce522000 rw-p 00000000 00:00 0 
2ab4ce522000-2ab4ce532000 r-xp 00000000 08:31 4857374                    /usr/lib64/libsandbox.so
2ab4ce532000-2ab4ce732000 ---p 00010000 08:31 4857374                    /usr/lib64/libsandbox.so
2ab4ce732000-2ab4ce733000 r--p 00010000 08:31 4857374                    /usr/lib64/libsandbox.so
2ab4ce733000-2ab4ce734000 rw-p 00011000 08:31 4857374                    /usr/lib64/libsandbox.so
2ab4ce734000-2ab4ce73a000 rw-p 00000000 00:00 0 
2ab4ce73a000-2ab4ce750000 r-xp 00000000 08:31 4485193                    /usr/lib64/libmpc.so.3.0.0
2ab4ce750000-2ab4ce950000 ---p 00016000 08:31 4485193                    /usr/lib64/libmpc.so.3.0.0
2ab4ce950000-2ab4ce951000 r--p 00016000 08:31 4485193                    /usr/lib64/libmpc.so.3.0.0
2ab4ce951000-2ab4ce952000 rw-p 00017000 08:31 4485193                    /usr/lib64/libmpc.so.3.0.0
2ab4ce952000-2ab4ce9a9000 r-xp 00000000 08:31 4367835                    /usr/lib64/libmpfr.so.4.1.2
2ab4ce9a9000-2ab4ceba8000 ---p 00057000 08:31 4367835                    /usr/lib64/libmpfr.so.4.1.2
2ab4ceba8000-2ab4cebaa000 r--p 00056000 08:31 4367835                    /usr/lib64/libmpfr.so.4.1.2
2ab4cebaa000-2ab4cebab000 rw-p 00058000 08:31 4367835                    /usr/lib64/libmpfr.so.4.1.2
2ab4cebab000-2ab4cec1f000 r-xp 00000000 08:31 5385237                    /usr/lib64/libgmp.so.10.2.0
2ab4cec1f000-2ab4cee1e000 ---p 00074000 08:31 5385237                    /usr/lib64/libgmp.so.10.2.0
2ab4cee1e000-2ab4cee1f000 r--p 00073000 08:31 5385237                    /usr/lib64/libgmp.so.10.2.0
2ab4cee1f000-2ab4cee20000 rw-p 00074000 08:31 5385237                    /usr/lib64/libgmp.so.10.2.0
2ab4cee20000-2ab4cee22000 r-xp 00000000 08:31 7256837                    /lib64/libdl-2.19.so
2ab4cee22000-2ab4cf022000 ---p 00002000 08:31 7256837                    /lib64/libdl-2.19.so
2ab4cf022000-2ab4cf023000 r--p 00002000 08:31 7256837                    /lib64/libdl-2.19.so
2ab4cf023000-2ab4cf024000 rw-p 00003000 08:31 7256837                    /lib64/libdl-2.19.so
2ab4cf024000-2ab4cf039000 r-xp 00000000 08:31 4497186                    /lib64/libz.so.1.2.8
2ab4cf039000-2ab4cf238000 ---p 00015000 08:31 4497186                    /lib64/libz.so.1.2.8
2ab4cf238000-2ab4cf239000 r--p 00014000 08:31 4497186                    /lib64/libz.so.1.2.8
2ab4cf239000-2ab4cf23a000 rw-p 00015000 08:31 4497186                    /lib64/libz.so.1.2.8
2ab4cf23a000-2ab4cf338000 r-xp 00000000 08:31 7255489                    /lib64/libm-2.19.so
2ab4cf338000-2ab4cf537000 ---p 000fe000 08:31 7255489                    /lib64/libm-2.19.so
2ab4cf537000-2ab4cf538000 r--p 000fd000 08:31 7255489                    /lib64/libm-2.19.so
2ab4cf538000-2ab4cf539000 rw-p 000fe000 08:31 7255489                    /lib64/libm-2.19.so
2ab4cf539000-2ab4cf6d2000 r-xp 00000000 08:31 7256865                    /lib64/libc-2.19.so
2ab4cf6d2000-2ab4cf8d2000 ---p 00199000 08:31 7256865                    /lib64/libc-2.19.so
2ab4cf8d2000-2ab4cf8d6000 r--p 00199000 08:31 7256865                    /lib64/libc-2.19.so
2ab4cf8d6000-2ab4cf8d8000 rw-p 0019d000 08:31 7256865                    /lib64/libc-2.19.so
2ab4cf8d8000-2ab4cf8dc000 rw-p 00000000 00:00 0 
2ab4cf8dc000-2ab4cfbd7000 r--p 00000000 08:31 5529177                    /usr/lib64/locale/locale-archive
2ab4cfbd7000-2ab4d191d000 rw-p 00000000 00:00 0 
2ab4d195e000-2ab4d1973000 r-xp 00000000 08:31 5657378                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1
2ab4d1973000-2ab4d1b72000 ---p 00015000 08:31 5657378                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1
2ab4d1b72000-2ab4d1b73000 r--p 00014000 08:31 5657378                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1
2ab4d1b73000-2ab4d1b74000 rw-p 00015000 08:31 5657378                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1
7fff30a83000-7fff30aa9000 rw-p 00000000 00:00 0                          [stack]
7fff30bff000-7fff30c00000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
>>> Failed to emerge app-emulation/virtualbox-4.3.12, Log file:
>>>  '/var/tmp/portage/app-emulation/virtualbox-4.3.12/temp/build.log'
>>> Jobs: 20 of 67 complete, 1 running, 1 failed    Load avg: 9.7, 11.6, 12.4*** Error in `/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/cc1plus': malloc(): smallbin double linked list corrupted: 0x0000000002b5d6c0 ***
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-23 23:25:19 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Peter Asplund 2014-05-24 08:57:10 UTC
The build log is 14 Mb big, I can't attach it.. :(
Comment 4 Peter Asplund 2014-05-24 08:58:13 UTC
Portage 2.2.10 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.19, 3.14.1-gentoo x86_64)
=================================================================
System uname: Linux-3.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:    12306944 total,    967464 free
KiB Swap:   12418208 total,  12400728 free
Timestamp of tree: Fri, 23 May 2014 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.2.5-r4, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
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.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: AzP x11 multimedia sunrise seden qt steam-overlay dotnet java gentoo
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=18 --load-average=50 --keep-going"
FCFLAGS="-O2 -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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.uoi.gr/mirror/OS/gentoo/"
LANG="en_EN.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j9"
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 /var/lib/layman/x11 /var/lib/layman/multimedia /var/lib/layman/sunrise /var/lib/layman/seden /var/lib/layman/qt /var/lib/layman/steam /var/lib/layman/dotnet /var/lib/layman/java /usr/portage"
USE="3dnow 3dnowext 64bit S3TC X a52 aac aalib acl acpi ads alsa amazon amd64 amr amrnb amrwb apng asf aspell autoipd avahi avi bash-completion bidi binary-drivers bineditor bluetooth bookmarks branding bzip2 c++0x cairo ccache cdda cdr cg cgi cleartype cli clutter cmake colord cover coverart cracklib crypt css cue cups curl custom-optimization cxx daap dbus dconf debugger device-mapper devil dga dhclient dirac divx dmx dns dri dts dvd dvdr dvdread egl emboss encode evo exif f2fs fakevim fam fastcgi fat fbcon ffmpeg firefox flac fluidsynth fontconfig fortran fpm freeimage ftp fuse g3dvl gaim gbm gd gdbm gdu gflags ggi gif gimp git glamor glib glut gmail gmailtimestamps gmedia gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk2 gtk3 gtkhtml gvim gzip h224 h281 h323 howl-compat hpijs hwdb iconv icq icu idn imap inotify introspection iphone ipod ipv6 jabber java java6 jingle jpeg jpeg2k kde kdrive lame lcms ldap libnotify libsecret libsexy libssh2 libv4l libv4l2 llvm llvm-shared-libs lm_sensors mad madwifi mbox md5sum mdnsresponder-compat mh midi mikmod mime minizip mmx mmxext mng moc mod modplug modules mozembed mozilla moznocompose moznoirc moznomail moznoroaming mozsha1 mozsvg mp2 mp3 mp4 mp4live mpeg msn multilib multimedia musepack musicbrainz nas nautilus ncurses nemesi networkmanager new-hpcups nfsv41 nls nptl nsplugin ntfs ntfsprogs nx ofa ogg openal opencore-amr opengl openmp openssl opensslcrypt openvg optimization pam pango pcntl pcre pdf pdflib perl php pidgin pipechan png pnm policykit pop ppds private-headers pulseaudio pvr python python3 qml qt3support qt4 qtscript quicktime radio raw rdesktop rdp readline realmedia reiser4 reiserfs rtc s3tc samba sasl schroedinger scintilla sdl secure-delete session sid sip sndfile socialweb sockets spell sql sqlite srt sse sse2 sse3 sse4 sse4.1 sse4.2 sse4_1 ssh ssl ssse3 startup-notification steamruntime subtitles subversion suid svg systemd tcpd telepathy teletext tga theora threads tiff tls transcode truetype udev udisks unicode upcall upnp upower usb v4l v4l2 vaapi valgrind vdpau video videos vim vim-pager vim-syntax vim-with-x vorbis vte wav wavpack wayland webdav webdav-neon webdav-serf webkit webkit2 webm wifi winbind wma wma-fixed wmf wmp wxwidgets x264 xanim xattr xcb xcomposite xdmcp xext xfs xinerama xkb xml xrandr xulrunner xv xvid xvmc zeitgeist zeroconf zip zlib zoran" ABI_X86="64" ALSA_CARDS="emu10k1 hda_intel" 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" CURL_SSL="openssl" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sv" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="i386 arm x86_64" QEMU_USER_TARGETS="i386 arm x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx radeonsi" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-24 11:02:56 UTC
(In reply to Peter Asplund from comment #2)
> The build log is 14 Mb big, I can't attach it.. :(

Compress it.
Comment 6 Peter Asplund 2014-05-25 07:33:52 UTC
Created attachment 377592 [details]
build.log.7z

Damn, I didn't know it was that awesome at compressing text.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-25 11:44:52 UTC
In function ‘int pgmHandlerVirtualFindByPhysAddr(PVM, RTGCPHYS, PGMVIRTHANDLER**, unsigned int*)’: .../work/VirtualBox-4.3.12/src/VBox/VMM/VMMAll/PGMAllHandler.cpp:1357:1: internal compiler error: Aborted

Are you sure you didn't simply run out of RAM?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-25 11:45:11 UTC
(In reply to Peter Asplund from comment #6)
> Created attachment 377592 [details]
> build.log.7z
> 
> Damn, I didn't know it was that awesome at compressing text.

Even gzip would have sufficed.
Comment 9 Peter Asplund 2014-05-26 11:08:37 UTC
I guess it's possible, but I have 12 GB of RAM, and I've never seen the problem before. I can try to compile it again.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-26 13:39:44 UTC
(In reply to Peter Asplund from comment #9)
> I guess it's possible, but I have 12 GB of RAM, and I've never seen the
> problem before. I can try to compile it again.

People keep saying that.

MAKEOPTS="-j9"

Divide your RAM by that amount and subtract some extra.
Comment 11 Peter Asplund 2014-07-28 12:43:12 UTC
The compile has succeeded, so I don't know if it was a RAM issue. I guess the bug is invalid in any case.
Comment 12 Ben Kohler gentoo-dev 2014-08-08 01:53:55 UTC
Please reopen if this issue returns and is not an OOM or hardware problem.