Created attachment 447908 [details] build.log PASS: staticrootstest *** Error in `/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp': free(): invalid pointer: 0x0000000002113fe0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x72403)[0x7f1862a97403] /lib64/libc.so.6(+0x77ce6)[0x7f1862a9cce6] /lib64/libc.so.6(+0x784ee)[0x7f1862a9d4ee] /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp[0x402e3f] /lib64/libc.so.6(__libc_start_main+0xf0)[0x7f1862a45620] /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp[0x403da9] ======= Memory map: ======== 00400000-00406000 r-xp 00000000 08:00 1606661 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp 00605000-00606000 r--p 00005000 08:00 1606661 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp 00606000-00607000 rw-p 00006000 08:00 1606661 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/test_cpp 020b0000-02201000 rw-p 00000000 00:00 0 [heap] 7f185c000000-7f185c021000 rw-p 00000000 00:00 0 7f185c021000-7f1860000000 ---p 00000000 00:00 0 7f1862523000-7f1862620000 r-xp 00000000 08:00 3670373 /lib64/libm-2.22.so 7f1862620000-7f186281f000 ---p 000fd000 08:00 3670373 /lib64/libm-2.22.so 7f186281f000-7f1862820000 r--p 000fc000 08:00 3670373 /lib64/libm-2.22.so 7f1862820000-7f1862821000 rw-p 000fd000 08:00 3670373 /lib64/libm-2.22.so 7f1862821000-7f1862823000 r-xp 00000000 08:00 3670233 /lib64/libdl-2.22.so 7f1862823000-7f1862a23000 ---p 00002000 08:00 3670233 /lib64/libdl-2.22.so 7f1862a23000-7f1862a24000 r--p 00002000 08:00 3670233 /lib64/libdl-2.22.so 7f1862a24000-7f1862a25000 rw-p 00003000 08:00 3670233 /lib64/libdl-2.22.so 7f1862a25000-7f1862bb8000 r-xp 00000000 08:00 3670371 /lib64/libc-2.22.so 7f1862bb8000-7f1862db8000 ---p 00193000 08:00 3670371 /lib64/libc-2.22.so 7f1862db8000-7f1862dbc000 r--p 00193000 08:00 3670371 /lib64/libc-2.22.so 7f1862dbc000-7f1862dbe000 rw-p 00197000 08:00 3670371 /lib64/libc-2.22.so 7f1862dbe000-7f1862dc2000 rw-p 00000000 00:00 0 7f1862dc2000-7f1862dd8000 r-xp 00000000 08:00 1616842 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libgcc_s.so.1 7f1862dd8000-7f1862fd7000 ---p 00016000 08:00 1616842 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libgcc_s.so.1 7f1862fd7000-7f1862fd8000 r--p 00015000 08:00 1616842 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libgcc_s.so.1 7f1862fd8000-7f1862fd9000 rw-p 00016000 08:00 1616842 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libgcc_s.so.1 7f1862fd9000-7f18631be000 r-xp 00000000 08:00 1616844 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libstdc++.so.6.0.22 7f18631be000-7f18633bd000 ---p 001e5000 08:00 1616844 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libstdc++.so.6.0.22 7f18633bd000-7f18633ca000 r--p 001e4000 08:00 1616844 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libstdc++.so.6.0.22 7f18633ca000-7f18633ce000 rw-p 001f1000 08:00 1616844 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.0/libstdc++.so.6.0.22 7f18633ce000-7f18633d1000 rw-p 00000000 00:00 0 7f18633d1000-7f18633ed000 r-xp 00000000 08:00 1606568 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/libgc.so.1.0.3 7f18633ed000-7f18635ed000 ---p 0001c000 08:00 1606568 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/libgc.so.1.0.3 7f18635ed000-7f18635ee000 r--p 0001c000 08:00 1606568 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/libgc.so.1.0.3 7f18635ee000-7f18635ef000 rw-p 0001d000 08:00 1606568 /var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2/.libs/libgc.so.1.0.3 7f18635ef000-7f1863630000 rw-p 00000000 00:00 0 7f1863630000-7f1863643000 r-xp 00000000 08:00 3176542 /usr/lib64/libsandbox.so 7f1863643000-7f1863843000 ---p 00013000 08:00 3176542 /usr/lib64/libsandbox.so 7f1863843000-7f1863844000 r--p 00013000 08:00 3176542 /usr/lib64/libsandbox.so 7f1863844000-7f1863845000 rw-p 00014000 08:00 3176542 /usr/lib64/libsandbox.so 7f1863845000-7f186384d000 rw-p 00000000 00:00 0 7f186384d000-7f186386f000 r-xp 00000000 08:00 3670175 ./test-driver: line 107: 6724 Aborted "$@" > $log_file 2>&1 FAIL: test_cpp PASS: disclaim_test PASS: disclaim_bench make[4]: Entering directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' make[5]: Entering directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' make[4]: Leaving directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' ============================================================================ Testsuite summary for gc 7.4.2 ============================================================================ # TOTAL: 11 # PASS: 10 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to bdwgc@lists.opendylan.org ============================================================================ Makefile:1830: recipe for target 'test-suite.log' failed make[3]: *** [test-suite.log] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' Makefile:1936: recipe for target 'check-TESTS' failed make[2]: *** [check-TESTS] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' Makefile:2271: recipe for target 'check-am' failed make[1]: *** [check-am] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/boehm-gc-7.4.2/work/gc-7.4.2' Makefile:1716: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1 * ERROR: dev-libs/boehm-gc-7.4.2::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 133: Called src_test * environment, line 1954: Called default * phase-functions.sh, line 805: Called default_src_test * phase-functions.sh, line 834: Called __eapi0_src_test * phase-helpers.sh, line 760: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details."
Created attachment 447910 [details] test-suite.log FAIL: test_cpp ============== usage: test_cpp number-of-iterations Assuming 10 iters Starting iteration 1
localhost ~ # emerge --info '=dev-libs/boehm-gc-7.4.2::gentoo' Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-6.2.0, glibc-2.22-r4, 4.4.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 4043380 total, 3357976 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 25 Sep 2016 00:45:01 +0000 sh bash 4.3_p46-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p46-r1::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 6.2.0-r1::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CPU_FLAGS_X86="mmx sse sse2" 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-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON localhost ~ # emerge -pqv '=dev-libs/boehm-gc-7.4.2::gentoo' [ebuild N ] dev-libs/boehm-gc-7.4.2 USE="cxx -static-libs -threads" * IMPORTANT: 11 news items need reading for repository 'gentoo'. * Use eselect news read to view new items.
I can confirm this with sys-devel/gcc-6.3.0 as well.
And the same happens with dev-libs/boehm-gc-7.6.0
PASS: subthreadcreate_test *** Error in `/var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/test_cpp': free(): invalid pointer: 0x0000558d174fbfe0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x706cb)[0x7f8fdd1586cb] /lib64/libc.so.6(+0x762c5)[0x7f8fdd15e2c5] /lib64/libc.so.6(+0x76b0e)[0x7f8fdd15eb0e] /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/test_cpp(+0x3245)[0x558d157dc245] /lib64/libc.so.6(__libc_start_main+0xf0)[0x7f8fdd1087f0] /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/test_cpp(+0x43f9)[0x558d157dd3f9] ======= Memory map: ======== 558d157d9000-558d157df000 r-xp 00000000 00:26 11819751 /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/test_cpp 558d157df000-558d157e0000 rw-p 00006000 00:26 11819751 /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/test_cpp 558d17498000-558d175dd000 rw-p 00000000 00:00 0 [heap] 7f8fd4000000-7f8fd4021000 rw-p 00000000 00:00 0 7f8fd4021000-7f8fd8000000 ---p 00000000 00:00 0 7f8fda1bd000-7f8fda1be000 ---p 00000000 00:00 0 7f8fda1be000-7f8fda9be000 rw-p 00000000 00:00 0 7f8fda9be000-7f8fda9bf000 ---p 00000000 00:00 0 7f8fda9bf000-7f8fdb1bf000 rw-p 00000000 00:00 0 7f8fdb1bf000-7f8fdb1c0000 ---p 00000000 00:00 0 7f8fdb1c0000-7f8fdb9c0000 rw-p 00000000 00:00 0 7f8fdb9c0000-7f8fdb9c1000 ---p 00000000 00:00 0 7f8fdb9c1000-7f8fdc1c1000 rw-p 00000000 00:00 0 7f8fdc1c1000-7f8fdc1c2000 ---p 00000000 00:00 0 7f8fdc1c2000-7f8fdc9c2000 rw-p 00000000 00:00 0 7f8fdc9c2000-7f8fdcac5000 r-xp 00000000 00:11 15301279 /lib64/libm-2.23.so 7f8fdcac5000-7f8fdccc5000 ---p 00103000 00:11 15301279 /lib64/libm-2.23.so 7f8fdccc5000-7f8fdccc6000 r--p 00103000 00:11 15301279 /lib64/libm-2.23.so 7f8fdccc6000-7f8fdccc7000 rw-p 00104000 00:11 15301279 /lib64/libm-2.23.so 7f8fdccc7000-7f8fdccde000 r-xp 00000000 00:11 15301299 /lib64/libpthread-2.23.so 7f8fdccde000-7f8fdcede000 ---p 00017000 00:11 15301299 /lib64/libpthread-2.23.so 7f8fdcede000-7f8fdcedf000 r--p 00017000 00:11 15301299 /lib64/libpthread-2.23.so 7f8fdcedf000-7f8fdcee0000 rw-p 00018000 00:11 15301299 /lib64/libpthread-2.23.so 7f8fdcee0000-7f8fdcee4000 rw-p 00000000 00:00 0 7f8fdcee4000-7f8fdcee6000 r-xp 00000000 00:11 15301278 /lib64/libdl-2.23.so 7f8fdcee6000-7f8fdd0e6000 ---p 00002000 00:11 15301278 /lib64/libdl-2.23.so 7f8fdd0e6000-7f8fdd0e7000 r--p 00002000 00:11 15301278 /lib64/libdl-2.23.so 7f8fdd0e7000-7f8fdd0e8000 rw-p 00003000 00:11 15301278 /lib64/libdl-2.23.so 7f8fdd0e8000-7f8fdd281000 r-xp 00000000 00:11 15301298 /lib64/libc-2.23.so 7f8fdd281000-7f8fdd480000 ---p 00199000 00:11 15301298 /lib64/libc-2.23.so 7f8fdd480000-7f8fdd484000 r--p 00198000 00:11 15301298 /lib64/libc-2.23.so 7f8fdd484000-7f8fdd486000 rw-p 0019c000 00:11 15301298 /lib64/libc-2.23.so 7f8fdd486000-7f8fdd48a000 rw-p 00000000 00:00 0 7f8fdd48a000-7f8fdd688000 r-xp 00000000 00:11 20069905 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6.0.22 7f8fdd688000-7f8fdd695000 r--p 001fd000 00:11 20069905 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6.0.22 7f8fdd695000-7f8fdd69b000 rw-p 0020a000 00:11 20069905 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so.6.0.22 7f8fdd69b000-7f8fdd69e000 rw-p 00000000 00:00 0 7f8fdd69e000-7f8fdd6c2000 r-xp 00000000 00:11 15301297 /lib64/ld-2.23.so 7f8fdd7a4000-7f8fdd7da000 rw-p 00000000 00:00 0 7f8fdd7da000-7f8fdd7f0000 r-xp 00000000 00:11 20069889 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.3.0/libgcc_s.so.1 7f8fdd7f0000-7f8fdd7f1000 rw-p 00015000 00:11 20069889 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.3.0/libgcc_s.so.1 7f8fdd7f1000-7f8fdd818000 r-xp 00000000 00:26 11819400 /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/libgc.so.1.0.3 7f8fdd818000-7f8fdd81a000 rw-p 00026000 00:26 11819400 /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/.libs/libgc.so.1.0.3 7f8fdd81a000-7f8fdd85d000 rw-p 00000000 00:00 0 7f8fdd85d000-7f8fdd871000 r-xp 00000000 00:11 17038527 /usr/lib64/libsandbox.so 7f8fdd871000-7f8fdd872000 rw-p 00013000 00:11 17038527 /usr/lib64/libsandbox.so 7f8fdd872000-7f8fdd87e000 rw-p 00000000 00:00 0 7f8fdd87e000-7f8fdd8c1000 rw-p 00000000 00:00 0 7f8fdd8c1000-7f8fdd8c2000 r--p 00023000 00:11 15301297 /lib64/ld-2.23.so 7f8fdd8c2000-7f8fdd8c3000 rw-p 00024000 00:11 15301297 /lib64/ld-2.23.so 7f8fdd8c3000-7f8fdd8c4000 rw-p 00000000 00:00 0 7ffd702af000-7ffd702d4000 rw-p 00000000 00:00 0 [stack] 7ffd703f1000-7ffd703f3000 r--p 00000000 00:00 0 [vvar] 7ffd703f3000-7ffd703f5000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] PASS: middletest PASS: threadkey_test ./test-driver: line 107: 11135 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: test_cpp PASS: disclaim_test PASS: staticrootstest PASS: realloc_test PASS: disclaim_bench PASS: gctest ============================================================================ Testsuite summary for gc 7.6.0 ============================================================================ # TOTAL: 15 # PASS: 14 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to bdwgc@lists.opendylan.org ============================================================================ # cat /var/tmp/portage/dev-libs/boehm-gc-7.6.0/work/gc-7.6.0/test-suite.log ================================ gc 7.6.0: ./test-suite.log ================================ # TOTAL: 15 # PASS: 14 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test_cpp ============== usage: test_cpp number-of-iterations Assuming 10 iters Starting iteration 1 FAIL test_cpp (exit status: 134)
how about gcc-6.4 ?
I haven't tested gcc-6.4, but the test still fails with gcc-7.2.
boehm-gc-7.6.2 with gcc-7.2.0 passes all tests again.
This is blocking bug 647114 on arm64 due to needing to stable boehm-gc (7.4.2 or whatever else is deemed stable candidate).
arm64 has gcc-6.4.0-r1
*** Bug 629588 has been marked as a duplicate of this bug. ***
Fixed version is now stable