Closed Bug 1459674 Opened 6 years ago Closed 6 years ago

Intermittent gcc internal compiler error: Segmentation fault

Categories

(Firefox Build System :: Toolchains, defect, P4)

3 Branch
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=177192410&repo=autoland [task 2018-05-06T22:15:58.657Z] 22:15:58 INFO - make[5]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/gfx/layers' [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/gcc/bin/g++ -o Unified_cpp_gfx_layers0.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/gfx/layers -I/builds/worker/workspace/build/src/obj-firefox/gfx/layers -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/docshell/base -I/builds/worker/workspace/build/src/layout/base -I/builds/worker/workspace/build/src/layout/generic -I/builds/worker/workspace/build/src/media/libyuv/libyuv/include -I/builds/worker/workspace/build/src/gfx/skia -I/builds/worker/workspace/build/src/gfx/skia/skia/include/config -I/builds/worker/workspace/build/src/gfx/skia/skia/include/core -I/builds/worker/workspace/build/src/gfx/skia/skia/include/gpu -I/builds/worker/workspace/build/src/gfx/skia/skia/include/utils -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wformat -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -O3 -fno-omit-frame-pointer -Werror -I/builds/worker/workspace/build/src/obj-firefox/dist/include/cairo -I/builds/worker/workspace/build/src/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -Wno-error=shadow -Wno-maybe-uninitialized -fprofile-use -fprofile-correction -Wcoverage-mismatch -MD -MP -MF .deps/Unified_cpp_gfx_layers0.o.pp /builds/worker/workspace/build/src/obj-firefox/gfx/layers/Unified_cpp_gfx_layers0.cpp [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - In file included from /builds/worker/workspace/build/src/obj-firefox/gfx/layers/Unified_cpp_gfx_layers0.cpp:137:0: [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - /builds/worker/workspace/build/src/gfx/layers/ImageLayers.cpp: In member function 'bool mozilla::gfx::Matrix4x4Typed<SourceUnits, TargetUnits>::Is2D() const [with SourceUnits = mozilla::gfx::UnknownUnits; TargetUnits = mozilla::gfx::UnknownUnits]': [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - /builds/worker/workspace/build/src/gfx/layers/ImageLayers.cpp:64:1: internal compiler error: Segmentation fault [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - } // namespace mozilla [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - ^ [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - 0xb0315f crash_signal [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/toplev.c:333 [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - 0x110f087 cancel_negative_cycle [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/mcf.c:889 [task 2018-05-06T22:15:58.670Z] 22:15:58 INFO - 0x110f087 find_minimum_cost_flow [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/mcf.c:1349 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - 0x110f087 mcf_smooth_cfg() [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/mcf.c:1398 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - 0xa746ec compute_branch_probabilities [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/profile.c:721 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - 0xa746ec branch_prob() [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/profile.c:1301 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - 0xb9bdc6 tree_profiling [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/tree-profile.c:536 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - 0xb9bdc6 execute [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - ../../gcc-6.4.0/gcc/tree-profile.c:638 [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - Please submit a full bug report, [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - with preprocessed source if appropriate. [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - Please include the complete backtrace with any bug report. [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - See <http://gcc.gnu.org/bugs.html> for instructions. [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - /builds/worker/workspace/build/src/config/rules.mk:1030: recipe for target 'Unified_cpp_gfx_layers0.o' failed [task 2018-05-06T22:15:58.671Z] 22:15:58 INFO - make[5]: *** [Unified_cpp_gfx_layers0.o] Error 1
Keywords: in-triage
Keywords: in-triage
Priority: -- → P4
Flags: needinfo?(nfroyd)
Depends on: 1460271
We don't typically do anything with these, unfortunately, particularly because they're intermittent. We had a moderately-frequent PGO (!) internal compiler error with GCC a while back, and we just had to eat the retriggers. If they became more consistent, or we could artificially raise the frequency by identifying particular characteristics of the failure, we could see about submitting a bug report upstream. (Or we could see about backporting compiler patches, depending on the error.) Another (outlandish) possibility is that the particular machine that's getting chosen has memory issues, but that seems...outlandish.
Flags: needinfo?(nfroyd)
Component: General → Toolchains
Version: Version 3 → 3 Branch
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.