[kontact] [Bug 408675] KMail crashes sometimes when clicking on toolbar button "Reply"

David Faure bugzilla_noreply at kde.org
Thu Apr 16 22:04:54 BST 2020


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

--- Comment #3 from David Faure <faure at kde.org> ---
My wife has been hitting this crash regularly for the last few years.
Let's try to see what frame #6 might be.

One possibility would be:
#5  QMenuSloppyState::stopTimer() { m_time.stop(); }
    QMenuSloppyState::reset()
#6  QMenuSloppyState::enter()
#7  QMenu::enterEvent(QEvent*)

But for #5 to crash, `this` must be deleted, but then the other member vars
accessed in reset() would crash too.

Alternatively, this comes from m_parent->childEnter().

#5  QMenuSloppyState::stopTimer() { m_time.stop(); }
    QMenuSloppyState::childEnter() on the parent
#6  QMenuSloppyState::enter()  calls m_parent->childEnter();
#7  QMenu::enterEvent(QEvent*)

This seems more likely, m_parent would be a dangling pointer. But m_parent only
happens with submenus...
There are submenus in the "Reply" toolbutton, but the mouse is nowhere near
those... or maybe that's what triggers it?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list