Bug 445136 - Crashes in KCMKWinDecoration::borderSizeIndexToString() while setting theme
Summary: Crashes in KCMKWinDecoration::borderSizeIndexToString() while setting theme
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwindecoration (show other bugs)
Version: 5.23.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 421547 446602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-07 21:46 UTC by Michael
Modified: 2022-01-20 22:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-17170-0.html (1.92 KB, text/html)
2021-11-09 23:19 UTC, Michael
Details
attachment-4328-0.html (1.30 KB, text/html)
2021-11-10 22:36 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2021-11-07 21:46:54 UTC
Application: kcmshell5 (5.23.2)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.11.0-38-generic x86_64
Windowing System: X11
Distribution: Windowsfx 11
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:  Had just installed OS; was setting up a theme; selected "Dark Willow" (or "Willow Dark" ??).

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault

[New LWP 2159]
[New LWP 2160]
[New LWP 2161]
[New LWP 2162]
[New LWP 2163]
[New LWP 2164]
[New LWP 2178]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f593096caff in __GI___poll (fds=0x7fff51b0e678, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f592c035980 (LWP 2157))]

Thread 8 (Thread 0x7f58fdb99700 (LWP 2178)):
#0  0x00007f592ee2f363 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f592ee2f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5930f3a61b in QEventDispatcherGlib::processEvents (this=0x7f58ec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f5930ede8ab in QEventLoop::exec (this=this@entry=0x7f58fdb98c00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#4  0x00007f5930cf82c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#5  0x00007f592ff64549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f5930cf945c in QThreadPrivate::start (arg=0x5636c95d3f00) at thread/qthread_unix.cpp:329
#7  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f5920cd9700 (LWP 2164)):
#0  0x00007f593096caff in __GI___poll (fds=0x7f5904004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f592ee2f36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f592ee2f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5930f3a61b in QEventDispatcherGlib::processEvents (this=0x7f5904000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5930ede8ab in QEventLoop::exec (this=this@entry=0x7f5920cd8c00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f5930cf82c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f592ff64549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f5930cf945c in QThreadPrivate::start (arg=0x5636c7f91e40) at thread/qthread_unix.cpp:329
#8  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f5921eea700 (LWP 2163)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5636c7e9675c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5636c7e96708, cond=0x5636c7e96730) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5636c7e96730, mutex=0x5636c7e96708) at pthread_cond_wait.c:638
#3  0x00007f5922833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f5922833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f59226eb700 (LWP 2162)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5636c7e96758) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5636c7e96708, cond=0x5636c7e96730) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5636c7e96730, mutex=0x5636c7e96708) at pthread_cond_wait.c:638
#3  0x00007f5922833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f5922833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5928dd8700 (LWP 2161)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5636c7e96758) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5636c7e96708, cond=0x5636c7e96730) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5636c7e96730, mutex=0x5636c7e96708) at pthread_cond_wait.c:638
#3  0x00007f5922833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f5922833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f59295d9700 (LWP 2160)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5636c7e9675c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5636c7e96708, cond=0x5636c7e96730) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5636c7e96730, mutex=0x5636c7e96708) at pthread_cond_wait.c:638
#3  0x00007f5922833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f5922833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f592a38a700 (LWP 2159)):
#0  0x00007f593096caff in __GI___poll (fds=0x7f591c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f592ee2f36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f592ee2f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5930f3a61b in QEventDispatcherGlib::processEvents (this=0x7f591c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5930ede8ab in QEventLoop::exec (this=this@entry=0x7f592a389bf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f5930cf82c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f593119bf4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f5930cf945c in QThreadPrivate::start (arg=0x7f593121fd80) at thread/qthread_unix.cpp:329
#8  0x00007f592f841609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f5930979293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f592c035980 (LWP 2157)):
[KCrash Handler]
#4  0x00007f5915100bf8 in KCMKWinDecoration::borderSizeIndexToString (this=this@entry=0x5636c83ea570, index=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:117
#5  0x00007f5915100ef7 in KCMKWinDecoration::save (this=0x5636c83ea570) at ./src/kcmkwin/kwindecoration/kcm.cpp:124
#6  0x00007f593247c056 in KCModuleQml::save (this=0x5636c8b5f960) at /usr/include/c++/9/bits/unique_ptr.h:360
#7  0x00007f593248449f in KCModuleProxy::save (this=this@entry=0x5636c83e98e0) at ./src/kcmoduleproxy.cpp:263
#8  0x00007f593247f640 in KCMultiDialogPrivate::apply (this=<optimized out>) at ./src/kcmultidialog.cpp:371
#9  0x00007f5930f16dce in QtPrivate::QSlotObjectBase::call (a=0x7fff51b0f380, r=0x7f591c00b470, this=0x5636c83695e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5636c7f43f70, signal_index=9, argv=0x7fff51b0f380) at kernel/qobject.cpp:3886
#11 0x00007f5930f10197 in QMetaObject::activate (sender=sender@entry=0x5636c7f43f70, m=m@entry=0x7f59320a8600 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff51b0f380) at kernel/qobject.cpp:3946
#12 0x00007f5931c89cb6 in QAbstractButton::clicked (this=this@entry=0x5636c7f43f70, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#13 0x00007f5931c89ede in QAbstractButtonPrivate::emitClicked (this=0x5636c7f41ca0) at widgets/qabstractbutton.cpp:415
#14 0x00007f5931c8b3b3 in QAbstractButtonPrivate::click (this=0x5636c7f41ca0) at widgets/qabstractbutton.cpp:408
#15 0x00007f5931c8b575 in QAbstractButton::mouseReleaseEvent (this=0x5636c7f43f70, e=0x7fff51b0f940) at widgets/qabstractbutton.cpp:1044
#16 0x00007f5931bd4cf6 in QWidget::event (this=0x5636c7f43f70, event=0x7fff51b0f940) at kernel/qwidget.cpp:8664
#17 0x00007f5931c8c7a3 in QAbstractButton::event (this=this@entry=0x5636c7f43f70, e=e@entry=0x7fff51b0f940) at widgets/qabstractbutton.cpp:1001
#18 0x00007f5931d2fdd3 in QPushButton::event (this=0x5636c7f43f70, e=0x7fff51b0f940) at widgets/qpushbutton.cpp:709
#19 0x00007f5931b91dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5636c7f43f70, e=0x7fff51b0f940) at kernel/qapplication.cpp:3632
#20 0x00007f5931b9ae77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076
#21 0x00007f5930edfdaa in QCoreApplication::notifyInternal2 (receiver=0x5636c7f43f70, event=0x7fff51b0f940) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#22 0x00007f5931b9a0a7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x5636c7f43f70, event=event@entry=0x7fff51b0f940, alienWidget=alienWidget@entry=0x5636c7f43f70, nativeWidget=0x7f591c00b470, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#23 0x00007f5931beff44 in QWidgetWindow::handleMouseEvent (this=0x5636c7f75220, event=0x7fff51b0fdc0) at /usr/include/c++/9/bits/atomic_base.h:413
#24 0x00007f5931bf3264 in QWidgetWindow::event (event=0x7fff51b0fdc0, this=0x5636c7f75220) at kernel/qwidgetwindow.cpp:300
#25 QWidgetWindow::event (this=0x5636c7f75220, event=0x7fff51b0fdc0) at kernel/qwidgetwindow.cpp:239
#26 0x00007f5931b91dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5636c7f75220, e=0x7fff51b0fdc0) at kernel/qapplication.cpp:3632
#27 0x00007f5931b9abb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#28 0x00007f5930edfdaa in QCoreApplication::notifyInternal2 (receiver=0x5636c7f75220, event=0x7fff51b0fdc0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#29 0x00007f593149b4d8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282
#30 0x00007f593149b060 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2156
#31 0x00007f593149cb45 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x5636c843bc30) at kernel/qguiapplication.cpp:2002
#32 0x00007f59314747ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#33 0x00007f592b97deae in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#34 0x00007f592ee2f17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f592ee2f400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f592ee2f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f5930f3a602 in QEventDispatcherGlib::processEvents (this=0x5636c7dc5e00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f5930ede8ab in QEventLoop::exec (this=this@entry=0x7fff51b10380, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#39 0x00007f5930ee6a64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00005636c755d5cb in main (_argc=<optimized out>, _argv=<optimized out>) at ./kcmshell/main.cpp:330
[Inferior 1 (process 2157) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2021-11-08 23:08:11 UTC
#4  0x00007f5915100bf8 in KCMKWinDecoration::borderSizeIndexToString (this=this@entry=0x5636c83ea570, index=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:117
#5  0x00007f5915100ef7 in KCMKWinDecoration::save (this=0x5636c83ea570) at ./src/kcmkwin/kwindecoration/kcm.cpp:124


I assume Willow dark is a window decoration theme?
Comment 2 Nate Graham 2021-11-09 21:25:05 UTC
I am digging into this, but I'm unable to reproduce the crash by downloading and applying the "Willow Dark" window decoration theme. Did you do anything else before it crashed? Like change the border size, perhaps?
Comment 3 Michael 2021-11-09 23:19:38 UTC
Created attachment 143385 [details]
attachment-17170-0.html

No, I did not; it was early on in the installation.  I've since had other
frustrations with Aisleriot Solitaire and have uninstalled and gone back to
my previous Distro, with which I was happy using; your Distro piqued my
interest and I may come back to if after it has matured more - it's a great
idea!  One of my other frustrations was in trying to figure out how exactly
to uninstall an application.  It's now academic.  I'm just a 69 year old
wannabe curmudgeon who knows more Windows than Linux.

Thanks for your time
Michael

On Tue, Nov 9, 2021 at 3:25 PM Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=445136
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>              Status|REPORTED                    |NEEDSINFO
>
> --- Comment #2 from Nate Graham <nate@kde.org> ---
> I am digging into this, but I'm unable to reproduce the crash by
> downloading
> and applying the "Willow Dark" window decoration theme. Did you do anything
> else before it crashed? Like change the border size, perhaps?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Nate Graham 2021-11-10 18:42:46 UTC
OK, sorry you didn't have a better experience! Closing as I can't reproduce the issue, and it sounds like like you won't be in a position to test it again.
Comment 5 Michael 2021-11-10 22:36:24 UTC
Created attachment 143429 [details]
attachment-4328-0.html

Thank you for the assistance!

On Wed, Nov 10, 2021 at 12:42 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=445136
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEEDSINFO                   |RESOLVED
>          Resolution|WAITINGFORINFO              |WORKSFORME
>
> --- Comment #4 from Nate Graham <nate@kde.org> ---
> OK, sorry you didn't have a better experience! Closing as I can't
> reproduce the
> issue, and it sounds like like you won't be in a position to test it again.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 6 Nate Graham 2021-12-07 04:02:37 UTC
*** Bug 446602 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-12-07 04:03:05 UTC
Duplicate bug 446602 has the same backtrace; re-opening.
Comment 8 Nate Graham 2022-01-20 22:36:04 UTC
*** Bug 421547 has been marked as a duplicate of this bug. ***