<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Android (5058415 based on r339409) clang version 8.0.2 compiler crash"
href="https://bugs.llvm.org/show_bug.cgi?id=40584">40584</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Android (5058415 based on r339409) clang version 8.0.2 compiler crash
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>8.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>headupinclouds@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21425" name="attach_21425" title="generated bash script">attachment 21425</a> <a href="attachment.cgi?id=21425&action=edit" title="generated bash script">[details]</a></span>
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
(<a href="https://android.googlesource.com/toolchain/clang">https://android.googlesource.com/toolchain/clang</a>
40173bab62ec746213857d083c0e8b0abb568790)
(<a href="https://android.googlesource.com/toolchain/llvm">https://android.googlesource.com/toolchain/llvm</a>
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
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>