[llvm-bugs] [Bug 35075] New: Assertion failure in clang::ento::MemRegion::getAsOffset
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 25 09:07:35 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=35075
Bug ID: 35075
Summary: Assertion failure in
clang::ento::MemRegion::getAsOffset
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: dcoughlin at apple.com
Reporter: alexfh at google.com
CC: llvm-bugs at lists.llvm.org
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()
...
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171025/89d7d380/attachment-0001.html>
More information about the llvm-bugs
mailing list