<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 failure in clang::ento::MemRegion::getAsOffset"
href="https://bugs.llvm.org/show_bug.cgi?id=35075">35075</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failure in clang::ento::MemRegion::getAsOffset
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>Static Analyzer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dcoughlin@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexfh@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Here's a stack trace, a test case will be coming later:
assertion failed at llvm/tools/clang/include/clang/AST/Type.h:628 in const
clang::ExtQualsTypeCommonBase *clang::QualType::getCommonPtr() const: !isNull()
&& "Cannot retrieve a NULL type pointer"
@ 0xd25eade 368 __assert_fail
@ 0x6fc519 32 clang::QualType::getCommonPtr()
@ 0x6fc4a9 16 clang::QualType::getTypePtr()
@ 0xb0b012a 608 clang::ento::MemRegion::getAsOffset()
@ 0xafdf94d 224 (anonymous namespace)::BindingKey::Make()
@ 0xafde5d3 32 (anonymous
namespace)::RegionBindingsRef::lookup()
@ 0xafe384c 32 (anonymous
namespace)::RegionBindingsRef::getDirectBinding()
@ 0xafdce9c 224 (anonymous
namespace)::RegionStoreManager::getBindingForField()
@ 0xafdc43e 896 (anonymous
namespace)::RegionStoreManager::getBinding()
@ 0xafd7aa2 256 (anonymous
namespace)::RegionStoreManager::getBinding()
@ 0xb069d98 480 clang::ento::ProgramState::getSVal()
@ 0xace7512 480 (anonymous
namespace)::NonnullGlobalConstantsChecker::checkLocation()
@ 0xb106dcb 448 (anonymous
namespace)::CheckLocationContext::runChecker()
@ 0xb100e71 736 expandGraphWithCheckers<>()
@ 0xb100977 320
clang::ento::CheckerManager::runCheckersForLocation()
@ 0xb13bb49 736 clang::ento::ExprEngine::evalLocation()
@ 0xb13be75 736 clang::ento::ExprEngine::evalLoadCommon()
@ 0xb13a7df 704 clang::ento::ExprEngine::evalLoad()
@ 0xb1874bb 2752 clang::ento::ExprEngine::VisitCast()
@ 0xb12d693 4864 clang::ento::ExprEngine::Visit()
@ 0xb12a811 736 clang::ento::ExprEngine::ProcessStmt()
@ 0xb12a308 480
clang::ento::ExprEngine::processCFGElement()
@ 0xb16f065 256 clang::ento::CoreEngine::HandlePostStmt()
@ 0xb16e23a 928
clang::ento::CoreEngine::dispatchWorkItem()
@ 0xb16dc2c 768 clang::ento::CoreEngine::ExecuteWorkList()
@ 0x9d72124 192 clang::ento::ExprEngine::ExecuteWorkList()
...</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>