Bug 375818 - System Settings crashed while opening again after closing main window while GHNS window was open
Summary: System Settings crashed while opening again after closing main window while G...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.8.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-01-31 21:45 UTC by Mihailo
Modified: 2020-02-11 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihailo 2017-01-31 21:45:39 UTC
Application: systemsettings5 (5.8.2)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.36-8-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:

I opened the Get New Looks window from the Look and Feel section and then I first closed the System Settings window and then the Get New Looks window. Next time when I opened the System Settings it crashed,
I tried it again and I got the same result.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f779dae6780 (LWP 7384))]

Thread 6 (Thread 0x7f7769f56700 (LWP 7405)):
#0  0x00007f779980a49d in poll () from /lib64/libc.so.6
#1  0x00007f7795421314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f779542142c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f779a11132b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f779a0befdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f7799ef9f1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f7799efe9e9 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f779593e734 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f7799812d3d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f776addb700 (LWP 7404)):
#0  0x00007f779980a49d in poll () from /lib64/libc.so.6
#1  0x00007f7795421314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f779542142c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f779a11132b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f779a0befdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f7799ef9f1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f7799efe9e9 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f779593e734 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f7799812d3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7774289700 (LWP 7399)):
#0  0x00007f779980a49d in poll () from /lib64/libc.so.6
#1  0x00007f7795421314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f779542142c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f779a11132b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f779a0befdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f7799ef9f1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f77982689c8 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f7799efe9e9 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f779593e734 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7799812d3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7781db0700 (LWP 7388)):
#0  0x00007f779541e672 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f77954208fb in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7795421230 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f779542142c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f779a11132b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f779a0befdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f7799ef9f1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f779aa141d5 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f7799efe9e9 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f779593e734 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7799812d3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f778b0a3700 (LWP 7387)):
#0  0x00007f779980a49d in poll () from /lib64/libc.so.6
#1  0x00007f77961b43e2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f77961b5fcf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f778d5fd839 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f7799efe9e9 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f779593e734 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7799812d3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f779dae6780 (LWP 7384)):
[KCrash Handler]
#6  0x00007f779bc5ee98 in QWidget::window() const () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f779bc64ea9 in QWidget::activateWindow() () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007f779a0eb1c3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f779ac8b047 in KDBusService::activateRequested(QStringList const&, QString const&) () from /usr/lib64/libKF5DBusAddons.so.5
#10 0x00007f779ac864f6 in KDBusService::Activate(QMap<QString, QVariant> const&) () from /usr/lib64/libKF5DBusAddons.so.5
#11 0x00007f779ac8ae43 in ?? () from /usr/lib64/libKF5DBusAddons.so.5
#12 0x00007f779aa1f38c in ?? () from /usr/lib64/libQt5DBus.so.5
#13 0x00007f779aa231bd in ?? () from /usr/lib64/libQt5DBus.so.5
#14 0x00007f779aa23a80 in ?? () from /usr/lib64/libQt5DBus.so.5
#15 0x00007f779aa2604e in ?? () from /usr/lib64/libQt5DBus.so.5
#16 0x00007f779a0ec166 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f779bc33e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f779bc3849a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f779a0c0fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f779a0c2daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f779a111c83 in ?? () from /usr/lib64/libQt5Core.so.5
#22 0x00007f7795421134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f7795421388 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f779542142c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f779a11130c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f779a0befdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f779a0c6ec6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#28 0x000000000040ce27 in ?? ()
#29 0x00007f77997496e5 in __libc_start_main () from /lib64/libc.so.6
#30 0x000000000040ce89 in _start ()

Possible duplicates by query: bug 354973, bug 354631, bug 351909, bug 348427, bug 347261.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-02-01 22:58:18 UTC
GHNS dialog needs to be modal to the main window, otherwise it can be closed while the GHNS dialog is still open.
Comment 2 Kai Uwe Broulik 2017-02-02 13:04:56 UTC
I changed the show() call to open() which makes it modal but that doesn't prevent closing the System Settings window. The same bug also happens in the desktop theme KCM which has been like this forever.

I think the dialog needs to be parented to the KCM or the window so it just closes when you close the System Settings window. There doesn't seem to be a way to access the window the QML ConfigModule is in, though.
Comment 3 Nate Graham 2020-01-12 22:57:27 UTC
Can anyone reproduce this? I cannot.
Comment 4 Bug Janitor Service 2020-01-27 04:33:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-02-11 04:33:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!