https://bugs.kde.org/show_bug.cgi?id=402848
Matt Fagnani <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|discover |Flatpak Backend --- Comment #5 from Matt Fagnani <[email protected]> --- I ran gdb plasma-discover. The segmentation fault was shown as Thread 79 "QNetworkAccessM" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x9c9ffb40 (LWP 2647)] 0xb5c9c23b in QHttpNetworkConnectionChannel::sendRequest (this=0x9ce0b114) at access/qhttpnetworkconnectionchannel.cpp:251 251 return protocolHandler->sendRequest(); protocolHandler and its component object had null pointers as follows. (gdb) p protocolHandler $1 = {d = 0x0} (gdb) p protocolHandler.d $2 = (QAbstractProtocolHandler *) 0x0 protocolHandler->sendRequest() seemed to be a null pointer dereference resulting in the segmentation fault at qhttpnetworkconnectionchannel.cpp:251 I saw two other segmentation faults in gdb which occurred after the one above involving gpgme, flatpak, and ostree on two different runs. Thread 13 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa2969b40 (LWP 3076)] 0xa336255f in _gpgme_debug_buffer () from /lib/libgpgme.so.11 (gdb) bt #0 0xa336255f in _gpgme_debug_buffer () at /lib/libgpgme.so.11 #1 0xa335f7dc in _gpgme_io_read () at /lib/libgpgme.so.11 #2 0xa336586e in _gpgme_get_program_version () at /lib/libgpgme.so.11 #3 0xa3350184 in gpg_get_version () at /lib/libgpgme.so.11 #4 0xa334df9d in _gpgme_set_engine_info () at /lib/libgpgme.so.11 #5 0xa3364b4e in gpgme_ctx_set_engine_info () at /lib/libgpgme.so.11 #6 0xa3215493 in () at /lib/libostree-1.so.1 #7 0xa3201f53 in () at /lib/libostree-1.so.1 #8 0xa31a5c46 in () at /lib/libostree-1.so.1 #9 0xa31ae378 in () at /lib/libostree-1.so.1 #10 0xa31aec3a in ostree_repo_verify_summary () at /lib/libostree-1.so.1 #11 0xa31d09c1 in ostree_repo_remote_fetch_summary_with_options () at /lib/libostree-1.so.1 #12 0xa31a88f2 in ostree_repo_remote_fetch_summary () at /lib/libostree-1.so.1 #13 0xa33f5ae1 in () at /lib/libflatpak.so.0 #14 0xa33f62e4 in () at /lib/libflatpak.so.0 #15 0xa343b4ea in flatpak_installation_list_remote_refs_sync () at /lib/libflatpak.so.0 #16 0xa343b7ae in flatpak_installation_list_installed_refs_for_update () at /lib/libflatpak.so.0 #17 0xa34ac059 in () at /usr/lib/qt5/plugins/discover/flatpak-backend.so #18 0xb5704af0 in QThreadPoolThread::run() (this=<optimized out>) at thread/qthreadpool.cpp:101 #19 0xb570d7e9 in QThreadPrivate::start(void*) (arg=<optimized out>) at thread/qthread_unix.cpp:367 #20 0xb4f035de in start_thread (arg=<optimized out>) at pthread_create.c:486 #21 0xb531997a in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108 (gdb) bt #0 0xa336255f in _gpgme_debug_buffer () at /lib/libgpgme.so.11 #1 0xa335f7dc in _gpgme_io_read () at /lib/libgpgme.so.11 #2 0xa336586e in _gpgme_get_program_version () at /lib/libgpgme.so.11 #3 0xa3350184 in gpg_get_version () at /lib/libgpgme.so.11 #4 0xa334df9d in _gpgme_set_engine_info () at /lib/libgpgme.so.11 #5 0xa3364b4e in gpgme_ctx_set_engine_info () at /lib/libgpgme.so.11 #6 0xa3215493 in () at /lib/libostree-1.so.1 #7 0xa3201f53 in () at /lib/libostree-1.so.1 #8 0xa31a5c46 in () at /lib/libostree-1.so.1 #9 0xa31ae378 in () at /lib/libostree-1.so.1 #10 0xa31aec3a in ostree_repo_verify_summary () at /lib/libostree-1.so.1 #11 0xa31d09c1 in ostree_repo_remote_fetch_summary_with_options () at /lib/libostree-1.so.1 #12 0xa31a88f2 in ostree_repo_remote_fetch_summary () at /lib/libostree-1.so.1 #13 0xa33f5ae1 in () at /lib/libflatpak.so.0 #14 0xa33f62e4 in () at /lib/libflatpak.so.0 #15 0xa343b4ea in flatpak_installation_list_remote_refs_sync () at /lib/libflatpak.so.0 #16 0xa343b7ae in flatpak_installation_list_installed_refs_for_update () at /lib/libflatpak.so.0 #17 0xa34ac059 in () at /usr/lib/qt5/plugins/discover/flatpak-backend.so #18 0xb5704af0 in QThreadPoolThread::run() (this=<optimized out>) at thread/qthreadpool.cpp:101 #19 0xb570d7e9 in QThreadPrivate::start(void*) (arg=<optimized out>) at thread/qthread_unix.cpp:367 #20 0xb4f035de in start_thread (arg=<optimized out>) at pthread_create.c:486 --Type <RET> for more, q to quit, c to continue without paging-- #21 0xb531997a in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108 Thread 13 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa296ab40 (LWP 5956)] 0xa335e55f in _gpgme_debug_buffer (lvl=7, fmt=0xa3365b11 "%s: check: %s", func=0xa3367b97 "_gpgme_io_read", buffer=0xa2969afc "", len=4294967295) at debug.c:393 393 val = buffer[idx++]; I noticed discover output various errors for firefox, kde, gnome flatpak remotes I had added months ago using the flatpak cli. I removed the firefox, kde, gnome flatpak remotes in groups one at a time using flatpak remote-delete, but the same segmentation faults occurred though the error messages of the removed remotes no longer were shown. I removed the flathub remote which was the last remote I had added using the cli. After removing the flathub remote, the segmentation faults and crashes haven't occurred when I clicked on Checking for updates which showed that no updates were available. The segmentation faults seemed to be when checking for flatpak remote information. Something might have changed with the flatpak remotes or backend that triggered the crashes with the configuration I had. I added the flathub remote again in the settings part of discover, and discover didn't crash though the checking for updates didn't seem to finish. -- You are receiving this mail because: You are watching all bug changes.
