https://bugs.kde.org/show_bug.cgi?id=374013

--- Comment #1 from Kevin Funk <kf...@kde.org> ---
As said on IRC, I'm puzzled how you can get into this state.

abstracttype.cpp:52:

if (decl && !decl->isFunctionDeclaration() && decl->abstractType()
    && decl->abstractType()->modifiers() & AbstractType::ConstModifier
    && !dynamic_cast<VariableDeclaration*>(decl) )

=> decl->abstractType() is checked whether it is null

CodeHighlightingInstance::highlightDUChain (in one of the parent frames) holds
the DUChain lock so it can't be multi-threading related either. So how can the
following snippet crash when decl->abstractType() is nullptr!?

decl->abstractType() && decl->abstractType()->modifiers()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to