Bug 421556

Summary: Virtual Desktops KCM opened in kcmshell5 crashed in QQmlData::wasDeleted() when opened for the first time from krunner
Product: [Applications] systemsettings Reporter: anchebooh
Component: kcm_kwinvirtualdesktopsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.18.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=411795
https://bugs.kde.org/show_bug.cgi?id=427444
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description anchebooh 2020-05-15 11:07:46 UTC
SUMMARY

Virtual Desktops crashed on Fedora 32 when opened for the first time from krunner

STEPS TO REPRODUCE
1. install Fedora 32
2. search "Virtual Desktops" in krunner, select it
3. it crashes


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 32
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68
Qt Version: 5.13.2

ADDITIONAL INFORMATION

Application: kcmshell5 (5.18.5)

Qt Version: 5.13.2
Frameworks Version: 5.68.0
Operating System: Linux 5.6.11-300.fc32.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 32 (KDE Plasma)

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

I simply opened "Virtual Desktops" from krunner and it crashed.

Opening "System Settings", searching "virtual", Opening "Virtual Desktops" worked fine.

I added two desktops from there, now opening directly "virtual desktops" from krunner works fine, too


- debug info:

I installed debug info for libQt5Qml.s0.5 with 

sudo dnf debuginfo-install qt5-qtdeclarative

and for kcmshell5 with

sudo dnf debuginfo-install -y kde-cli-tools

The latter did not seem to work, since when trying again to report the bug I am still asked to install debug info for kcmshell5.

By the way, the bug report helper failed. it tried to submit this bug to "kcmshell5" instead of "kde-cli-tools", it did not find the bug category and stopped. I had to submit this form the web at bugs.kde.org

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f84affff700 (LWP 2042)):
#0  0x00007f84d8691e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f84b6a74d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f84b6a7484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f84b4bbd700 (LWP 2041)):
#0  0x00007f84d8691e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f84b6a74d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f84b6a7484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f84b53be700 (LWP 2040)):
#0  0x00007f84d8691e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f84b6a74d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f84b6a7484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f84b5bbf700 (LWP 2039)):
#0  0x00007f84d8691e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f84b6a74d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f84b6a7484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f84c560f700 (LWP 2038)):
#0  0x00007f84daaba57c in read () from /lib64/libc.so.6
#1  0x00007f84d7aca52f in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f84d7a8062e in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f84d7a80a95 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#4  0x00007f84d7a80c23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f84d9703c23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f84d96b721b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f84d952b577 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f84d8a57d89 in QQmlThreadPrivate::run (this=0x55c9458ce050) at qml/ftw/qqmlthread.cpp:152
#9  0x00007f84d952c846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f84c6ea0700 (LWP 2037)):
#0  0x00007f84d7a7e89c in g_source_ref () from /lib64/libglib-2.0.so.0
#1  0x00007f84d7a7e968 in g_source_iter_next () from /lib64/libglib-2.0.so.0
#2  0x00007f84d7a7ff23 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x00007f84d7a80a1b in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#4  0x00007f84d7a80c23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f84d9703c23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f84d96b721b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f84d952b577 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f84da5a54da in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f84d952c846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f84c7dd2700 (LWP 2036)):
#0  0x00007f84daabeb6f in poll () from /lib64/libc.so.6
#1  0x00007f84d836238a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f84d836471a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f84c7fdfd58 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f84d952c846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f84d868b432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f84daac99d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f84d50e0800 (LWP 2035)):
[KCrash Handler]
#6  0x00007f84d8985aef in QQmlData::wasDeleted (object=0x55c948c3bbf0) at ../../include/QtQml/5.13.2/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#7  QV4::QObjectWrapper::wrap (object=0x55c948c3bbf0, engine=0x55c9458ce670) at jsruntime/qv4qobjectwrapper_p.h:215
#8  QV4::ExecutionEngine::fromVariant (this=0x55c9458ce670, variant=...) at jsruntime/qv4engine.cpp:1524
#9  0x00007f84d88e27eb in searchContextProperties (v4=v4@entry=0x55c9458ce670, context=context@entry=0x55c948d974e0, name=<optimized out>, hasProperty=hasProperty@entry=0x7ffedc0268c7, base=base@entry=0x0, lookup=lookup@entry=0x0, originalLookup=<optimized out>, ep=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:150
#10 0x00007f84d88e2cc8 in QV4::QQmlContextWrapper::getPropertyAndBase (resource=<optimized out>, id=..., receiver=<optimized out>, hasProperty=0x7ffedc0268c7, base=0x0, lookup=0x0) at ../../include/QtQml/5.13.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:398
#11 0x00007f84d88e353c in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter (l=0x55c945757570, engine=0x55c9458ce670, base=0x0) at ../../include/QtQml/5.13.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:398
#12 0x00007f84aee8fac5 in ?? ()
#13 0x0000000000000000 in ?? ()
[Inferior 1 (process 2035) detached]

Report to https://bugs.kde.org/
Comment 1 Nate Graham 2020-11-20 19:52:32 UTC

*** This bug has been marked as a duplicate of bug 426047 ***
Comment 2 Nate Graham 2021-01-14 00:04:05 UTC

*** This bug has been marked as a duplicate of bug 411795 ***
Comment 3 Nate Graham 2021-01-14 04:43:23 UTC
Is this still happening to you on Fedora 33?
Comment 4 Bug Janitor Service 2021-01-29 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 2021-02-13 04:33:12 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!