Summary: | System Setting App crashes when deleting a duplicated line in virtual screen settings | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Wolfgang Reh <Wolfgang.Reh> |
Component: | kcm_kwinvirtualdesktops | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | crash | CC: | justin.zobel, kde, nate, plasma-bugs, szotsaki |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.26.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Backtrace with loaded debug symbols
KWin GDB full backtrace |
Description
Wolfgang Reh
2020-06-17 08:40:23 UTC
do you know if you had deliberately made that duplicate line, or whether it had just appeared? Blowing up in KWin: [KCrash Handler] #4 0x00007faa0806783b in KWin::DesktopsModel::syncWithServer() () from /usr/lib64/qt5/plugins/kcms/kcm_kwin_virtualdesktops.so #5 0x00007faa0806dfbf in KWin::VirtualDesktops::save() () from /usr/lib64/qt5/plugins/kcms/kcm_kwin_virtualdesktops.so #6 0x00007faa65ffe5c6 in KCModuleQml::save() () from /lib64/libKF5KCMUtils.so.5 # Any chance this is still happening for yo in Plasma 5.19--or even better in the upcoming Plasma 5.20 (released tomorrow)? On my system: Operating System: Fedora 32 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.14.2 Kernel Version: 5.8.13-200.fc32.x86_64 OS Type: 64-bit Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor Memory: 15,6 GiB this is still happening. I don't have any other system where I can check it with a newer version, sorry. 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! Hi, I've already entered a comment (https://bugs.kde.org/show_bug.cgi?id=423091#c3) to this bug. I do not have any machine where I can check if the bug still happens in Plasma 5.19 or 5.20, sorry. Best regards Wolfgang Reh Bug Janitor Service wrote: > https://bugs.kde.org/show_bug.cgi?id=423091 > > --- Comment #4 from Bug Janitor Service <bug-janitor@kde.org> --- > 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! > Can you please install debug packages for kwin and submit a new backtrace with debug symbols? Hi, where do I get these debug packages from? When I check with dnf I can see a kwn-devel package, but no kwin-debug package. Best regards Wolfgang Reh Vlad Zahorodnii wrote: > https://bugs.kde.org/show_bug.cgi?id=423091 > > Vlad Zahorodnii <vlad.zahorodnii@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|WAITINGFORINFO |BACKTRACE > > --- Comment #6 from Vlad Zahorodnii <vlad.zahorodnii@kde.org> --- > Can you please install debug packages for kwin and submit a new backtrace with > debug symbols? > (In reply to Wolfgang Reh from comment #7) > Hi, > > where do I get these debug packages from? When I check with dnf I can > see a kwn-devel package, but no kwin-debug package. I don't use Fedora, so I can't really help you with that, but quick duckduckgo'ing shows that you need to run `sudo dnf debuginfo-install -y <pkg>` where <pkg> is the name of kwin package Created attachment 132868 [details]
Backtrace with loaded debug symbols
Here is the requested stacktrace with debug information
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! I did add the stack trace on 2020-10-19 but did not know I had to change the state ... sorry. Hmm this backtrace isn't much better: #4 0x00007f059c65683b in KWin::DesktopsModel::syncWithServer() () at /usr/lib64/qt5/plugins/kcms/kcm_kwin_virtualdesktops.so #5 0x00007f059c65cfbf in KWin::VirtualDesktops::save() () at /usr/lib64/qt5/plugins/kcms/kcm_kwin_virtualdesktops.so #6 0x00007f062d9eacf6 in KCModuleQml::save() () at /lib64/libKF5KCMUtils.so.5 #7 0x00007f062d9f1c97 in KCModuleProxy::save() () at /lib64/libKF5KCMUtils.so.5 #8 0x00007f062da28f25 in ModuleView::moduleSave(KCModuleProxy*) () at /lib64/libsystemsettingsview.so.3 #9 0x00007f062da243d6 in ModuleView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libsystemsettingsview.so.3 # Still cannot reproduce. Any chance you could see if it's fixed in Plasma 5.21? Can't reproduce the bug with version: Operating System: Fedora 34 KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.13.16-200.fc34.x86_64 (64-bit) Graphics Platform: X11 But still the first virtual desktop has the same name in the system settings as the second one. But only in the system settings, during mouse-over in the status-bar the correct name is displayed. *** Bug 443518 has been marked as a duplicate of this bug. *** Can't reproduce / ain't getting duplicated desktops. New added desktops are named simply "New Desktop" for me, but it doesn't cause any troubles when removing them. Operating System: Arch Linux KDE: git master Qt Version: 5.15.5 Kernel Version: 5.18.10-arch1-1 (64-bit) Graphics Platform: X11 I tried to reproduce it. Now, what happens is, instead of a crash when I click Apply, the whole desktop is rendered unusable by kwin_x11 which starts spinning X11 and doesn't repaint windows anymore. In another terminal (without X11) I could attach KWin to GDB and I saw the following: #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7ffcd9a04b9c) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7ffcd9a04b9c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3610a3e6f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ffcd9a04b9c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3610a6ab0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5568e55e0dd8, cond=0x7ffcd9a04b70) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=cond@entry=0x7ffcd9a04b70, mutex=mutex@entry=0x5568e55e0dd8) at pthread_cond_wait.c:618 #5 0x00007ff362f3cf25 in _xcb_conn_wait (count=0x0, vector=0x0, cond=0x7ffcd9a04b70, c=0x5568e55e0dc0) at /usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_conn.c:476 #6 wait_for_reply (c=c@entry=0x5568e55e0dc0, request=263708, e=e@entry=0x0) at /usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_in.c:522 #7 0x00007ff362f3de01 in xcb_wait_for_reply (c=0x5568e55e0dc0, request=263708, e=0x0) at /usr/src/debug/libxcb-1.15-1.3.x86_64/src/xcb_in.c:538 #8 0x00007ff3634d1a1e in get_stringlist_reply(xcb_connection_t*, xcb_get_property_cookie_t, xcb_atom_t) (c=<optimized out>, cookie=..., cookie@entry=..., type=322) at /usr/src/debug/kwindowsystem-5.96.0-1.1.x86_64/src/platforms/xcb/netwm.cpp:242 #9 0x00007ff3634d1fb8 in NETRootInfo::update(QFlags<NET::Property>, QFlags<NET::Property2>) (this=0x5568e5b403c0, properties=..., properties2=...) at /usr/src/debug/kwindowsystem-5.96.0-1.1.x86_64/src/platforms/xcb/netwm.cpp:2120 #10 0x00007ff3634d3b72 in NETRootInfo::event(xcb_generic_event_t*, QFlags<NET::Property>*, QFlags<NET::Property2>*) (this=this@entry=0x5568e5b403c0, event=event@entry=0x5568e6079fc0, properties=properties@entry=0x7ffcd9a05200, properties2=properties2@entry=0x7ffcd9a051f8) at /usr/src/debug/kwindowsystem-5.96.0-1.1.x86_64/src/platforms/xcb/netwm.cpp:1870 #11 0x00007ff3523f10a6 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x5568e5b403c0, ev=0x5568e6079fc0) at /usr/src/debug/kwindowsystem-5.96.0-1.1.x86_64/src/platforms/xcb/kwindowsystem.cpp:250 #12 0x00007ff3624d952f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x5568e6079fc0, result=result@entry=0x7ffcd9a052b8) at kernel/qabstracteventdispatcher.cpp:495 #13 0x00007ff35c6f447f in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x5568e55df790, event=event@entry=0x5568e6079fc0) at qxcbconnection.cpp:536 #14 0x00007ff35c6f5b16 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5568e55df790, flags=...) at qxcbconnection.cpp:1020 #15 0x00007ff35c71bbbc in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5568e568c490, flags=...) at qxcbeventdispatcher.cpp:61 #16 0x00007ff3624daa2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcd9a05400, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #17 0x00007ff3624e2b96 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #18 0x00007ff36296ee0c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867 #19 0x00007ff3619a5395 in QApplication::exec() () at kernel/qapplication.cpp:2829 #20 0x00005568e467c08d in main(int, char**) (argc=<optimized out>, argv=0x7ffcd9a056c8) at /usr/src/debug/kwin5-5.25.3-1.1.x86_64/src/main_x11.cpp:501 I attach the full backtrace of all threads. Created attachment 151712 [details]
KWin GDB full backtrace
What version was this new crash replicated on Szőts? If you can please change the status to reported and modify the version field at the top when you reply, thanks! Operating System: openSUSE Tumbleweed 20221128 KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Kernel Version: 6.0.8-1-default (64-bit) Graphics Platform: X11 Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2 This time only system settings crashed. Application: Rendszerbeállítások (systemsettings), signal: Segmentation fault [KCrash Handler] #6 std::__atomic_base<int>::load (__m=std::memory_order::relaxed, this=<optimized out>) at /usr/include/c++/12/bits/atomic_base.h:486 #7 QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239 #8 QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>) at /usr/include/qt5/QtCore/qbasicatomic.h:107 #9 QtPrivate::RefCount::ref (this=<optimized out>) at /usr/include/qt5/QtCore/qrefcount.h:55 #10 QString::QString (other=..., this=0x7ffcb4e851c0) at /usr/include/qt5/QtCore/qstring.h:1094 #11 KWin::DesktopsModel::syncWithServer (this=0x561d7f0f92c0) at /usr/src/debug/kwin-5.26.3/src/kcmkwin/kwindesktop/desktopsmodel.cpp:305 #12 0x00007f952c0e3ecf in KWin::VirtualDesktops::save (this=0x561d7f0f3980) at /usr/src/debug/kwin-5.26.3/src/kcmkwin/kwindesktop/virtualdesktops.cpp:80 #13 0x00007f9545d263f2 in KCModuleQml::save (this=0x561d7f190730) at /usr/src/debug/kcmutils-5.100.0/src/kcmoduleqml.cpp:299 #14 0x00007f9545d2e327 in KCModuleProxy::save (this=<optimized out>) at /usr/src/debug/kcmutils-5.100.0/src/kcmoduleproxy.cpp:279 #15 0x00007f95462d8751 in ModuleView::moduleSave (this=0x561d7ea54ab0, module=<optimized out>) at /usr/src/debug/systemsettings-5.26.3/core/ModuleView.cpp:369 #16 0x00007f95462d8a8e in ModuleView::moduleSave (this=<optimized out>) at /usr/src/debug/systemsettings-5.26.3/core/ModuleView.cpp:360 #17 0x00007f95462daebe in ModuleView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffcb4e85440) at /usr/src/debug/systemsettings-5.26.3/build/core/systemsettingsview_autogen/EWIEGA46WW/moc_ModuleView.cpp:133 #18 0x00007f9544b1354c in doActivate<false> (sender=0x561d7e6de590, signal_index=9, argv=0x7ffcb4e85440) at kernel/qobject.cpp:3931 #19 0x00007f9544b0c74f in QMetaObject::activate (sender=sender@entry=0x561d7e6de590, m=m@entry=0x7f9545cbe160 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffcb4e85440) at kernel/qobject.cpp:3979 #20 0x00007f9545897072 in QAbstractButton::clicked (this=this@entry=0x561d7e6de590, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #21 0x00007f95458972da in QAbstractButtonPrivate::emitClicked (this=0x561d7e480c00) at widgets/qabstractbutton.cpp:416 #22 0x00007f9545898b78 in QAbstractButtonPrivate::click (this=0x561d7e480c00) at widgets/qabstractbutton.cpp:409 #23 0x00007f9545898d97 in QAbstractButton::mouseReleaseEvent (this=0x561d7e6de590, e=0x7ffcb4e859c0) at widgets/qabstractbutton.cpp:1045 #24 0x00007f95457e6c38 in QWidget::event (this=0x561d7e6de590, event=0x7ffcb4e859c0) at kernel/qwidget.cpp:9043 #25 0x00007f95457a53fe in QApplicationPrivate::notify_helper (this=this@entry=0x561d7e3aa6e0, receiver=receiver@entry=0x561d7e6de590, e=e@entry=0x7ffcb4e859c0) at kernel/qapplication.cpp:3637 #26 0x00007f95457ad922 in QApplication::notify (this=<optimized out>, receiver=0x561d7e6de590, e=<optimized out>) at kernel/qapplication.cpp:3081 #27 0x00007f9544adc128 in QCoreApplication::notifyInternal2 (receiver=0x561d7e6de590, event=0x7ffcb4e859c0) at kernel/qcoreapplication.cpp:1064 #28 0x00007f95457aba9e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x561d7e6de590, event=event@entry=0x7ffcb4e859c0, alienWidget=<optimized out>, nativeWidget=0x561d7e8a4610, buttonDown=buttonDown@entry=0x7f9545cf0330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619 #29 0x00007f95457ffa58 in QWidgetWindow::handleMouseEvent (this=0x561d7e8f21a0, event=0x7ffcb4e85c70) at kernel/qwidgetwindow.cpp:683 #30 0x00007f9545802fb0 in QWidgetWindow::event (this=0x561d7e8f21a0, event=0x7ffcb4e85c70) at kernel/qwidgetwindow.cpp:300 #31 0x00007f95457a53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561d7e8f21a0, e=0x7ffcb4e85c70) at kernel/qapplication.cpp:3637 #32 0x00007f9544adc128 in QCoreApplication::notifyInternal2 (receiver=0x561d7e8f21a0, event=0x7ffcb4e85c70) at kernel/qcoreapplication.cpp:1064 #33 0x00007f9544f7b9ad in QGuiApplicationPrivate::processMouseEvent (e=0x561d7e9d16c0) at kernel/qguiapplication.cpp:2285 #34 0x00007f9544f4f37c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #35 0x00007f953f51a0fa in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #36 0x00007f954331ca90 in g_main_dispatch (context=0x7f9538005010) at ../glib/gmain.c:3444 #37 g_main_context_dispatch (context=context@entry=0x7f9538005010) at ../glib/gmain.c:4162 #38 0x00007f954331ce48 in g_main_context_iterate (context=context@entry=0x7f9538005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4238 #39 0x00007f954331cedc in g_main_context_iteration (context=0x7f9538005010, may_block=1) at ../glib/gmain.c:4303 #40 0x00007f9544b33b56 in QEventDispatcherGlib::processEvents (this=0x561d7e47ee90, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #41 0x00007f9544adab9b in QEventLoop::exec (this=this@entry=0x7ffcb4e85fa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #42 0x00007f9544ae2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #43 0x00007f9544f6ee4c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #44 0x00007f95457a5375 in QApplication::exec () at kernel/qapplication.cpp:2829 #45 0x0000561d7d6d4fa8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings-5.26.3/app/main.cpp:188 [Inferior 1 (process 16159) detached] |