Bug 458259 - Discover crashes every time when close window after updates finished
Summary: Discover crashes every time when close window after updates finished
Status: RESOLVED DUPLICATE of bug 457278
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-24 15:20 UTC by Piotr Mierzwinski
Modified: 2022-08-26 21:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2022-08-24 15:20:02 UTC
Application: plasma-discover (5.25.80)

Qt Version: 5.15.5
Frameworks Version: 5.98.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon Unstable Edition
DrKonqi: 5.25.80 [CoredumpBackend]

-- Information about the crash:
I invoke Discover from notification -> click "view updates".
I click "Update All"
After updates finished (usually with success), I close window (clicking "X" in top right corner).
Disvoer crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[New LWP 12603]
[New LWP 12604]
[New LWP 12613]
[New LWP 12638]
[New LWP 12641]
[New LWP 12607]
[New LWP 13145]
[New LWP 12614]
[New LWP 12605]
[New LWP 12616]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover --mode update'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7fa5c5199b80 (LWP 12603))]
python sentry-sdk not installed :(

[Current thread is 1 (Thread 0x7fa5c5199b80 (LWP 12603))]

Thread 10 (Thread 0x7fa58f7fe700 (LWP 12616)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x55c36c1ddc50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5a421899d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fa5c87aead1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fa5c2dc5700 (LWP 12605)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa5b4013af0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5ca18a5a2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa5b4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fa5ca12e76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa5c2dc49f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fa5c9f48372 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa5caf7af4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa5c9f49553 in QThreadPrivate::start(void*) (arg=0x7fa5caffed80) at thread/qthread_unix.cpp:331
#8  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa58ffff700 (LWP 12614)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa5880063b0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87856f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5c855bf8a in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa5c87aead1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa5657fa700 (LWP 13145)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa548001950, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5ca18a5a2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa548000b90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fa5ca12e76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa5657f9a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fa5c9f48372 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa5c9f49553 in QThreadPrivate::start(void*) (arg=0x55c36c641d30) at thread/qthread_unix.cpp:331
#7  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa5aca15700 (LWP 12607)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c36b7e0b78) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c36b7e0b28, cond=0x55c36b7e0b50) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c36b7e0b50, mutex=0x55c36b7e0b28) at pthread_cond_wait.c:647
#3  0x00007fa5b263a5eb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fa5b263a1eb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa5677fe700 (LWP 12641)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa558001910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5ca18a5bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa558000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa5ca12e76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa5677fda20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fa5c9f48372 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa5c9f49553 in QThreadPrivate::start(void*) (arg=0x55c36d4cc1d0) at thread/qthread_unix.cpp:331
#7  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa567fff700 (LWP 12638)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa5600018f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5ca18a5a2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa560000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fa5ca12e76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa567ffea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fa5c9f48372 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa5c9f49553 in QThreadPrivate::start(void*) (arg=0x55c36c1ecb10) at thread/qthread_unix.cpp:331
#7  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa5a4a20700 (LWP 12613)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x55c36c1cf690, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c878536e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5c87854a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5c87854f1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa5c87aead1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa5c42f2700 (LWP 12604)):
#0  0x00007fa5c9bb799f in __GI___poll (fds=0x7fa5c42f1928, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa5c91dcc1a in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa5c91de90a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa5c4af03e8 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa5c9f49553 in QThreadPrivate::start(void*) (arg=0x55c36b6cd330) at thread/qthread_unix.cpp:331
#5  0x00007fa5c9184609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa5c9bc4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa5c5199b80 (LWP 12603)):
[KCrash Handler]
#3  0x00007fa5cbd62f65 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&) (ptr=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1143
#4  QQuickWindow::d_func() const (this=0xe1) at items/qquickwindow.h:79
#5  QQuickWindow::mouseGrabberItem() const (this=0xe1) at items/qquickwindow.cpp:1732
#6  0x00007fa5cbd65b8e in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) (this=this@entry=0x55c36c1b37f0, grabber=0x55c36e45cd10, mouse=mouse@entry=true, touch=touch@entry=true) at items/qquickwindow.cpp:1001
#7  0x00007fa5cbd4c383 in QQuickItemPrivate::derefWindow() (this=0x55c36e45cdd0) at items/qquickitem.cpp:3033
#8  0x00007fa5cbd4cc2c in QQuickItem::setParentItem(QQuickItem*) (this=0x55c36e45cd10, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2717
#9  0x00007fa5cbd4d87c in QQuickItem::~QQuickItem() (this=0x55c36e45c430, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:570
#10 0x00007fa5cbecaba9 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x55c36e45c430, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#11 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x55c36e45c430, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#12 0x00007fa5ca15a26e in QObjectPrivate::deleteChildren() (this=0x55c36e427230) at kernel/qobject.cpp:2104
#13 0x00007fa5ca164d06 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#14 0x00007fa5cbd4d97a in QQuickItem::~QQuickItem() (this=0x55c36e427170, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#15 0x00007fa5cbecaba9 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x55c36e427170, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#16 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x55c36e427170, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#17 0x00007fa5ca15a26e in QObjectPrivate::deleteChildren() (this=0x55c36bad8710) at kernel/qobject.cpp:2104
#18 0x00007fa5ca164d06 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#19 0x00007fa5cbd4d97a in QQuickItem::~QQuickItem() (this=0x55c36bff6590, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#20 0x00007fa5cbecdec9 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x55c36bff6590, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#21 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x55c36bff6590, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#22 0x00007fa5ca15a26e in QObjectPrivate::deleteChildren() (this=0x55c36bb91750) at kernel/qobject.cpp:2104
#23 0x00007fa5ca164d06 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#24 0x00007fa5cbd4d97a in QQuickItem::~QQuickItem() (this=0x55c36bff0c60, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#25 0x00007fa5c05873b9 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x55c36bff0c60, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:142
#26 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x55c36bff0c60, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#27 0x00007fa5cac5d707 in QV4::QObjectWrapper::destroyObject(bool) (this=<optimized out>, lastCall=lastCall@entry=true) at /usr/include/c++/9/bits/atomic_base.h:413
#28 0x00007fa5cab57559 in QV4::MemoryManager::sweep(bool, void (*)(char const*)) (this=this@entry=0x55c36b6c5f40, lastSweep=lastSweep@entry=true, classCountPtr=classCountPtr@entry=0x0) at memory/qv4mm.cpp:932
#29 0x00007fa5cab575d9 in QV4::MemoryManager::~MemoryManager() (this=0x55c36b6c5f40, __in_chrg=<optimized out>) at memory/qv4mm.cpp:1184
#30 0x00007fa5cabd8a6c in QV4::ExecutionEngine::~ExecutionEngine() (this=0x55c36b80fc30, __in_chrg=<optimized out>) at jsruntime/qv4engine.cpp:818
#31 0x00007fa5cabc3432 in QJSEngine::~QJSEngine() (this=0x55c36b7e09a0, __in_chrg=<optimized out>) at jsapi/qjsengine.cpp:370
#32 0x00007fa5cad3ef54 in QQmlEngine::~QQmlEngine() (this=0x55c36b7e09a0, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#33 0x00007fa5cadc5e4d in QQmlApplicationEngine::~QQmlApplicationEngine() (this=0x55c36b7e09a0, __in_chrg=<optimized out>) at qml/qqmlapplicationengine.cpp:267
#34 0x000055c36b3d3095 in DiscoverObject::~DiscoverObject() (this=0x55c36b7e3cc0, __in_chrg=<optimized out>) at ./discover/DiscoverObject.cpp:194
#35 0x000055c36b3d30bd in DiscoverObject::~DiscoverObject() (this=0x55c36b7e3cc0, __in_chrg=<optimized out>) at ./discover/DiscoverObject.cpp:192
#36 0x00007fa5ca15d5e3 in QObject::event(QEvent*) (this=0x55c36b7e3cc0, e=0x55c36bac9cb0) at kernel/qobject.cpp:1301
#37 0x00007fa5cb33ee83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55c36b6c9ac0, receiver=receiver@entry=0x55c36b7e3cc0, e=e@entry=0x55c36bac9cb0) at kernel/qapplication.cpp:3637
#38 0x00007fa5cb347c98 in QApplication::notify(QObject*, QEvent*) (this=0x7ffebe97ed90, receiver=0x55c36b7e3cc0, e=0x55c36bac9cb0) at kernel/qapplication.cpp:3161
#39 0x00007fa5ca12fc6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c36b7e3cc0, event=0x55c36bac9cb0) at ../../include/QtCore/5.15.5/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#40 0x00007fa5ca132571 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=52, data=0x55c36b6c4600) at kernel/qcoreapplication.cpp:1821
#41 0x00007fa5ca13692c in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:86
#42 0x000055c36b3c8825 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:211

Reported using DrKonqi
Comment 1 Piotr Mierzwinski 2022-08-24 15:21:58 UTC
Bug seems to similar to  Bug 457278, which is marked as resolved. Unfortunately I experience it in Neon unstable (every day updated).
Comment 2 Patrick Silva 2022-08-24 22:21:48 UTC
Discover was outdated on neon unstable since 9th august, but it has been updated a few hours ago on my system. Your crash is probably fixed now.
Comment 3 Nate Graham 2022-08-25 10:50:12 UTC
Yep.

*** This bug has been marked as a duplicate of bug 457278 ***
Comment 4 Piotr Mierzwinski 2022-08-26 21:12:44 UTC
(In reply to Patrick Silva from comment #2)
> Discover was outdated on neon unstable since 9th august, but it has been
> updated a few hours ago on my system. Your crash is probably fixed now.

Today updated Neon, closed window and Discover didn't crash.