[llvm-bugs] [Bug 40584] New: Android (5058415 based on r339409) clang version 8.0.2 compiler crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 4 05:33:19 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40584
Bug ID: 40584
Summary: Android (5058415 based on r339409) clang version 8.0.2
compiler crash
Product: clang
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: headupinclouds at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 21425
--> https://bugs.llvm.org/attachment.cgi?id=21425&action=edit
generated bash script
Stack trace:
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/home/dhirvonen/.hunter/_Base/f58bcf2/01c698c/47d638b/Build/xgboost/Source/src/gbm/gbm.cpp'.
4. Running pass 'AArch64 Instruction Selection' on function
'@_ZN7xgboost4tree9TreeModelIfNS0_13RTreeNodeStatEEC2Ev'
#0 0x000000000234c8c6 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x234c8c6)
#1 0x000000000234b4d0 llvm::sys::RunSignalHandlers()
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x234b4d0)
#2 0x000000000234cbaa
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x234cbaa)
#3 0x00007efd50230890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007efd4f28ce97 gsignal
/build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007efd4f28e801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00000000022f5920 llvm::report_bad_alloc_error(char const*, bool)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x22f5920)
#7 0x0000000001863412
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1863412)
#8 0x000000000230d819 llvm::SmallVectorBase::grow_pod(void*, unsigned long,
unsigned long)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x230d819)
#9 0x0000000001dee0cd
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1dee0cd)
#10 0x0000000001e6022d llvm::SUnit::ComputeDepth()
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1e6022d)
#11 0x00000000029e7cfc
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e7cfc)
#12 0x00000000029e77de
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e77de)
#13 0x00000000029e810a
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e810a)
#14 0x00000000029e7f80
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e7f80)
#15 0x00000000029e1da6
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e1da6)
#16 0x00000000029e19e5
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e19e5)
#17 0x00000000029e168a
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29e168a)
#18 0x00000000029d7feb llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29d7feb)
#19 0x00000000029d7014
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29d7014)
#20 0x00000000029d6115
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x29d6115)
#21 0x0000000001dd3746
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1dd3746)
#22 0x0000000001fea56e llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1fea56e)
#23 0x0000000001fea973 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1fea973)
#24 0x0000000001fead6d
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1fead6d)
#25 0x0000000001feab0d llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1feab0d)
#26 0x000000000266a314
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x266a314)
#27 0x00000000026679c2 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::__1::unique_ptr<llvm::raw_pwrite_stream,
std::__1::default_delete<llvm::raw_pwrite_stream> >)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x26679c2)
#28 0x000000000286cf94
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x286cf94)
#29 0x0000000002f6fbe3 clang::ParseAST(clang::Sema&, bool, bool)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x2f6fbe3)
#30 0x0000000002804e35 clang::FrontendAction::Execute()
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x2804e35)
#31 0x00000000027a0151
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x27a0151)
#32 0x0000000002869958
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x2869958)
#33 0x000000000180d845 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x180d845)
#34 0x0000000001809f1f main
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1809f1f)
#35 0x00007efd4f26fb97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#36 0x0000000001809029 _start
(/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang+++0x1809029)
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
Android (5058415 based on r339409) clang version 8.0.2
(https://android.googlesource.com/toolchain/clang
40173bab62ec746213857d083c0e8b0abb568790)
(https://android.googlesource.com/toolchain/llvm
7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir:
/home/dhirvonen/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
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: /tmp/gbm-2b64fc.cpp
clang++: note: diagnostic msg: /tmp/gbm-2b64fc.sh
clang++: note: diagnostic msg:
********************
ninja: build stopped: subcommand failed.
FAILED: xgboost-Release-prefix/src/xgboost-Release-stamp/xgboost-Release-build
cd
/home/dhirvonen/.hunter/_Base/f58bcf2/01c698c/47d638b/Build/xgboost/Build/xgboost-Release-prefix/src/xgboost-Release-build
&& /usr/local/bin/cmake --build . --config Release -- -j12 &&
/usr/local/bin/cmake -E touch
/home/dhirvonen/.hunter/_Base/f58bcf2/01c698c/47d638b/Build/xgboost/Build/xgboost-Release-prefix/src/xgboost-Release-stamp/xgboost-Release-build
ninja: build stopped: subcommand failed.
--
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/20190204/90ca2f62/attachment-0001.html>
More information about the llvm-bugs
mailing list