Closed Bug 820796 Opened 13 years ago Closed 12 years ago

Intermittent Linux "build js/src/ion/IonBuilder.cpp or js/src/vm/Shape.cpp or js/src/ion/MIR.cpp internal compiler error: Segmentation fault"

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: intermittent-failure)

Linux mozilla-inbound pgo-build on 2012-12-10 21:03:42 PST for push dfaef416ac16 slave: bld-linux64-ec2-399 https://tbpl.mozilla.org/php/getParsedLog.php?id=17808309&tree=Mozilla-Inbound { /usr/bin/ccache /tools/gcc-4.5-0moz3/bin/g++ -o IonCaches.o -c -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-pgo/build/js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -Ictypes/libffi/include -I. -I/builds/slave/m-in-lnx-pgo/build/js/src/../../mfbt/double-conversion -I/builds/slave/m-in-lnx-pgo/build/js/src -I. -I./../../dist/include -I/builds/slave/m-in-lnx-pgo/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-lnx-pgo/build/js/src -I/builds/slave/m-in-lnx-pgo/build/js/src/assembler -I/builds/slave/m-in-lnx-pgo/build/js/src/yarr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/IonCaches.o.pp /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonCaches.cpp IonFrames.cpp /usr/bin/ccache /tools/gcc-4.5-0moz3/bin/g++ -o IonFrames.o -c -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-pgo/build/js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -Ictypes/libffi/include -I. -I/builds/slave/m-in-lnx-pgo/build/js/src/../../mfbt/double-conversion -I/builds/slave/m-in-lnx-pgo/build/js/src -I. -I./../../dist/include -I/builds/slave/m-in-lnx-pgo/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-lnx-pgo/build/js/src -I/builds/slave/m-in-lnx-pgo/build/js/src/assembler -I/builds/slave/m-in-lnx-pgo/build/js/src/yarr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/IonFrames.o.pp /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonFrames.cpp IonMacroAssembler.cpp /usr/bin/ccache /tools/gcc-4.5-0moz3/bin/g++ -o IonMacroAssembler.o -c -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-pgo/build/js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -Ictypes/libffi/include -I. -I/builds/slave/m-in-lnx-pgo/build/js/src/../../mfbt/double-conversion -I/builds/slave/m-in-lnx-pgo/build/js/src -I. -I./../../dist/include -I/builds/slave/m-in-lnx-pgo/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-lnx-pgo/build/js/src -I/builds/slave/m-in-lnx-pgo/build/js/src/assembler -I/builds/slave/m-in-lnx-pgo/build/js/src/yarr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/IonMacroAssembler.o.pp /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonMacroAssembler.cpp IonSpewer.cpp /usr/bin/ccache /tools/gcc-4.5-0moz3/bin/g++ -o IonSpewer.o -c -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-pgo/build/js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -Ictypes/libffi/include -I. -I/builds/slave/m-in-lnx-pgo/build/js/src/../../mfbt/double-conversion -I/builds/slave/m-in-lnx-pgo/build/js/src -I. -I./../../dist/include -I/builds/slave/m-in-lnx-pgo/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-lnx-pgo/build/js/src -I/builds/slave/m-in-lnx-pgo/build/js/src/assembler -I/builds/slave/m-in-lnx-pgo/build/js/src/yarr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/IonSpewer.o.pp /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonSpewer.cpp JSONSpewer.cpp /usr/bin/ccache /tools/gcc-4.5-0moz3/bin/g++ -o JSONSpewer.o -c -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-pgo/build/js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -Ictypes/libffi/include -I. -I/builds/slave/m-in-lnx-pgo/build/js/src/../../mfbt/double-conversion -I/builds/slave/m-in-lnx-pgo/build/js/src -I. -I./../../dist/include -I/builds/slave/m-in-lnx-pgo/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-lnx-pgo/build/js/src -I/builds/slave/m-in-lnx-pgo/build/js/src/assembler -I/builds/slave/m-in-lnx-pgo/build/js/src/yarr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-use -fprofile-correction -Wcoverage-mismatch -O3 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/JSONSpewer.o.pp /builds/slave/m-in-lnx-pgo/build/js/src/ion/JSONSpewer.cpp LICM.cpp /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonBuilder.cpp: In member function 'bool js::ion::IonBuilder::jsop_binary(JSOp, js::ion::MDefinition*, js::ion::MDefinition*)': /builds/slave/m-in-lnx-pgo/build/js/src/ion/IonBuilder.cpp:3011:68: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[6]: *** [IonBuilder.o] Error 1 }
https://tbpl.mozilla.org/php/getParsedLog.php?id=19220982&tree=Fx-Team Don't worry, I'll just keep retriggering it until I get one to compile.
All the failures appear to be with PGO, and a number of the functions in which compilation fails (except jsop_getprop()) have JS_NOT_REACHED(). Perhaps PGO does not have good interaction with that directive?
https://tbpl.mozilla.org/php/getParsedLog.php?id=20559599&tree=Mozilla-Inbound Is there anyone who can look into this? It's a waste of build resources to have to keep losing these jobs multiple times daily.
The best we can do is to try a newer gcc.
Can we try reducing a testcase here? It's just compiling a single source file when it ICEs.
Depends on: 856763
Summary: Intermittent Linux "build js/src/ion/IonBuilder.cpp:3011:68: internal compiler error: Segmentation fault" → Intermittent Linux "build js/src/ion/IonBuilder.cpp or js/src/vm/Shape.cpp internal compiler error: Segmentation fault"
Summary: Intermittent Linux "build js/src/ion/IonBuilder.cpp or js/src/vm/Shape.cpp internal compiler error: Segmentation fault" → Intermittent Linux "build js/src/ion/IonBuilder.cpp or js/src/vm/Shape.cpp or js/src/ion/MIR.cpp internal compiler error: Segmentation fault"
See bug 873667 for the gcc 4.7 version of this.
See Also: → 873667
Hit this in a 22.0b6 Linux build too.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.