| Summary: | crash when filtering class list | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Rolf Eike Beer <kde> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/kde/kdevelop/commit/5bff5d65a023cfce078c0abc7f82b9899f49fffb | Version Fixed/Implemented In: | 5.4.3 |
| Sentry Crash Report: | |||
|
Description
Rolf Eike Beer
2019-04-26 19:24:18 UTC
Git commit 5bff5d65a023cfce078c0abc7f82b9899f49fffb by Milian Wolff, on behalf of Marcin Dłubakowski. Committed on 20/09/2019 at 04:10. Pushed by mwolff into branch '5.4'. Fixed crash when filtering class list Issue: When you select an inner node (method or member) in classes panel, then type something in search bar that filters that node out, Kdevelop crashes. It seems that when nodes get filtered, at some point currentIndex of QTreeView points to deleted node, which causes segfault in ClassModel::hasChildren. Manually invalidating currentIndex before filtering seems to have fixed the issue. Differential Revision: https://phabricator.kde.org/D22660 M +1 -0 plugins/classbrowser/classwidget.cpp https://invent.kde.org/kde/kdevelop/commit/5bff5d65a023cfce078c0abc7f82b9899f49fffb |