<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 when parsing invalid code containing mismatch of member function declaration and definition signature"
href="https://bugs.llvm.org/show_bug.cgi?id=42821">42821</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segmentation fault when parsing invalid code containing mismatch of member function declaration and definition signature
</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++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sgiesecke@mozilla.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>#0 0x00007f41f9345fe4 PrintStackTraceSignalHandler(void*)
(/home/osboxes/.mozbuild/clang/bin/../lib/libLLVM-8.so+0x62cfe4)
#1 0x00007f41f9343f0e llvm::sys::RunSignalHandlers()
(/home/osboxes/.mozbuild/clang/bin/../lib/libLLVM-8.so+0x62af0e)
#2 0x00007f41f9346298 SignalHandler(int)
(/home/osboxes/.mozbuild/clang/bin/../lib/libLLVM-8.so+0x62d298)
#3 0x00007f41fb85fe80 __restore_rt (/lib64/libpthread.so.0+0x12e80)
#4 0x0000000001b85c00 clang::Lexer::SkipWhitespace(clang::Token&, char const*,
bool&) (/home/osboxes/.mozbuild/clang/bin/clang-8+0x1b85c00)
#5 0x0000000001b8a5b3 clang::Lexer::LexTokenInternal(clang::Token&, bool)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0x1b8a5b3)
#6 0x0000000000c8b8fe (anonymous
namespace)::InclusionRewriter::Process(clang::FileID,
clang::SrcMgr::CharacteristicKind, clang::DirectoryLookup const*)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xc8b8fe)
#7 0x0000000000c8b7b8 (anonymous
namespace)::InclusionRewriter::Process(clang::FileID,
clang::SrcMgr::CharacteristicKind, clang::DirectoryLookup const*)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xc8b7b8)
#8 0x0000000000c8aeff clang::RewriteIncludesInInput(clang::Preprocessor&,
llvm::raw_ostream*, clang::PreprocessorOutputOptions const&)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xc8aeff)
#9 0x0000000000c88c71 clang::RewriteIncludesAction::ExecuteAction()
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xc88c71)
#10 0x0000000000aabb57 clang::FrontendAction::Execute()
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xaabb57)
#11 0x0000000000a529b8
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xa529b8)
#12 0x0000000000b3b016
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/osboxes/.mozbuild/clang/bin/clang-8+0xb3b016)
#13 0x00000000005fc45d cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/home/osboxes/.mozbuild/clang/bin/clang-8+0x5fc45d)
#14 0x00000000005fa9e2 main
(/home/osboxes/.mozbuild/clang/bin/clang-8+0x5fa9e2)
#15 0x00007f41f888ff33 __libc_start_main (/lib64/libc.so.6+0x23f33)
#16 0x00000000005f7ecd _start
(/home/osboxes/.mozbuild/clang/bin/clang-8+0x5f7ecd)
clang-8: error: unable to execute command: Segmentation fault (core dumped)
clang-8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 8.0.0 (tags/RELEASE_800/final) (llvm/tags/RELEASE_800/final
356365)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/osboxes/.mozbuild/clang/bin</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>