https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81955
Bug ID: 81955 Summary: corrupted double-linked list (not small) Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adpc at riseup dot net Target Milestone: --- Compiling firefox I've got the following message from glibc: /usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o Unified_cpp_layout_base1.o -c -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/base -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/layout/base -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ipc/glue -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/forms -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/generic -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/mathml -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/painting -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/printing -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/style -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/svg -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/tables -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/xul -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/layout/xul/tree -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/docshell/base -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/dom/base -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/dom/html -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/dom/svg -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/dom/xbl -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/dom/xul -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/view -I/var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_layout_base1.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -march=native -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow /var/tmp/portage/www-client/firefox-55.0.2/work/firefox-55.0.2/ff/layout/base/Unified_cpp_layout_base1.cpp *** Error in `/usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus': corrupted double-linked list (not small): 0x0000000002ff9f70 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7b648)[0x3f436cef648] /lib64/libc.so.6(+0x83abe)[0x3f436cf7abe] /lib64/libc.so.6(+0x86317)[0x3f436cfa317] /lib64/libc.so.6(__libc_malloc+0x73)[0x3f436cfbc83] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(xmalloc+0x3b)[0x132593b] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_Z20sbitmap_vector_allocjj+0x54)[0xb41804] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_Z16pre_edge_lcm_avsiPP17simple_bitmap_defS1_S1_S1_S1_S1_PS1_S2_+0x5b6)[0xa2c0a6] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0x12646e4] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0xe0c5b6] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_Z16execute_one_passP8opt_pass+0x19b)[0xacf11b] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0xacf688] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0xacf69a] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_Z17execute_pass_listP8functionP8opt_pass+0x38)[0xacf728] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_ZN11cgraph_node6expandEv+0x106)[0x81ae76] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0x81c5bd] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_ZN12symbol_table25finalize_compilation_unitEv+0x117)[0x81e117] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus[0xb97432] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_ZN6toplev4mainEiPPc+0x716)[0x5c67a6] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(main+0x4a)[0x5c8cea] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3f436c9459d] /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus(_start+0x2a)[0x5ddaca] ======= Memory map: ======== 00400000-01c5c000 r-xp 00000000 08:02 4249400 /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus 01e5c000-01e65000 r--p 0185c000 08:02 4249400 /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus 01e65000-01e71000 rw-p 01865000 08:02 4249400 /usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/cc1plus 01e71000-0302d000 rw-p 00000000 00:00 0 [heap] 3f41c000000-3f41c021000 rw-p 00000000 00:00 0 3f41c021000-3f420000000 ---p 00000000 00:00 0 3f422a6d000-3f422a82000 r-xp 00000000 08:02 4250503 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 3f422a82000-3f422c82000 ---p 00015000 08:02 4250503 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 3f422c82000-3f422c83000 r--p 00015000 08:02 4250503 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 3f422c83000-3f422c84000 rw-p 00016000 08:02 4250503 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 3f422cb4000-3f434007000 rw-p 00000000 00:00 0 3f434008000-3f436c74000 rw-p 00000000 00:00 0 3f436c74000-3f436e28000 r-xp 00000000 08:02 3304901 /lib64/libc-2.25.so 3f436e28000-3f437028000 ---p 001b4000 08:02 3304901 /lib64/libc-2.25.so 3f437028000-3f43702c000 r--p 001b4000 08:02 3304901 /lib64/libc-2.25.so 3f43702c000-3f43702e000 rw-p 001b8000 08:02 3304901 /lib64/libc-2.25.so 3f43702e000-3f437032000 rw-p 00000000 00:00 0 3f437032000-3f43713b000 r-xp 00000000 08:02 3304699 /lib64/libm-2.25.so 3f43713b000-3f43733a000 ---p 00109000 08:02 3304699 /lib64/libm-2.25.so 3f43733a000-3f43733b000 r--p 00108000 08:02 3304699 /lib64/libm-2.25.so 3f43733b000-3f43733c000 rw-p 00109000 08:02 3304699 /lib64/libm-2.25.so 3f43733c000-3f437353000 r-xp 00000000 08:02 4884862 /lib64/libz.so.1.2.11 3f437353000-3f437553000 ---p 00017000 08:02 4884862 /lib64/libz.so.1.2.11 3f437553000-3f437554000 r--p 00017000 08:02 4884862 /lib64/libz.so.1.2.11 3f437554000-3f437555000 rw-p 00018000 08:02 4884862 /lib64/libz.so.1.2.11 3f437555000-3f437558000 r-xp 00000000 08:02 3304703 /lib64/libdl-2.25.so 3f437558000-3f437757000 ---p 00003000 08:02 3304703 /lib64/libdl-2.25.so 3f437757000-3f437758000 r--p 00002000 08:02 3304703 /lib64/libdl-2.25.so 3f437758000-3f437759000 rw-p 00003000 08:02 3304703 /lib64/libdl-2.25.so 3f437759000-3f4377da000 r-xp 00000000 08:02 5652705 /usr/lib64/libgmp.so.10.3.2 3f4377da000-3f4379d9000 ---p 00081000 08:02 5652705 /usr/lib64/libgmp.so.10.3.2 3f4379d9000-3f4379db000 r--p 00080000 08:02 5652705 /usr/lib64/libgmp.so.10.3.2 3f4379db000-3f4379dc000 rw-p 00082000 08:02 5652705 /usr/lib64/libgmp.so.10.3.2 3f4379dc000-3f437a43000 r-xp 00000000 08:02 5010679 /usr/lib64/libmpfr.so.4.1.5 3f437a43000-3f437c42000 ---p 00067000 08:02 5010679 /usr/lib64/libmpfr.so.4.1.5 3f437c42000-3f437c44000 r--p 00066000 08:02 5010679 /usr/lib64/libmpfr.so.4.1.5 3f437c44000-3f437c45000 rw-p 00068000 08:02 5010679 /usr/lib64/libmpfr.so.4.1.5 3f437c45000-3f437c5d000 r-xp 00000000 08:02 5009630 /usr/lib64/libmpc.so.3.0.0 3f437c5d000-3f437e5d000 ---p 00018000 08:02 5009630 /usr/lib64/libmpc.so.3.0.0 3f437e5d000-3f437e5e000 r--p 00018000 08:02 5009630 /usr/lib64/libmpc.so.3.0.0 3f437e5e000-3f437e5f000 rw-p 00019000 08:02 5009630 /usr/lib64/libmpc.so.3.0.0 3f437e5f000-3f437e75000 r-xp 00000000 08:02 3283294 /usr/lib64/libsandbox.so 3f437e75000-3f438075000 ---p 00016000 08:02 3283294 /usr/lib64/libsandbox.so 3f438075000-3f438076000 r--p 00016000 08:02 3283294 /usr/lib64/libsandbox.so 3f438076000-3f438077000 rw-p 00017000 08:02 3283294 /usr/lib64/libsandbox.so 3f438077000-3f43807f000 rw-p 00000000 00:00 0 3f43807f000-3f4380a3000 r-xp 00000000 08:02 3304381 /lib64/ld-2.25.so 3f4380a4000-3f4380a8000 rw-p 00000000 00:00 0 3f4380a9000-3f438274000 rw-p 00000000 00:00 0 3f438274000-3f4382a3000 rw-p 00000000 00:00 0 3f4382a3000-3f4382a4000 r--p 00024000 08:02 3304381 /lib64/ld-2.25.so 3f4382a4000-3f4382a5000 rw-p 00025000 08:02 3304381 /lib64/ld-2.25.so 3f4382a5000-3f4382a6000 rw-p 00000000 00:00 0 3feaeb10000-3feaeb57000 rw-p 00000000 00:00 0 [stack] 3feaebd5000-3feaebd7000 r--p 00000000 00:00 0 [vvar] 3feaebd7000-3feaebd9000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r--p 00000000 00:00 0 [vsyscall]