Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-03-11 Thread Aurélien COUDERC
control: reassign -1 libpackagekitqt5-1 1.1.0-1

Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-02-27 Thread Jonas Arndt

This seems to fix it for me.

https://github.com/PackageKit/PackageKit-Qt/pull/45

Thanks,

// Jonas



Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-01-23 Thread Bernhard Übelacker

Am 22.01.23 um 14:19 schrieb Gregor Riepl:
FYI: My kded core dumps also contained something about a closed DBus 
connection in a different thread's stack trace. Perhaps this is related?


I am not able to exclude it to be related, maybe it is the start of the 
row of events. When debugging through it I got the impression that this 
Transaction object with RoleUnknown gets "marked for deletion" kind of 
unconditionally. But I am not much experienced with this source code.


Kind regards,
Bernhard



Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-01-22 Thread Gregor Riepl

Hello,
this seems similar to the backtrace in bug #1026062.
At least the "transactionListChanged" and the two lines above.


It looks similar and may have the same root cause.

I'd prefer to keep the bugs separate for now, though.
It could be a different bug.

FYI: My kded core dumps also contained something about a closed DBus 
connection in a different thread's stack trace. Perhaps this is related?




Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-01-21 Thread Bernhard Übelacker



On Fri, 06 Jan 2023 16:50:02 +0100 Gregor Riepl  wrote:
...

#14 0x7f9c8c26f6ed in QObject::connect<...> (...) at 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:268
#15 TransactionJob::TransactionJob (...) at ./apperd/TransactionJob.cpp:47
#16 0x7f9c8c271648 in TransactionWatcher::transactionChanged (...) at 
./apperd/TransactionWatcher.cpp:211
#17 0x7f9c8c271ade in TransactionWatcher::watchTransaction (...) at 
./apperd/TransactionWatcher.cpp:106
#18 0x7f9c8c271b99 in TransactionWatcher::transactionListChanged (...) at 
./apperd/TransactionWatcher.cpp:85

...


Hello,
this seems similar to the backtrace in bug #1026062.
At least the "transactionListChanged" and the two lines above.

Kind regards,
Bernhard


https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026062



Bug#1028083: plasma-discover: Discover tray app crashes kded5, causing other system tray icons to vanish

2023-01-06 Thread Gregor Riepl
Package: plasma-discover
Version: 5.26.4-1+b1
Severity: normal
X-Debbugs-Cc: onit...@gmail.com

Dear Maintainer,

On systems running the KDE Plasma desktop together with plasma-discover, some
system tray icons regularly vanish. This mostly happens right after desktop
startup, but can also occur at any later point.

Uninstalling plasma-discover and its dependencies causes the problem to
disappear completely.

After analyzing the systemd user session (systemctl --user --failed) and the
crashed plasma-kded service, I looked at the coredump (coredumpctl gdb).
The service's journal (journalctl --user -xu plasma-kded.service) did not
provide any insights.

An example backtrace of kded5 is attached below. The trace suggests that the
actual problem may be with libpackagekitqt5, but I cannot say for sure.

(gdb) thread 6
[Switching to thread 6 (Thread 0x7f9cbb230cc0 (LWP 5626))]
warning: Section `.reg-xstate/5626' in core file too small.
#0  0x7f9cbc71b0af in __GI___poll (fds=fds@entry=0x7ffd3cad4118,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
29  ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0  0x7f9cbc71b0af in __GI___poll (fds=fds@entry=0x7ffd3cad4118,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f9cbdf0b160 in poll (__timeout=1000, __nfds=1, __fds=0x7ffd3cad4118)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  pollDrKonqiSocket (sockfd=3, pid=19571) at ./src/kcrash.cpp:865
#3  KCrash::startProcess (argc=argc@entry=16, argv=argv@entry=0x7ffd3cad4238,
waitAndExit=waitAndExit@entry=true) at ./src/kcrash.cpp:727
#4  0x7f9cbdf0bb67 in KCrash::defaultCrashHandler (sig=11) at
./src/kcrash.cpp:623
#5  
#6  std::__atomic_base::load
(__m=std::memory_order_relaxed, this=0x330035002e0038) at
/usr/include/c++/12/bits/atomic_base.h:818
#7  std::atomic::load
(__m=std::memory_order_relaxed, this=0x330035002e0038) at
/usr/include/c++/12/atomic:579
#8
QAtomicOps::loadRelaxed
(_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer::loadRelaxed
(this=0x330035002e0038) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::ConnectionData::resizeSignalVector (size=11,
this=0x330035002e0030) at kernel/qobject_p.h:303
#11 QObjectPrivate::addConnection (this=,
signal=signal@entry=10, c=c@entry=0x5600995c33a0) at kernel/qobject.cpp:327
#12 0x7f9cbcade63e in QObjectPrivate::connectImpl (sender=0x5600996bb250,
signal_index=10, receiver=, slot=,
slotObj=0x56009947fda0,
type=, types=, senderMetaObject=) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:132
#13 0x7f9cbcadeaa5 in QObject::connectImpl
(sender=sender@entry=0x5600996bb250, signal=signal@entry=0x7ffd3cad55b0,
receiver=receiver@entry=0x56009937fc50,
slot=slot@entry=0x7ffd3cad55c0, slotObj=0x56009947fda0,
type=Qt::AutoConnection, types=0x0, senderMetaObject=) at
kernel/qobject.cpp:5034
#14 0x7f9c8c26f6ed in QObject::connect (type=Qt::AutoConnection,
slot=(void (TransactionJob::*)(TransactionJob * const)) 0x7f9c8c26fcc0
, receiver=0x56009937fc50,
signal=(void (PackageKit::Transaction::*)(PackageKit::Transaction * const))
0x7f9c8c1bdb10 , sender=0x5600996bb250)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:268
#15 TransactionJob::TransactionJob (this=0x56009937fc50,
transaction=0x5600996bb250, parent=) at
./apperd/TransactionJob.cpp:47
#16 0x7f9c8c271648 in TransactionWatcher::transactionChanged
(this=this@entry=0x7f9c94026f90, transaction=0x5600996bb250, interactive=80) at
./apperd/TransactionWatcher.cpp:211
#17 0x7f9c8c271ade in TransactionWatcher::watchTransaction
(this=this@entry=0x7f9c94026f90, tid=..., interactive=interactive@entry=false)
at ./apperd/TransactionWatcher.cpp:106
#18 0x7f9c8c271b99 in TransactionWatcher::transactionListChanged
(this=0x7f9c94026f90, tids=...) at ./apperd/TransactionWatcher.cpp:85
#19 0x7f9cbcae8caf in QtPrivate::QSlotObjectBase::call (a=0x7ffd3cad57b0,
r=0x7f9c94026f90, this=0x560099587360)
at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate (sender=0x5600993e8140, signal_index=8,
argv=0x7ffd3cad57b0) at kernel/qobject.cpp:3919
#21 0x7f9cbcae1f4f in QMetaObject::activate (sender=,
m=m@entry=0x7f9c8c1e97c0 ,
local_signal_index=local_signal_index@entry=5,
argv=argv@entry=0x7ffd3cad57b0) at kernel/qobject.cpp:3979
#22 0x7f9c8c1b3095 in PackageKit::Daemon::transactionListChanged
(this=, _t1=...) at ./obj-x86_64-linux-
gnu/src/packagekitqt5_autogen/include/moc_daemon.cpp:419
#23 0x7f9cbcae8cdc in doActivate (sender=0x560099294690,
signal_index=5, argv=0x7ffd3cad58d0) at kernel/qobject.cpp:3931
#24 0x7f9cbcae1f4f in QMetaObject::activate
(sender=sender@entry=0x560099294690, m=m@entry=0x7f9c8c1e9b00
,
local_signal_index=local_signal_index@entry=2,
argv=argv@entry=0x7ffd3cad58d0) at