| Summary: | Segfault of LabPlot2 when opening settings dropdown | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | waterlubber |
| Component: | general | Assignee: | Alexander Semke <alexander.semke> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bojan007, colin, ynphua |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 2.6.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/kde/labplot/commit/20d05a9b43462a6c5574ed96626be9f93a3c1e88 | Version Fixed/Implemented In: | 2.8 |
| Sentry Crash Report: | |||
| Attachments: | Screenshot of LabPlot version. | ||
|
Description
waterlubber
2019-09-29 20:31:57 UTC
I reinstalled Labplot and was able to reproduce the issue. It appears to occur when I hover over "Color Theme" in the settings dropdown. (In reply to waterlubber from comment #1) > I reinstalled Labplot and was able to reproduce the issue. It appears to > occur when I hover over "Color Theme" in the settings dropdown. This looks like an issues with the Qt library on your computer. Do you also have the same problem with other Qt-based programs when opening the menus? I tried with some other KDE/QT applications, like KDenlive (with the same menu option) and KStars, and was not able to reproduce the issue there. It appears to be limited to LabPlot2. (In reply to waterlubber from comment #3) > I tried with some other KDE/QT applications, like KDenlive (with the same > menu option) and KStars, and was not able to reproduce the issue there. It > appears to be limited to LabPlot2. I manage to reproduce this only once on my computer. Hard to understand/debug unfortunately... Is LabPlot linked to the same KF5 libraries as kdenlive? Any chance to compile the new version released today (https://labplot.kde.org/2019/10/24/labplot-2-7-released/) and try again? Created attachment 123469 [details]
Screenshot of LabPlot version.
(In reply to Alexander Semke from comment #4) > (In reply to waterlubber from comment #3) > > I tried with some other KDE/QT applications, like KDenlive (with the same > > menu option) and KStars, and was not able to reproduce the issue there. It > > appears to be limited to LabPlot2. > I manage to reproduce this only once on my computer. Hard to > understand/debug unfortunately... > > Is LabPlot linked to the same KF5 libraries as kdenlive? > > Any chance to compile the new version released today > (https://labplot.kde.org/2019/10/24/labplot-2-7-released/) and try again? I updated to the latest version from the Arch repos -- version 2.7 -- and experienced the same issue. I also tried compiling the latest version and running from there -- same problem. Would compiling with debug flags help? How would I go about that? (In reply to waterlubber from comment #6) > (In reply to Alexander Semke from comment #4) > > (In reply to waterlubber from comment #3) > > > I tried with some other KDE/QT applications, like KDenlive (with the same > > > menu option) and KStars, and was not able to reproduce the issue there. It > > > appears to be limited to LabPlot2. > > I manage to reproduce this only once on my computer. Hard to > > understand/debug unfortunately... > > > > Is LabPlot linked to the same KF5 libraries as kdenlive? > > > > Any chance to compile the new version released today > > (https://labplot.kde.org/2019/10/24/labplot-2-7-released/) and try again? > > I updated to the latest version from the Arch repos -- version 2.7 -- and > experienced the same issue. > I also tried compiling the latest version and running from there -- same > problem. > > Would compiling with debug flags help? How would I go about that? Your system seems to have already some debug symbols installed. From the backtrace you pasted in your first comment, the crash happens in Thread 1 and the last frames are #6 0x00007f3939161fe5 in () at /usr/lib/libKF5ConfigWidgets.so.5 #7 0x00007f3937dc3b70 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #8 0x00007f39388dee07 in QMenu::popup(QPoint const&, QAction*) () at /usr/lib/libQt5Widgets.so.5 #9 0x00007f39388e1099 in QMenu::internalDelayedPopup() () at /usr/lib/libQt5Widgets.so.5 It crashes in KF5ConfigWidgets somewhere. We miss the debug information here so I cannot say what is causing the problem here. Either we get the debug symbols for KF5ConfigWidgets on your system or I can try to reproduce it locally or try to see from the code what could cause such a problem. Just to double confirm, kdenlinve that doesn't have this problem is also using KDE Frameworks 5.63, right? (In reply to Alexander Semke from comment #7) > (In reply to waterlubber from comment #6) > > (In reply to Alexander Semke from comment #4) > > > (In reply to waterlubber from comment #3) > > > > I tried with some other KDE/QT applications, like KDenlive (with the same > > > > menu option) and KStars, and was not able to reproduce the issue there. It > > > > appears to be limited to LabPlot2. > > > I manage to reproduce this only once on my computer. Hard to > > > understand/debug unfortunately... > > > > > > Is LabPlot linked to the same KF5 libraries as kdenlive? > > > > > > Any chance to compile the new version released today > > > (https://labplot.kde.org/2019/10/24/labplot-2-7-released/) and try again? > > > > I updated to the latest version from the Arch repos -- version 2.7 -- and > > experienced the same issue. > > I also tried compiling the latest version and running from there -- same > > problem. > > > > Would compiling with debug flags help? How would I go about that? > Your system seems to have already some debug symbols installed. From the > backtrace you pasted in your first comment, the crash happens in Thread 1 > and the last frames are > > #6 0x00007f3939161fe5 in () at /usr/lib/libKF5ConfigWidgets.so.5 > #7 0x00007f3937dc3b70 in QMetaObject::activate(QObject*, int, int, void**) > () at /usr/lib/libQt5Core.so.5 > #8 0x00007f39388dee07 in QMenu::popup(QPoint const&, QAction*) () at > /usr/lib/libQt5Widgets.so.5 > #9 0x00007f39388e1099 in QMenu::internalDelayedPopup() () at > /usr/lib/libQt5Widgets.so.5 > > It crashes in KF5ConfigWidgets somewhere. We miss the debug information here > so I cannot say what is causing the problem here. Either we get the debug > symbols for KF5ConfigWidgets on your system or I can try to reproduce it > locally or try to see from the code what could cause such a problem. > > Just to double confirm, kdenlinve that doesn't have this problem is also > using KDE Frameworks 5.63, right? Yes, kdenlive shows that it's running on 5.63.0. I also tried moving ~/.config/labplot2rc to see if it was a configuration problem, but the issue remained. *** Bug 414032 has been marked as a duplicate of this bug. *** *** Bug 416538 has been marked as a duplicate of this bug. *** I've got it reproducible now. It always crashed in the clang debug build with ASAN activated. Git commit 20d05a9b43462a6c5574ed96626be9f93a3c1e88 by Alexander Semke. Committed on 25/01/2020 at 09:28. Pushed by asemke into branch 'master'. Don't crash (sporadically) when openning the color scheme menu. FIXED-IN: 2.8 M +5 -5 src/kdefrontend/MainWin.cpp M +9 -5 src/kdefrontend/MainWin.h https://invent.kde.org/kde/labplot/commit/20d05a9b43462a6c5574ed96626be9f93a3c1e88 *** Bug 418963 has been marked as a duplicate of this bug. *** |