Bug 469554

Summary: Discover crashed when searching for updates
Product: [Applications] Discover Reporter: Gabriel <gabriel>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: crash CC: aleixpol, madLyfe, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gabriel 2023-05-09 22:34:19 UTC
Application: plasma-discover (5.27.4)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 5.19.0-41-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
I clicked on the update notifier, which opened Discover normally. However, before it finished searching for updates it crashed. Since it's got a backtrace I thought it might be helpful to report, despite the lack of information. I don't know what could have caused it.

I restarted Discover afterwards and could see that there was one Flatpak update (OBS) as well as repository packages, two of which were from 3rd party repos (Brave & 1Password). Not sure if this is related. Feel free to ask if you need more details!

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140542836995648) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140542836995648) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140542836995648, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007fd2da842476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fd2da8287f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007fd2da8896f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fd2da9dbb8c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#10 0x00007fd2da8a0d7c in malloc_printerr (str=str@entry=0x7fd2da9def40 "tcache_thread_shutdown(): unaligned tcache chunk detected") at ./malloc/malloc.c:5664
#11 0x00007fd2da8a5744 in tcache_thread_shutdown () at ./malloc/malloc.c:3224
#12 __malloc_arena_thread_freeres () at ./malloc/arena.c:1003
#13 0x00007fd2da8a824a in __libc_thread_freeres () at ./malloc/thread-freeres.c:44
#14 0x00007fd2da8949cf in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:456
#15 0x00007fd2da926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fd2bd5be640 (LWP 41978) "Qt bearer threa"):
#1  0x00007fd2d9c1c666 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd2d9bc53e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd2db315c5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd2b0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd2db2baaab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd2bd5bd980, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fd2db0cd4c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd2db0ce733 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start(void*) (arg=0x555bed3765d0) at thread/qthread_unix.cpp:310
#9  0x00007fd2da894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fd2da926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fd2be7ff640 (LWP 41977) "QQmlThread"):
#1  0x00007fd2db315af2 in QMutexLocker::QMutexLocker(QBasicMutex*) (m=0x555bed2c3100, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:257
#2  QThreadData::canWaitLocked() (this=0x555bed2c30d0) at ../../include/QtCore/5.15.9/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:279
#3  postEventSourcePrepare(GSource*, gint*) (s=0x7fd2b80047c0, timeout=0x7fd2be7fe794) at kernel/qeventdispatcher_glib.cpp:260
#4  0x00007fd2d9bc78e7 in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd2d9c1c593 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fd2d9bc53e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd2db315c5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd2b8000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007fd2db2baaab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd2be7fe960, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#9  0x00007fd2db0cd4c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007fd2dc132d99 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007fd2db0ce733 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#13 QThreadPrivate::start(void*) (arg=0x555bed2971f0) at thread/qthread_unix.cpp:310
#14 0x00007fd2da894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fd2da926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fd2d5a05640 (LWP 41974) "QDBusConnection"):
#1  0x00007fd2d9c1c666 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd2d9bc53e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd2db315c5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd2d0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd2db2baaab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd2d5a04950, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fd2db0cd4c2 in QThread::exec() (this=this@entry=0x7fd2dc393d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd2dc31af1b in QDBusConnectionManager::run() (this=0x7fd2dc393d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#7  0x00007fd2db0ce733 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start(void*) (arg=0x7fd2dc393d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#10 0x00007fd2da894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fd2da926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fd2d6a47b80 (LWP 41973) "plasma-discover"):
#1  0x00007fd2db0d085e in QtLinuxFutex::_q_futex(int*, int, int, unsigned long long, int*, int) (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:114
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> >(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned int>::Type) (expectedValue=<optimized out>, futex=<optimized out>) at thread/qfutex_p.h:133
#3  futexSemaphoreTryAcquire_loop<false>(QBasicAtomicInteger<unsigned long long>&, unsigned long long, unsigned long long, int) (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false>(QBasicAtomicInteger<unsigned long long>&, int, int) (timeout=-1, n=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=this@entry=0x7ffe21b1b4a0, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007fd2db2f4143 in doActivate<false>(QObject*, int, void**) (sender=0x555bed736880, signal_index=0, argv=0x7ffe21b1b520) at kernel/qobject.cpp:3904
#7  0x00007fd2db2ed287 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x555bed736880, m=m@entry=0x7fd2db554180 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe21b1b520) at kernel/qobject.cpp:3983
#8  0x00007fd2db2ed343 in QObject::destroyed(QObject*) (this=this@entry=0x555bed736880, _t1=<optimized out>, _t1@entry=0x555bed736880) at .moc/moc_qobject.cpp:219
#9  0x00007fd2db2f24f7 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1010
#10 0x00007fd2cc16f2b7 in  () at /lib/x86_64-linux-gnu/libKF5Kirigami2.so.5
#11 0x00007fd2db2e722e in QObjectPrivate::deleteChildren() (this=0x555bed7367f0) at kernel/qobject.cpp:2137
#12 0x00007fd2db2f22b6 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1115
#13 0x00007fd2cc17151d in  () at /lib/x86_64-linux-gnu/libKF5Kirigami2.so.5
#14 0x00007fd2da845495 in __run_exit_handlers (status=1, listp=0x7fd2daa19838 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113
#15 0x00007fd2da845610 in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:143
#16 0x00007fd2d5ac3d8d in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555becd19470, flags=...) at ./src/plugins/platforms/xcb/qxcbconnection.cpp:1047
#17 0x00007fd2d5af3de7 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#18 0x00007fd2d9bc7d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fd2d9c1c6c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fd2d9bc53e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd2db315c5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555becdd6380, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#22 0x00007fd2db2baaab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe21b1b980, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007fd2db2c3044 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x0000555bec1afc63 in  ()
#25 0x00007fd2da829d90 in __libc_start_call_main (main=main@entry=0x555bec1af340, argc=argc@entry=3, argv=argv@entry=0x7ffe21b1bc68) at ../sysdeps/nptl/libc_start_call_main.h:58
#26 0x00007fd2da829e40 in __libc_start_main_impl (main=0x555bec1af340, argc=3, argv=0x7ffe21b1bc68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe21b1bc58) at ../csu/libc-start.c:392
#27 0x0000555bec1b06a5 in  ()
[Inferior 1 (process 41973) detached]

Reported using DrKonqi