[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-11-21 Thread jl_kdebugs
https://bugs.kde.org/show_bug.cgi?id=458531

jl_kdeb...@conductive.de  changed:

   What|Removed |Added

 CC||jl_kdeb...@conductive.de

--- Comment #14 from jl_kdeb...@conductive.de  ---
The issue I had might be related. Backtrace attached.
App crashed on startup while loading.
App was complaining about ~/.cache/appstream/ not being writable
It was indeed owned by root. Changing that fixed discover.
The issue surfaced after completing a do-release-upgrade to kubuntu 22.10


lldb-15 plasma-discover
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'lldb.embedded_interpreter'
(lldb) target create "plasma-discover"
warning: (x86_64) /usr/bin/plasma-discover unsupported DW_FORM values: 0x1f20
0x1f21
Current executable set to '/usr/bin/plasma-discover' (x86_64).
(lldb) r
Process 61669 launched: '/usr/bin/plasma-discover' (x86_64)
warning: (x86_64)
/usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so unsupported
DW_FORM values: 0x1f20 0x1f21
warning: (x86_64)
/usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
unsupported DW_FORM values: 0x1f20 0x1f21
adding empty sources model QStandardItemModel(0x5599a560)
warning: (x86_64)
/usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so unsupported
DW_FORM values: 0x1f20 0x1f21
warning: (x86_64) /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/kns-backend.so
unsupported DW_FORM values: 0x1f20 0x1f21
Failed to refresh appstream metadata for  gnome :  "Error updating appstream2:
No such ref 'appstream2/x86_64' in remote gnome; Error updating appstream: No
such ref 'appstream/x86_64' in remote gnome"
Process 61669 stopped and restarted: thread 1 received signal: SIGCHLD
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:286:5:
QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:75:5:
QML Binding: Binding loop detected for property "value"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:286:5:
QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

Could not open the AppStream metadata pool "Cache location
'/home/joel/.cache/appstream/user' is not writable."
No "/home/joel/.local/share/flatpak/appstream/gnome/x86_64/active" appstream
metadata found for "gnome"
no component found for "com.ubuntu.ubuntu"
took really long to fetch PackageKitBackend(0x559de360)
qml: message: Please make sure that Appstream is properly set up on your system
Could not open the AppStream metadata pool "Cache location
'/home/joel/.cache/appstream' is not writable."
Could not open the AppStream metadata pool "Cache location
'/home/joel/.cache/appstream/user' is not writable."
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PlaceholderMessage.qml:239:5:
QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PlaceholderMessage.qml:239:5:
QML Heading: Binding loop detected for property "verticalAlignment"
Could not find source: 0x7fffb8011420 "flathub"
Process 61669 stopped
* thread #1, name = 'plasma-discover', stop reason = signal SIGSEGV: invalid
address (fault address: 0xf)
frame #0: 0x75d4f54f libQt5Core.so.5`QTextStream::operator<<(char)
at qscopedpointer.h:118:16
(lldb) bt
* thread #1, name = 'plasma-discover', stop reason = signal SIGSEGV: invalid
address (fault address: 0xf)
  * frame #0: 0x75d4f54f libQt5Core.so.5`QTextStream::operator<<(char)
at qscopedpointer.h:118:16
frame #1: 0x7fffd81412dd
flatpak-backend.so`FlatpakBackend::findSource(_FlatpakInstallation*, QString
const&) const + 717
frame #2: 0x7fffd8144332
flatpak-backend.so`FlatpakBackend::getAppForInstalledRef(_FlatpakInstallation*,
_FlatpakInstalledRef*, bool*) const + 146
frame #3: 0x7fffd815030f
flatpak-backend.so`QtPrivate::QFunctorSlotObject,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 495
frame #4: 0x75cf36ff libQt5Core.so.5`void
doActivate(QObject*, int, void**) at qobjectdefs_impl.h:398:57
frame #5: 0x75ad6f2d
libQt5Core.so.5`QFutureWatcherBase::event(QEvent*) at qfuturewatcher.cpp:

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #13 from Patrick Silva  ---
$ plasma-discover
adding empty sources model QStandardItemModel(0x56520e32dba0)
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:76:5:
QML Binding: Binding loop detected for property "value"
took really long to fetch KNSBackend(0x56520dd87850, name =
"/usr/share/knsrcfiles/sddmtheme.knsrc")
took really long to fetch KNSBackend(0x56520df76990, name =
"/usr/share/knsrcfiles/ksysguard.knsrc")
took really long to fetch KNSBackend(0x56520df56940, name =
"/usr/share/knsrcfiles/kmymoney-quotes.knsrc")
took really long to fetch KNSBackend(0x56520dea3f10, name =
"/usr/share/knsrcfiles/k3btheme.knsrc")
took really long to fetch KNSBackend(0x56520dec0b50, name =
"/usr/share/knsrcfiles/skrooge-quotes.knsrc")
took really long to fetch KNSBackend(0x56520dec5ca0, name =
"/usr/share/knsrcfiles/kfontinst.knsrc")
took really long to fetch KNSBackend(0x56520dedcdc0, name =
"/usr/share/knsrcfiles/servicemenu.knsrc")
took really long to fetch KNSBackend(0x56520dcdd910, name =
"/usr/share/knsrcfiles/kdenlive_renderprofiles.knsrc")
took really long to fetch KNSBackend(0x56520dcc8500, name =
"/usr/share/knsrcfiles/systemmonitor-presets.knsrc")
took really long to fetch KNSBackend(0x56520dea3770, name =
"/usr/share/knsrcfiles/systemmonitor-faces.knsrc")
took really long to fetch KNSBackend(0x56520dec5e70, name =
"/usr/share/knsrcfiles/ksplash.knsrc")
took really long to fetch KNSBackend(0x56520dcca8d0, name =
"/usr/share/knsrcfiles/konsole.knsrc")
took really long to fetch KNSBackend(0x56520de40470, name =
"/usr/share/knsrcfiles/kdenlive_wipes.knsrc")
took really long to fetch KNSBackend(0x56520dec6670, name =
"/usr/share/knsrcfiles/lookandfeel.knsrc")
took really long to fetch KNSBackend(0x56520def4e60, name =
"/usr/share/knsrcfiles/kdenlive_luts.knsrc")
took really long to fetch KNSBackend(0x56520dd02a10, name =
"/usr/share/knsrcfiles/wallpaperplugin.knsrc")
took really long to fetch KNSBackend(0x56520de1b960, name =
"/usr/share/knsrcfiles/kdenlive_keyboardschemes.knsrc")
took really long to fetch KNSBackend(0x56520dd641e0, name =
"/usr/share/knsrcfiles/xcursor.knsrc")
took really long to fetch KNSBackend(0x56520dd290f0, name =
"/usr/share/knsrcfiles/icons.knsrc")
took really long to fetch KNSBackend(0x56520de508f0, name =
"/usr/share/knsrcfiles/alkimia-quotes.knsrc")
took really long to fetch KNSBackend(0x56520e0cdee0, name =
"/usr/share/knsrcfiles/plasma-themes.knsrc")
took really long to fetch KNSBackend(0x56520dd98810, name =
"/usr/share/knsrcfiles/kwinswitcher.knsrc")
took really long to fetch KNSBackend(0x56520e1fe0f0, name =
"/usr/share/knsrcfiles/comic.knsrc")
took really long to fetch KNSBackend(0x56520e20a230, name =
"/usr/share/knsrcfiles/aurorae.knsrc")
took really long to fetch KNSBackend(0x56520e205f10, name =
"/usr/share/knsrcfiles/wallpaper-mobile.knsrc")
took really long to fetch KNSBackend(0x56520e22b820, name =
"/usr/share/knsrcfiles/krunner.knsrc")
took really long to fetch KNSBackend(0x56520e237e10, name =
"/usr/share/knsrcfiles/wallpaper.knsrc")
took really long to fetch KNSBackend(0x56520e255d40, name =
"/usr/share/knsrcfiles/colorschemes.knsrc")
took really long to fetch KNSBackend(0x56520e25da20, name =
"/usr/share/knsrcfiles/plasmoids.knsrc")
took really long to fetch KNSBackend(0x56520e2362a0, name =
"/usr/share/knsrcfiles/kwineffect.knsrc")
took really long to fetch KNSBackend(0x56520e235730, name =
"/usr/share/knsrcfiles/plasma-systemmonitor.knsrc")
took really long to fetch KNSBackend(0x56520e28e650, name =
"/usr/share/knsrcfiles/window-decorations.knsrc")
took really long to fetch KNSBackend(0x56520e2bcca0, name =
"/usr/share/knsrcfiles/kdenlive_effects.knsrc")
took really long to fetch KNSBackend(0x56520e2b9f60, name =
"/usr/share/knsrcfiles/gtk_themes.knsrc")
took really long to fetch KNSBackend(0x56520e2b90b0, name =
"/usr/share/knsrcfiles/yakuake.knsrc")
took really long to fetch KNSBackend(0x56520e2c5650, name =
"/usr/share/knsrcfiles/kwinscripts.knsrc")
took really long to fetch KNSBackend(0x56520e2efb80, name =
"/usr/share/knsrcfiles/kdenlive_titles.knsrc")
took really long to fetch FlatpakBackend(0x56520e2efc40)

(process:9997): GLib-GObject-WARNING **: 12:10:26.247: cannot register existing
type 'SoupMessage'

(process:9997): GLib-GObject-WARNING **: 12:10:26.247: cannot add private field
to invalid (non-instantiatable) type ''

(process:9997): GLib-CRITICAL **: 12:10:26.247: g_once_init_leave: assertion
'result != 0' failed

(process:9997): GLib-GObject-WARNING **: 12:10:26.247:
../glib/gobject/gsignal.c:1767: parameter 1 of type '' for signal
"SoupSession::request-queued" is not a value type
took really long to fetch PackageKitBackend(0x56520e3039b0)

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-17 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #12 from Aleix Pol  ---
I'll insist, I am not asking for a backtrace, although very much appreciated. I
am asking for the error message on the terminal output.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #11 from Patrick Silva  ---
Noe I'm unable to reproduce because Discover always freezes on opening.


Thread 32 (Thread 0x7fff8246f6c0 (LWP 7927) "Thread (pooled)"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true,
abstime=0x7fff8246eca0, op=137, expected=0, futex_word=0x7fffe0004b20) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7fffe0004b20,
expected=expected@entry=0, clockid=clockid@entry=1,
abstime=abstime@entry=0x7fff8246eca0, private=private@entry=0,
cancel=cancel@entry=true) at futex-internal.c:87
#2  0x7529c51f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x7fffe0004b20, expected=expected@entry=0,
clockid=clockid@entry=1, abstime=abstime@entry=0x7fff8246eca0,
private=private@entry=0) at futex-internal.c:139
#3  0x7529efd4 in __pthread_cond_wait_common (abstime=0x7fff8246eca0,
clockid=1, mutex=0x7fffe0004ad0, cond=0x7fffe0004af8) at
pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x7fffe0004af8, mutex=0x7fffe0004ad0,
abstime=0x7fff8246eca0) at pthread_cond_wait.c:643
#5  0x758eb6d4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer)
(deadline=..., this=0x7fffe0004ad0) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=...,
this=0x7fffe0004ad0) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=,
mutex=0x7fffe0004478, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x758e8537 in QThreadPoolThread::run() (this=0x7fffe0004830) at
thread/qthreadpool.cpp:140
#9  0x758e42ba in QThreadPrivate::start(void*) (arg=0x7fffe0004830) at
thread/qthread_unix.cpp:330
#10 0x7529f8fd in start_thread (arg=) at
pthread_create.c:442
#11 0x75321a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 31 (Thread 0x7fff82c706c0 (LWP 7926) "QNetworkAccessM"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x758e051c in QtLinuxFutex::_q_futex(int*, int, int, unsigned long
long, int*, int) (val3=0, addr2=0x0, val2=0, val=, op=0,
addr=, addr=, op=, val=, val2=, addr2=, val3=) at
thread/qfutex_p.h:116
#2  QtLinuxFutex::futexWait
>(QBasicAtomicInteger&, QBasicAtomicInteger::Type)
(expectedValue=, futex=) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop(QBasicAtomicInteger&, unsigned long long, unsigned long long, int) (timeout=-1,
nn=8589934593, curValue=, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire(QBasicAtomicInteger&,
int, int) (timeout=-1, n=, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=0x7fff82c6e460, n=) at
thread/qsemaphore.cpp:326
#6  0x75abd484 in doActivate(QObject*, int, void**)
(sender=0x5820bd80, signal_index=5, argv=0x7fff82c6e480) at
kernel/qobject.cpp:3900
#7  0x75abd530 in doActivate(QObject*, int, void**)
(sender=0x7fffe0003cf0, signal_index=3, argv=0x7fff82c6e550) at
kernel/qobject.cpp:3931
#8  0x76520d93 in QHttpNetworkReply::encrypted() (this=)
at .moc/moc_qhttpnetworkreply_p.cpp:343
#9  QHttpNetworkConnectionChannel::_q_encrypted() (this=0x7fffe00032d8) at
access/qhttpnetworkconnectionchannel.cpp:1292
#10 QHttpNetworkConnectionChannel::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x7fffe00032d8, _c=,
_id=, _a=) at
.moc/moc_qhttpnetworkconnectionchannel_p.cpp:133
#11 0x75abd530 in doActivate(QObject*, int, void**)
(sender=0x7fffdc013b40, signal_index=16, argv=0x7fff82c6e6d0) at
kernel/qobject.cpp:3931
#12 0x7658ac44 in QSslSocketBackendPrivate::continueHandshake()
(this=0x7fffe0005830) at ssl/qsslsocket_openssl.cpp:1995
#13 0x7658c172 in QSslSocketBackendPrivate::startHandshake()
(this=) at ssl/qsslsocket_openssl.cpp:1440
#14 0x76584286 in QSslSocketBackendPrivate::transmit()
(this=0x7fffe0005830) at ssl/qsslsocket_openssl.cpp:1114
#15 0x75abd530 in doActivate(QObject*, int, void**)
(sender=0x7fffe0004ff0, signal_index=3, argv=0x7fff82c6f9b0) at
kernel/qobject.cpp:3931
#16 0x76551ea0 in QAbstractSocketPrivate::emitReadyRead(int)
(channel=0, this=0x7fffe00067d0) at socket/qabstractsocket.cpp:1323
#17 QAbstractSocketPrivate::canReadNotification() (this=0x7fffe00067d0) at
socket/qabstractsocket.cpp:748
#18 0x7656872a in QAbstractSocketEngine::readNotification()
(this=) at socket/qabstractsocketengine.cpp:160
#19 QReadNotifier::event(QEvent*) (this=, e=) at
socket/qnativesocketengine.cpp:1274
#20 0x76f78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x7fffe00076b0, e=0x7fff82c6fac0) at
kernel/qapplication.cpp:3637
#21 0x75a8cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x7fffe00076b0, event=0x7fff82c6fac0) at
kernel/qcoreapplication.cpp:1064
#22 0x75ad6366 in socketNotifierSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=0

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-16 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #10 from Aleix Pol  ---
Sorry Patrick, wrong instructions.

My patch wasn't meant to fix it but to add some debug information that should
help us nail down where the problem is coming from. Can you run it from the
terminal and see what the messages I added say?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-16 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #9 from Patrick Silva  ---
(In reply to Aleix Pol from comment #8)
> Can anyone who can reproduce this issue apply this patch and tell us what
> output they get?
> https://invent.kde.org/plasma/discover/commit/
> 4a90ca1fa531fb38fa928e0106f4458faa52321e

I have applied your patch on Arch Linux. The crash persists.


Thread 22 (Thread 0x7fc7c7e686c0 (LWP 10012)):
#0  g_main_context_prepare (context=0x7fc7c0001cf0, priority=0x7fc7c7e67bb8) at
../glib/glib/gmain.c:3753
#1  0x7fc7caf6fc96 in g_main_context_iterate.constprop.0
(context=0x7fc7c0001cf0, block=1, dispatch=1, self=) at
../glib/glib/gmain.c:4218
#2  0x7fc7caf180d2 in g_main_context_iteration (context=0x7fc7c0001cf0,
may_block=1) at ../glib/glib/gmain.c:4303
#3  0x7fc7cc6d752f in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x7fc7cb70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7fc7cc68532c in
QEventLoop::exec(QFlags) (this=0x7fc7c7e67d10,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x7fc7cc4e749f in QThread::exec() (this=this@entry=0x7fc7cd74d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x7fc7cd6f1cba in QDBusConnectionManager::run() (this=0x7fc7cd74d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/debug/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x7fc7cc4e42ba in QThreadPrivate::start(void*) (arg=0x7fc7cd74d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:330
#8  0x7fc7cbe9f8fd in start_thread (arg=) at
pthread_create.c:442
#9  0x7fc7cbf21a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 21 (Thread 0x7fc78a8756c0 (LWP 10027)):
#0  0x7fc7cbf140bf in __GI___poll (fds=0x562cfe822350, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7fc7caf6fe2f in g_main_context_poll (priority=,
n_fds=1, fds=0x562cfe822350, timeout=, context=0x562cfe6fbc30)
at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562cfe6fbc30, block=1,
dispatch=1, self=) at ../glib/glib/gmain.c:4233
#3  0x7fc7caf180d2 in g_main_context_iteration (context=0x562cfe6fbc30,
may_block=may_block@entry=1) at ../glib/glib/gmain.c:4303
#4  0x7fc7caf18122 in glib_worker_main (data=) at
../glib/glib/gmain.c:6414
#5  0x7fc7caf46c55 in g_thread_proxy (data=0x562cfe6410c0) at
../glib/glib/gthread.c:831
#6  0x7fc7cbe9f8fd in start_thread (arg=) at
pthread_create.c:442
#7  0x7fc7cbf21a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 20 (Thread 0x7fc788f876c0 (LWP 10529)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true,
abstime=0x7fc788f86ca0, op=137, expected=0, futex_word=0x562cfebf1514) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x562cfebf1514,
expected=expected@entry=0, clockid=clockid@entry=1,
abstime=abstime@entry=0x7fc788f86ca0, private=private@entry=0,
cancel=cancel@entry=true) at futex-internal.c:87
#2  0x7fc7cbe9c51f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x562cfebf1514, expected=expected@entry=0,
clockid=clockid@entry=1, abstime=abstime@entry=0x7fc788f86ca0,
private=private@entry=0) at futex-internal.c:139
#3  0x7fc7cbe9efd4 in __pthread_cond_wait_common (abstime=0x7fc788f86ca0,
clockid=1, mutex=0x562cfebf14c0, cond=0x562cfebf14e8) at
pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x562cfebf14e8, mutex=0x562cfebf14c0,
abstime=0x7fc788f86ca0) at pthread_cond_wait.c:643
#5  0x7fc7cc4eb6d4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer)
(deadline=..., this=0x562cfebf14c0) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=...,
this=0x562cfebf14c0) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=,
mutex=0x562cfebdd408, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x7fc7cc4e8537 in QThreadPoolThread::run() (this=0x562cfebf1820) at
thread/qthreadpool.cpp:140
#9  0x7fc7cc4e42ba in QThreadPrivate::start(void*) (arg=0x562cfebf1820) at
thread/qthread_unix.cpp:330
#10 0x7fc7cbe9f8fd in start_thread (arg=) at
pthread_create.c:442
#11 0x7fc7cbf21a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 19 (Thread 0x7fc758f536c0 (LWP 10170)):
#0  0x7fc7cbf140bf in __GI___poll (fds=0x7fc7bc007160, nfds=2,
timeout=135145) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7fc7caf6fe2f in g_main_context_poll (priority=,
n_fds=2, fds=0x7fc7bc007160, timeout=, context=0x7fc7bc00cd70)
at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x7fc7bc00cd70, block=1,
dispatch=1, self=) at ../glib/glib/gmain.c:4233
#3  0x7fc7caf180d2 in g_main_context_iteration (context=0x7fc7bc00cd70,
may_block=1) at 

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-13 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #8 from Aleix Pol  ---
Can anyone who can reproduce this issue apply this patch and tell us what
output they get?
https://invent.kde.org/plasma/discover/commit/4a90ca1fa531fb38fa928e0106f4458faa52321e

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-10-12 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=458531

Patrick Silva  changed:

   What|Removed |Added

 Resolution|DUPLICATE   |---
 Status|RESOLVED|REOPENED
   Platform|Neon|Archlinux

--- Comment #7 from Patrick Silva  ---
This crash persists on Arch Linux running Plasma 5.26.

Thread 19 (Thread 0x7f82be0e66c0 (LWP 34323)):
#0  0x7f82c43140bf in __GI___poll (fds=fds@entry=0x7f82be0e5d30,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f82c0122c7d in poll (__timeout=-1, __nfds=2, __fds=0x7f82be0e5d30)
at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run() (this=0x55822fea8ba0) at
/usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:208
#3  0x7f82c48e42ba in QThreadPrivate::start(void*) (arg=0x55822fea8ba0) at
thread/qthread_unix.cpp:330
#4  0x7f82c429f8fd in start_thread (arg=) at
pthread_create.c:442
#5  0x7f82c4321a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 18 (Thread 0x7f82c00186c0 (LWP 34321)):
#0  g_main_context_iterate.constprop.0 (context=0x7f82b8001cf0, block=1,
dispatch=1, self=) at ../glib/glib/gmain.c:4205
#1  0x7f82c35180d2 in g_main_context_iteration (context=0x7f82b8001cf0,
may_block=1) at ../glib/glib/gmain.c:4303
#2  0x7f82c4ad752f in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x7f82b8000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x7f82c4a8532c in
QEventLoop::exec(QFlags) (this=0x7f82c0017d10,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#4  0x7f82c48e749f in QThread::exec() (this=this@entry=0x7f82c5b4d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#5  0x7f82c5af1cba in QDBusConnectionManager::run() (this=0x7f82c5b4d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/debug/qtbase/src/dbus/qdbusconnection.cpp:179
#6  0x7f82c48e42ba in QThreadPrivate::start(void*) (arg=0x7f82c5b4d560
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:330
#7  0x7f82c429f8fd in start_thread (arg=) at
pthread_create.c:442
#8  0x7f82c4321a60 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 17 (Thread 0x7f82c056a840 (LWP 34283)):
#0  0x7f82c43140bf in __GI___poll (fds=fds@entry=0x7fff3e7e8ed0,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f82c6988afa in poll (__timeout=1000, __nfds=1, __fds=0x7fff3e7e8ed0)
at /usr/include/bits/poll2.h:39
#2  pollDrKonqiSocket (sockfd=3, pid=40242) at
/usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:865
#3  KCrash::startProcess(int, char const**, bool)
(argv=argv@entry=0x7fff3e7e9018, waitAndExit=waitAndExit@entry=true,
argc=) at /usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:727
#4  0x7f82c69897fc in KCrash::defaultCrashHandler(int) (sig=11) at
/usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:623
#5  0x7f82c4251a00 in  () at /usr/lib/libc.so.6
#6  0x7f8280604773 in
FlatpakBackend::getAppForInstalledRef(_FlatpakInstallation*,
_FlatpakInstalledRef*, bool*) const (this=0x5582309f94a0,
installation=, ref=0x558230c87190, freshResource=0x0) at
/usr/src/debug/discover-5.26.0/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:495
#7  0x7f8280618a0d in operator() (__closure=0x558261801730) at
/usr/src/debug/discover-5.26.0/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1475
#8  QtPrivate::FunctorCall, QtPrivate::List<>, void,
FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::
>::call (arg=, f=...) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor, 0>::call,
void> (arg=, f=...) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject, 0, QtPrivate::List<>,
void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *)
(which=, this_=0x558261801720, r=, a=, ret=) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#11 0x7f82c4ab0520 in QObject::event(QEvent*) (this=0x5582309f94a0,
e=0x5582617feca0) at kernel/qobject.cpp:1347
#12 0x7f82c5d78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x5582309f94a0, e=0x5582617feca0) at
kernel/qapplication.cpp:3637
#13 0x7f82c4a8cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5582309f94a0, event=0x5582617feca0) at
kernel/qcoreapplication.cpp:1064
#14 0x7f82c4a8d693 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55822fe39e10) at
kernel/qcoreapplication.cpp:1821
#15 0x7f82c4ad3728 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55822feaec20) at kernel/qeventdispatcher_glib.cpp:277
#16 0x7f82c351981b in

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-09-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=458531

Nate Graham  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Nate Graham  ---
Same backtrace as Bug 443745; marking as a duplicate since that bug report got
re-opened.

*** This bug has been marked as a duplicate of bug 443745 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-09-03 Thread Ömer Fadıl USTA
https://bugs.kde.org/show_bug.cgi?id=458531

Ömer Fadıl USTA  changed:

   What|Removed |Added

 CC||omeru...@gmail.com

--- Comment #5 from Ömer Fadıl USTA  ---
I am getting a crash too {not in installed packages but when i click
"Application Addons" with this output

#0  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = 
ret = 0
pd = 
old_mask = {__val = {140721964120976}}
ret = 
#1  0x7f3e87ea1543 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#2  0x7f3e87e51998 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
ret = 
#3  0x7f3e8ab58afb in KCrash::defaultCrashHandler(int) (sig=6) at
/home/kde-dev/kde/src/kcrash/src/kcrash.cpp:633
crashRecursionCounter = 2
#4  0x7f3e87e51a40 in  () at /usr/lib/libc.so.6
#5  __pthread_kill_implementation (threadid=,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = 
ret = 0
pd = 
old_mask = {__val = {140721964124368}}
ret = 
#6  0x7f3e87ea1543 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#7  0x7f3e87e51998 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
ret = 
#8  0x7f3e87e3b53d in __GI_abort () at abort.c:79
save_stage = 1

  act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction
= 0x20}, sa_mask = {__val = {140721964124504, 0, 94190431723136,
94190338625972, 139906594856668, 3, 139906594867612, 140721964124744,
139906551515--Type  for more, q to quit, c to continue without paging--c
861, 0, 9685240933288031232, 140721964124744, 140721964124504, 3,
140721964124744, 94190338653264}}, sa_flags = -2008179735, sa_restorer =
0x7ffc62af0950}
#9  0x7f3e8849fede in qt_message_fatal (message=...,
context=) at global/qlogging.cpp:1914
message = {d = }
ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =
0x7ffc62af0a40, reg_save_area = 0x7ffc62af0980}}
#10 QMessageLogger::fatal(char const*, ...) const
(this=this@entry=0x7ffc62af0a48, msg=msg@entry=0x7f3e88776348 "ASSERT: \"%s\"
in file %s, line %d") at global/qlogging.cpp:893
message = {d = }
ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =
0x7ffc62af0a40, reg_save_area = 0x7ffc62af0980}}
#11 0x7f3e8849ff3c in qt_assert(char const*, char const*, int)
(assertion=, file=, line=) at
global/qglobal.cpp:3358
#12 0x7f3e69b4dace in KNSBackend::setResponsePending(bool)
(this=0x55aa663679f0, pending=false) at
/home/kde-dev/kde/src/discover/libdiscover/backends/KNSBackend/KNSBackend.cpp:238
#13 0x7f3e69b4e3bd in
KNSBackend::receivedEntries(QList const&)
(this=0x55aa663679f0, entries=...) at
/home/kde-dev/kde/src/discover/libdiscover/backends/KNSBackend/KNSBackend.cpp:381
filtered = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value =
std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d =
0x55aa6b277720}, d = 0x55aa6b277720}}
resources = {d = 0x55aa6b272880}
#14 0x7f3e69b5dfff in QtPrivate::FunctorCall,
QtPrivate::List const&>, void, void
(KNSBackend::*)(QList const&)>::call(void
(KNSBackend::*)(QList const&), KNSBackend*, void**)
(f=(void (KNSBackend::*)(class KNSBackend * const, const class
QList &)) 0x7f3e69b4e32a
 const&)>,
o=0x55aa663679f0, arg=0x55aa6b395ec8) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x7f3e69b5ced7 in QtPrivate::FunctionPointer
const&)>::call const&>,
void>(void (KNSBackend::*)(QList const&), KNSBackend*,
void**) (f=(void (KNSBackend::*)(class KNSBackend * const, const class
QList &)) 0x7f3e69b4e32a
 const&)>,
o=0x55aa663679f0, arg=0x55aa6b395ec8) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x7f3e69b5b355 in QtPrivate::QSlotObject const&),
QtPrivate::List const&>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x55aa66356fe0, r=0x55aa663679f0, a=0x55aa6b395ec8, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x7f3e886b12f0 in QObject::event(QEvent*) (this=0x55aa663679f0,
e=0x55aa6b395e80) at kernel/qobject.cpp:1314
mce = 0x55aa6b395e80
sender = {previous = 0x0, receiver = 0x55aa663679f0, sender =
0x55aa663531a0, signal = 10}
#18 0x7f3e89b78b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x55aa663679f0, e=0x55aa6b395e80) at
kernel/qapplication.cpp:3637
consumed = false
filtered = false
#19 0x7f3e8868d978 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55aa663679f0, event=0x55aa6b395e80) at
kernel/qcoreapplication.cpp:1064
selfRequired = true
result = false
cbdata = {0x55aa663679f0, 0x55aa6b395e80, 0x7ffc62af0c7f}
d = 
threadData = 0x55aa65ac

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-09-03 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #4 from Patrick Silva  ---
(In reply to Aleix Pol from comment #2)
> Maybe makes sense, maybe not. Can you reproduce, Nate? Can you reproduce
> every time, Patrick?

yes, I can.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-09-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #3 from Nate Graham  ---
I cannot reproduce it by going to the Installed page like the original bug had.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-09-02 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=458531

--- Comment #2 from Aleix Pol  ---
Maybe makes sense, maybe not. Can you reproduce, Nate? Can you reproduce every
time, Patrick?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 458531] Discover crashed in FlatpakBackend::findSource() after click on 'Installed'

2022-08-31 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=458531

Nate Graham  changed:

   What|Removed |Added

  Component|discover|Flatpak Backend
 Status|REPORTED|CONFIRMED
 CC||jgrul...@redhat.com,
   ||n...@kde.org,
   ||trav...@redhat.com
Summary|Discover crashed after  |Discover crashed in
   |click on 'Installed'|FlatpakBackend::findSource(
   ||) after click on
   ||'Installed'
 Ever confirmed|0   |1

--- Comment #1 from Nate Graham  ---
It's crashing in FlatpakBackend::findSource(), which make sense since this is a
local package without a source.

-- 
You are receiving this mail because:
You are watching all bug changes.