<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 - Segmentation fault with rL373261"
href="https://bugs.llvm.org/show_bug.cgi?id=43617">43617</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segmentation fault with rL373261
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>elodiezhou0574@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>After running SPEC cpu2017 520.omnetpp_r with option "-march=skylake-avx512
-mfpmath=sse -Ofast -funroll-loops -flto", following error were found in
make.out:
Stack dump:
0. Program arguments:
/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/clang-10 -cc1
-triple x86_64-unknown-linux-gnu -emit-llvm-bc -flto -flto-unit -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name distrib.cc
-mrelocation-model static -mthread-model posix -mframe-pointer=none
-menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros
-mreassociate -freciprocal-math -fno-trapping-math -ffp-contract=fast
-ffast-math -ffinite-math-only -mfpmath sse -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu skylake-avx512 -dwarf-column-info
-debugger-tuning=gdb -resource-dir
/export/users/yidizhou/20190930_205221/deploy/linux_prod/lib/clang/10.0.0 -D
SPEC -D NDEBUG -I simulator/platdep -I simulator -I model -D WITH_NETBUILDER -D
SPEC_AUTO_SUPPRESS_OPENMP -D SPEC_LP64 -internal-isystem
/rdrive/ref/gcc/8.3.0/rhel80/efi2/bin/../lib/gcc/x86_64-linux-gnu/8.3.0/../../../../include/c++/8.3.0
-internal-isystem
/rdrive/ref/gcc/8.3.0/rhel80/efi2/bin/../lib/gcc/x86_64-linux-gnu/8.3.0/../../../../include/c++/8.3.0/x86_64-linux-gnu
-internal-isystem
/rdrive/ref/gcc/8.3.0/rhel80/efi2/bin/../lib/gcc/x86_64-linux-gnu/8.3.0/../../../../include/c++/8.3.0/backward
-internal-isystem /usr/local/include -internal-isystem
/export/users/yidizhou/20190930_205221/deploy/linux_prod/lib/clang/10.0.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-Ofast -fdeprecated-macro -fdebug-compilation-dir
/export/users/yidizhou/b2b/build_1.1.1/cpu2017ref/opt_base6_core_avx512/benchspec/CPU/520.omnetpp_r/build/build_base_core_avx512.0000
-ferror-limit 19 -fmessage-length 0 -funroll-loops -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -faddrsig -o simulator/distrib.o -x c++ simulator/distrib.cc
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'simulator/distrib.cc'.
4. Running pass 'Combine redundant instructions' on function
'@_Z11exponentialdi'
#0 0x000014a8d362f7ba llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x6bf7ba)
#1 0x000014a8d362d81a llvm::sys::RunSignalHandlers()
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x6bd81a)
#2 0x000014a8d362d949 SignalHandler(int)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x6bd949)
#3 0x000014a8d2d62d80 __restore_rt (/lib64/libpthread.so.0+0x12d80)
#4 0x000014a8d3782de0 llvm::Value::getName() const
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x812de0)
#5 0x000014a8d4034daf llvm::LibCallSimplifier::optimizeLog(llvm::CallInst*,
llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x10c4daf)
#6 0x000014a8d403bc4b llvm::LibCallSimplifier::optimizeCall(llvm::CallInst*)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x10cbc4b)
#7 0x000014a8d4141ef7 llvm::InstCombiner::tryOptimizeCall(llvm::CallInst*)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11d1ef7)
#8 0x000014a8d414962b llvm::InstCombiner::visitCallBase(llvm::CallBase&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11d962b)
#9 0x000014a8d414a899 llvm::InstCombiner::visitCallInst(llvm::CallInst&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11da899)
#10 0x000014a8d4116969 llvm::InstCombiner::run()
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11a6969)
#11 0x000014a8d41178cb combineInstructionsOverFunction(llvm::Function&,
llvm::InstCombineWorklist&, llvm::AAResults*, llvm::AssumptionCache&,
llvm::TargetLibraryInfo&, llvm::DominatorTree&,
llvm::OptimizationRemarkEmitter&, llvm::BlockFrequencyInfo*,
llvm::ProfileSummaryInfo*, bool, llvm::LoopInfo*)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11a78cb)
#12 0x000014a8d41180a2
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x11a80a2)
#13 0x000014a8d372c37f llvm::FPPassManager::runOnFunction(llvm::Function&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x7bc37f)
#14 0x000014a8d46286f7 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x16b86f7)
#15 0x000014a8d372d27b llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libLLVM-10svn.so+0x7bd27b)
#16 0x000014a8d16856c3 (anonymous
namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x12066c3)
#17 0x000014a8d1687048 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x1208048)
#18 0x000014a8d18d058b
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x145158b)
#19 0x000014a8d0bcb5d9 clang::ParseAST(clang::Sema&, bool, bool)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x74c5d9)
#20 0x000014a8d18ce1fc clang::CodeGenAction::ExecuteAction()
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x144f1fc)
#21 0x000014a8d1ec5079 clang::FrontendAction::Execute()
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x1a46079)
#22 0x000014a8d1e83258
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x1a04258)
#23 0x000014a8d1f3a56a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/../lib/libclang-cpp.so.10svn+0x1abb56a)
#24 0x0000000000412691 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/clang-10+0x412691)
#25 0x000000000040e186 main
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/clang-10+0x40e186)
#26 0x000014a8cf7bb813 __libc_start_main (/lib64/libc.so.6+0x23813)
#27 0x000000000040ff3e _start
(/export/users/yidizhou/20190930_205221/deploy/linux_prod/bin/clang-10+0x40ff3e)
clang-10: error: unable to execute command: Segmentation fault (core dumped)
clang-10: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 10.0.0 (/export/users/yidizhou/20190930_205221/llvm/clang
110b1138baf4b0736cd65c5fa4b3b697c318a6da)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /export/users/yidizhou/20190930_205221/deploy/linux_prod/bin
clang-10: 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-10: note: diagnostic msg:</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>