<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 - [10] error: unable to execute command: Segmentation fault (core dumped)"
href="https://bugs.llvm.org/show_bug.cgi?id=47256">47256</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[10] error: unable to execute command: Segmentation fault (core dumped)
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>10.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>normal
</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>anbu1024.me@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>$ cat test11582.c
void foo ( long double arg )
{
__asm__ volatile ( "#%0" : : "r" ( arg ) ) ; ;
}
-------------------------------------------------------------------------------
$ clang-10 --version
clang version 10.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tom/Documents/llvm/10.0.1/install-all/bin
-------------------------------------------------------------------------------
$ clang-10 test11582.c
Stack dump:
0. Program arguments:
/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name test11582.c
-mrelocation-model static -mthread-model posix -mframe-pointer=all -fmath-errno
-fno-rounding-math -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -dwarf-column-info -fno-split-dwarf-inlining
-debugger-tuning=gdb -resource-dir
/home/tom/Documents/llvm/10.0.1/install-all/lib/clang/10.0.1 -internal-isystem
/usr/local/include -internal-isystem
/home/tom/Documents/llvm/10.0.1/install-all/lib/clang/10.0.1/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fdebug-compilation-dir
/home/tom/Documents/git/ESmith-FoundBugs/esmith-bugs/0816/FoundBugs2020-11/round-2020.08.15_06-24-27
-ferror-limit 19 -fmessage-length 0 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -faddrsig -o
/tmp/test11582-accd92.o -x c test11582.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'test11582.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@foo'
#0 0x0000000001883b1a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1883b1a)
#1 0x000000000188181c llvm::sys::RunSignalHandlers()
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x188181c)
#2 0x0000000001881983 SignalHandler(int)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1881983)
#3 0x00007f1b31f93390 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x000000000102f384 llvm::EVT::isExtendedVector() const
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x102f384)
#5 0x00000000023737cc
llvm::TargetLoweringBase::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x23737cc)
#6 0x00000000023a1192
llvm::SelectionDAGBuilder::visitInlineAsm(llvm::ImmutableCallSite)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x23a1192)
#7 0x00000000023b41ed llvm::SelectionDAGBuilder::visitCall(llvm::CallInst
const&) (/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x23b41ed)
#8 0x00000000023b8dca llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) (/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x23b8dca)
#9 0x00000000023fd30b
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
false, false, void>, false, true>,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false,
false, void>, false, true>, bool&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x23fd30b)
#10 0x00000000024012f5
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x24012f5)
#11 0x0000000002402759
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(.part.789.constprop.812)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x2402759)
#12 0x0000000000a6b242 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0xa6b242)
#13 0x0000000000f2171a
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(.part.40.constprop.41)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0xf2171a)
#14 0x00000000012eea5f llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x12eea5f)
#15 0x00000000012ef163 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x12ef163)
#16 0x00000000012ef4cb llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x12ef4cb)
#17 0x0000000001a8ddad (anonymous
namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1a8ddad)
#18 0x0000000001a8f7df 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> >)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1a8f7df)
#19 0x00000000024f178f
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x24f178f)
#20 0x0000000002dafb29 clang::ParseAST(clang::Sema&, bool, bool)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x2dafb29)
#21 0x0000000001fa0bc1 clang::FrontendAction::Execute()
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1fa0bc1)
#22 0x0000000001f60960
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x1f60960)
#23 0x000000000204a9fb
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x204a9fb)
#24 0x00000000009ccd83 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x9ccd83)
#25 0x00000000009ca697 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x9ca697)
#26 0x000000000095f85b main
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x95f85b)
#27 0x00007f1b30c8d840 __libc_start_main
/build/glibc-e6zv40/glibc-2.23/csu/../csu/libc-start.c:325:0
#28 0x00000000009ca0f9 _start
(/home/tom/Documents/llvm/10.0.1/install-all/bin/clang-10+0x9ca0f9)
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.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tom/Documents/llvm/10.0.1/install-all/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:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/test11582-c08216.c
clang-10: note: diagnostic msg: /tmp/test11582-c08216.sh
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>