<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 - Assertion in Lexer.cpp:1120 ( Loc >= BufferStart && Loc <= BufferEnd && "Location out of range for this buffer!" )"
href="https://bugs.llvm.org/show_bug.cgi?id=43521">43521</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion in Lexer.cpp:1120 ( Loc >= BufferStart && Loc <= BufferEnd && "Location out of range for this buffer!" )
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jif@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22612" name="attach_22612" title="run script">attachment 22612</a> <a href="attachment.cgi?id=22612&action=edit" title="run script">[details]</a></span>
run script
While building c++ for fuchsia I hit the following assertion:
../../src/ledger/bin/tests/integration/ledger_app_instance_factory_integration.cc:225:74:
error: member reference type 'ledger::Environment *' is a pointer; did you mean
to use '->'?
std::move(overnet), std::move(user_id_provider),
environment_.random());
~~~~~~~~~~~~^
->
clang++: /b/s/w/ir/k/llvm-project/clang/lib/Lex/Lexer.cpp:1120:
clang::SourceLocation clang::Lexer::getSourceLocation(const char *, unsigned
int) const: Assertion `Loc >= BufferStart && Loc <= BufferEnd && "Location out
of range for this buffer!"' failed.
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
Fuchsia clang version 10.0.0
(<a href="https://fuchsia.googlesource.com/a/third_party/llvm-project">https://fuchsia.googlesource.com/a/third_party/llvm-project</a>
47712383c9c72bd3d62291f1a5306b60e92c9921) (based on LLVM 10.0.0svn)
Target: x86_64-unknown-fuchsia
Thread model: posix
InstalledDir: ../../prebuilt/third_party/clang/linux-x64/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:
clang-crashreports/ledger_app_instance_factory_integration-5c30e8.cpp
clang++: note: diagnostic msg:
clang-crashreports/ledger_app_instance_factory_integration-5c30e8.sh
clang++: note: diagnostic msg:
********************
I couldn't attach the ledger_app_instance_factory_integration-5c30e8.cpp
because it's 15MB, so here's a link to it:
<a href="https://drive.google.com/file/d/1-hFu1699Fk99VfasYNUzBE6rfOtEKUZZ/view?usp=sharing">https://drive.google.com/file/d/1-hFu1699Fk99VfasYNUzBE6rfOtEKUZZ/view?usp=sharing</a></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>