Bug 421543 - Plasma Crash when double-discarding Weather-Report settings
Summary: Plasma Crash when double-discarding Weather-Report settings
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.18.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-15 02:41 UTC by Mark Blum
Modified: 2021-03-25 04:34 UTC (History)
1 user (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 Mark Blum 2020-05-15 02:41:34 UTC
SUMMARY
If you discard a setting twice in the Weather Report applet settings, Plasma Desktop crashes consistently.

STEPS TO REPRODUCE
0. Add Weather Report applet to your panel if you don't already have it
1. Right click the applet and select "Configure Weather Report..."
2. Go to "Appearance" and Unselect "Show in Tooltip: Temperature"
3. Without hitting apply, click on the "Units" tab and when it asks if you want to apply your settings, click "Discard"
4. Repeat steps 2 and 3. This time when you click "discard" the desktop will crash

OBSERVED RESULT
Plasma Desktop crashes, but then recovers with a "crash reporter" icon in the toolbar

EXPECTED RESULT
The desktop doesn't crash, the settings are discarded, and you see the "Unit"s tab of the settings window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux repository KDE packages
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=419709 and https://bugs.kde.org/show_bug.cgi?id=417232, though it seems there was trouble reproducing those bugs from the information given
Comment 1 Mark Blum 2020-05-15 02:54:41 UTC
BACKTRACE

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcc6bbea840 (LWP 7689))]

Thread 13 (Thread 0x7fcc17fff700 (LWP 8368)):
#0  0x00007fcc6f538e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcc700ecac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fcc700ecba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc71e4d5cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fcc71e4d85b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fcc257ec700 (LWP 8366)):
#0  0x00007fcc6e79f4e4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fcc6e7efd72 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc6e7f03c6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fcc71ae8389 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fcc261ed700 (LWP 8365)):
#0  0x00007fcc6f538e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcc700ecac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fcc700ecba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc71e4d5cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fcc71e4d85b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fcc269ee700 (LWP 8363)):
#0  0x00007fcc6f539158 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcc700eca48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fcc700ecb69 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc700ea1dd in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fcc3ffff700 (LWP 8098)):
#0  0x00007fcc6f538e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcc700ecac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fcc700ecba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc71e4d5cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fcc71e4d85b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fcc4c95a700 (LWP 8072)):
#0  0x00007fcc6e7edf3d in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007fcc6e7ee9f6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc6e7efcbb in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcc6e7f03c6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fcc4ce9f16b in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#9  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fcc4df59700 (LWP 7932)):
#0  0x00007fcc6fd6dfef in poll () at /usr/lib/libc.so.6
#1  0x00007fcc6e7f04a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fcc55dcf700 (LWP 7827)):
#0  0x00007fcc6f538e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcc700ecac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fcc700ecba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc71e4d5cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fcc71e4d85b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fcc5848f700 (LWP 7794)):
#0  0x00007fcc6e7f0374 in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc71d87efb in  () at /usr/lib/libQt5Quick.so.5
#6  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fcc697bc700 (LWP 7736)):
#0  0x00007fcc6fd6dfef in poll () at /usr/lib/libc.so.6
#1  0x00007fcc6e7f04a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc71ae8389 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fcc6aa06700 (LWP 7724)):
#0  0x00007fcc6e7e6fa9 in g_source_ref () at /usr/lib/libglib-2.0.so.0
#1  0x00007fcc6e7ee9d9 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcc6e7eeaff in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcc6e7f0448 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fcc6e7f0571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fcc7031a8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fcc702c105c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fcc700e5c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fcc713c0b28 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fcc6b613700 (LWP 7702)):
#0  0x00007fcc6fd6dfef in poll () at /usr/lib/libc.so.6
#1  0x00007fcc7227063b in  () at /usr/lib/libxcb.so.1
#2  0x00007fcc7227237b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fcc6b78ae01 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fcc700e6dd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fcc6f532422 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fcc6fd78b83 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fcc6bbea840 (LWP 7689)):
[KCrash Handler]
#4  0x00007fcc7185228e in QV4::Compiler::Codegen::visit(QQmlJS::AST::UiProgram*) () at /usr/lib/libQt5Qml.so.5
#5  0x00007fcc71ab3dd8 in QV4::QQmlTypeWrapper::lookupSingletonProperty(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) () at /usr/lib/libQt5Qml.so.5
#6  0x00007fcc7197927a in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fcc7197f19f in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fcc7190eb3e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/libQt5Qml.so.5
#9  0x00007fcc71a9eb78 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/libQt5Qml.so.5
#10 0x00007fcc71a44faf in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/libQt5Qml.so.5
#11 0x00007fcc71a46069 in  () at /usr/lib/libQt5Qml.so.5
#12 0x00007fcc71a7ffdd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#13 0x00007fcc71a2780e in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib/libQt5Qml.so.5
#14 0x00007fcc702f7855 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007fcc71ab7ad4 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#16 0x00007fcc71a4001b in  () at /usr/lib/libQt5Qml.so.5
#17 0x00007fcc71a40563 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
#18 0x00007fcc71a3cf92 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib/libQt5Qml.so.5
#19 0x00007fcc6abc39ab in  () at /usr/lib/libQt5QuickTemplates2.so.5
#20 0x00007fcc6abc7158 in QQuickStackView::replace(QQmlV4Function*) () at /usr/lib/libQt5QuickTemplates2.so.5
#21 0x00007fcc6abf09e3 in  () at /usr/lib/libQt5QuickTemplates2.so.5
#22 0x00007fcc6abf0ed3 in QQuickStackView::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5QuickTemplates2.so.5
#23 0x00007fcc71a22972 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/libQt5Qml.so.5
#24 0x00007fcc71a22934 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/libQt5Qml.so.5
#25 0x00007fcc71a8057e in  () at /usr/lib/libQt5Qml.so.5
#26 0x00007fcc7195ec37 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#27 0x00007fcc7198f313 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at /usr/lib/libQt5Qml.so.5
#28 0x00007fcc2435e903 in  ()
#29 0x0000000000000000 in  ()
[Inferior 1 (process 7689) detached]
Comment 2 Nate Graham 2021-02-23 21:57:12 UTC
I cannot reproduce the issue with those steps, and the crash seems to be fairly deep in the guts of Qt so unfortunately there's not much I think we can do. I'm suspecting it's a Qt issue. You were using 5.14.2, and the latest version is 5.15.2 at this point. Any chance you could test again and see if it still happens with a newer version of Qt and also Plasma 5.21? Thanks!
Comment 3 Bug Janitor Service 2021-03-10 04:33:39 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 4 Bug Janitor Service 2021-03-25 04:34:06 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!