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

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kosse...@kde.org

--- Comment #1 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Seems this crashes in KTextEditor's KateViewInternal::textHintTimeout(),
possibly due to pointer to a no longer existing TextHintProvider:
```
    QStringList textHints;
    foreach(KTextEditor::TextHintProvider * const p, m_textHintProviders) {
        const QString hint = p->textHint(m_view, c); // <- crash line 3169 in
5.59
        if (!hint.isEmpty()) {
            textHints.append(hint);
        }
    }
```
https://phabricator.kde.org/source/ktexteditor/browse/master/src/view/kateviewinternal.cpp;v5.59.0$3169

Now KDevelop has a flaw that both TextHintProvider classes are getting passed
to TextHintInterface::registerTextHintProvider, but not
TextHintInterface::unregisterTextHintProvider once they are deleted, which
could be the cause then for a dangling pointer here. From a quick check via
lxr.kde.org there are no other candidates in a kdevelop context, so in any case
something to improve kdevelop-side. Having a look now myself...

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

Reply via email to