Summary: | KDevelop crashes when starting debugging | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Eugene Shalygin <eugene.shalygin+bugzilla.kde> |
Component: | sublime | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amhndu, iyer.arvind.sundaram, rjvbertin, yyc1992 |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdevelop/7169b3ac931c88783688702ef6013d3d536c68f4 | Version Fixed In: | |
Sentry Crash Report: |
Description
Eugene Shalygin
2018-09-24 15:27:55 UTC
a debug print at that point outputs: surplus = 0 , _items.size() = 6 , smallItemCount = 0 surplus = 0 , _items.size() = 4 , smallItemCount = 0 surplus = 0 , _items.size() = 6 , smallItemCount = 0 surplus = 0 , _items.size() = 4 , smallItemCount = 0 surplus = 0 , _items.size() = 6 , smallItemCount = 0 surplus = 0 , _items.size() = 4 , smallItemCount = 0 surplus = 0 , _items.size() = 6 , smallItemCount = 0 surplus = 0 , _items.size() = 4 , smallItemCount = 0 surplus = 0 , _items.size() = 6 , smallItemCount = 0 surplus = 0 , _items.size() = 4 , smallItemCount = 0 [Detaching after fork from child process 32142] surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 kdevplatform.shell: Broken text-document: QUrl("file:///tmp/kdevelop_sBJvnJ.patch") surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 3 , smallItemCount = 2 surplus = 0 , _items.size() = 2 , smallItemCount = 2 See https://phabricator.kde.org/D15625 What widget style are you using? QtCurve Like me. In a way I would have preferred a different answer just to be able to exclude the widget style as somehow responsible. @Yichao, can you have a look and check if the issue described here and in D15625 is indeed NOT due to a bug in QtCurve? For the record, applying D15625 helps me to avoid the crash. *** Bug 398790 has been marked as a duplicate of this bug. *** *** Bug 399057 has been marked as a duplicate of this bug. *** Git commit 7169b3ac931c88783688702ef6013d3d536c68f4 by Amish Naidu. Committed on 27/09/2018 at 17:12. Pushed by anaidu into branch '5.3'. Sublime: Fix crash when changing areas Summary: Fixes regression introduced in D15450 by making IdealButtonBarLayout derive from QBoxLayout instead of QLayout and thus delete most operations to Qt instead of manually handling them, removing the bugged implementation. Added minimumSizeHint in IdealToolButton to prevent it from being resized to zero. IdealButtonBarLayout is now a child layout for vertical bars as well, the top level layout is stretched and allows for context menu. Reviewers: #kdevelop, kossebau, rjvbb Reviewed By: #kdevelop, kossebau, rjvbb Subscribers: kossebau, rjvbb, kdevelop-devel Tags: #kdevelop Differential Revision: https://phabricator.kde.org/D15625 M +7 -3 kdevplatform/sublime/idealbuttonbarwidget.cpp M +24 -247 kdevplatform/sublime/ideallayout.cpp M +5 -30 kdevplatform/sublime/ideallayout.h M +40 -0 kdevplatform/sublime/idealtoolbutton.cpp M +2 -0 kdevplatform/sublime/idealtoolbutton.h https://commits.kde.org/kdevelop/7169b3ac931c88783688702ef6013d3d536c68f4 |