[llvm-bugs] [Bug 47772] New: LLVM ERROR: out of memory
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 8 14:02:31 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47772
Bug ID: 47772
Summary: LLVM ERROR: out of memory
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: phosek at chromium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 24036
--> https://bugs.llvm.org/attachment.cgi?id=24036&action=edit
Clang crash reproducer
This was caught on Fuchsia builders. What's interesting is that this error was
triggered by a removal of a single line, see
https://fuchsia-review.googlesource.com/c/fuchsia/+/434277
```
/b/s/w/ir/k/fuchsia/prebuilt/third_party/goma/linux-x64/gomacc
../../prebuilt/third_party/clang/linux-x64/bin/clang++ -MD -MF
host_x64-asan/obj/src/storage/volume_image/fvm/fvm-sparse-image.fvm_sparse_image_reader.cc.o.d
-DTOOLCHAIN_VERSION=AuHm25kuOn_5pmla8_UrQwqDU3OfmjJIiM-yL2y960UC
-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG=1 -DRAPIDJSON_HAS_STDSTRING
-DRAPIDJSON_HAS_CXX11_RANGE_FOR -DRAPIDJSON_HAS_CXX11_RVALUE_REFS
-DRAPIDJSON_HAS_CXX11_TYPETRAITS -DRAPIDJSON_HAS_CXX11_NOEXCEPT -I../..
-Ihost_x64-asan/gen -I../../zircon/system/ulib/fit/include
-I../../zircon/system/public -I../../zircon/system/ulib/fbl/include
-I../../zircon/third_party/rapidjson
-I../../zircon/third_party/rapidjson/include
-I../../zircon/system/ulib/fvm/include -I../../zircon/system/ulib/zxc/include
-I../../zircon/system/ulib/digest/include
-I../../zircon/system/ulib/gpt/include
-I../../zircon/third_party/ulib/lz4/include
-I../../zircon/system/ulib/zircon/include -fexperimental-new-pass-manager
-fcolor-diagnostics -fcrash-diagnostics-dir=clang-crashreports -fPIE
--sysroot=../../prebuilt/third_party/sysroot/linux
--target=x86_64-unknown-linux-gnu -fdebug-compilation-dir .
-no-canonical-prefixes -fomit-frame-pointer -fdata-sections -ffunction-sections
-O3 -g3 -Wall -Wextra -Wnewline-eof -Wconversion -Wno-unused-parameter
-Wno-unknown-warning-option -Wno-sign-conversion -Wno-unknown-warning-option
-Wno-c99-designator -Wno-int-in-bool-context -Wno-address-of-packed-member
-Wno-range-loop-analysis -Wno-deprecated-declarations -fvisibility=hidden
-Werror -Wno-error=deprecated-declarations -fPIE
--sysroot=../../prebuilt/third_party/sysroot/linux
--target=x86_64-unknown-linux-gnu -fsanitize=address -fno-omit-frame-pointer
-fno-sanitize=undefined -Wno-conversion -Wno-conversion
-fvisibility-inlines-hidden -stdlib=libc++ -std=c++17 -Wno-deprecated-copy
-Wno-non-c-typedef-for-linkage -Wno-unknown-warning-option
-Wno-suggest-override -fno-exceptions -fno-rtti -stdlib=libc++ -c
../../src/storage/volume_image/fvm/fvm_sparse_image_reader.cc -o
host_x64-asan/obj/src/storage/volume_image/fvm/fvm-sparse-image.fvm_sparse_image_reader.cc.o
LLVM ERROR: out of memory
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
Fuchsia clang version 12.0.0 (https://llvm.googlesource.com/a/llvm-project
7a34dca0f3918ab1c0397e56dd64a3c04164c8b6)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: ../../prebuilt/third_party/clang/linux-x64/bin
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg:
clang-crashreports/fvm_sparse_image_reader-39d2a5.cpp
clang++: note: diagnostic msg:
clang-crashreports/fvm_sparse_image_reader-39d2a5.sh
clang++: note: diagnostic msg:
********************
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201008/a02c532f/attachment.html>
More information about the llvm-bugs
mailing list