Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61198 - KDE Discover Segmentation Fault

Attached to Project: Community Packages
Opened by Stefano Coronado (stefnix) - Friday, 28 December 2018, 04:36 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 13 January 2019, 17:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


plasma-discover segfaults and freezes.

Additional info:
* package version(s) plasma-discover 5.14, archlinux-appstream-data 20181222-2
* GDB log attached

Steps to reproduce:
1. Open Discover
2. Wait a second
3. Try to click somewhere
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 13 January 2019, 17:27 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#61197 
Comment by Antonio Rojas (arojas) - Friday, 28 December 2018, 10:34 GMT
full backtrace please
Comment by Stefano Coronado (stefnix) - Friday, 28 December 2018, 17:45 GMT

Here you go.
Comment by Antonio Rojas (arojas) - Saturday, 05 January 2019, 13:10 GMT
Does downgrading flatpak fix it?
Comment by Stefano Coronado (stefnix) - Saturday, 05 January 2019, 16:27 GMT
Yes, downgrading to flatpak-1.1.1+3+g4111dbad-1 fixes this issue.

I thought this would be an issue with archlinux-appstream-data based on the program output alone.
Comment by Aleix Pol (apol) - Tuesday, 08 January 2019, 00:33 GMT
Here's a backtrace with a self-compiled flatpak master.

#0 0x00007ffff2b444ed in syscall () at /usr/lib/
#1 0x00007fffef85f39d in () at /usr/lib/
#2 0x00007fffcc8f41fb in as_stemmer_process () at /usr/lib/
#3 0x00007fffcc8f4351 in () at /usr/lib/
#4 0x00007fffd96e8802 in g_type_create_instance () at /usr/lib/
#5 0x00007fffd9705259 in () at /usr/lib/
#6 0x00007fffd970675d in g_object_new_with_properties () at /usr/lib/
#7 0x00007fffd970686a in g_object_new () at /usr/lib/
#8 0x00007fffcc8eb3c4 in as_store_new () at /usr/lib/
#9 0x00007fffcc97fc7a in add_appdata_to_deploy_data (metadata_builder=0x7fffffffd110, deploy_dir=0x55555a150d00, id=0x55555a1fd7d0 "org.kde.kruler") at common/flatpak-dir.c:2251
#10 0x00007fffcc9643f1 in upgrade_deploy_data (deploy_data=<optimized out>, deploy_dir=<optimized out>, ref=<optimized out>) at common/flatpak-dir.c:2357
#11 0x00007fffcc9643f1 in flatpak_load_deploy_data (deploy_dir=0x55555a150d00, ref=<optimized out>, required_version=<optimized out>, cancellable=<optimized out>, error=<optimized out>) at common/flatpak-dir.c:591
#12 0x00007fffcc966674 in flatpak_dir_get_deploy_data (self=<optimized out>, ref=0x55555a16c800 "app/org.kde.kruler/x86_64/master", required_version=1, cancellable=0x7fffbc00eba0, error=0x7fffffffd3b0) at common/flatpak-dir.c:2386
#13 0x00007fffcc9aed29 in get_ref (dir=0x5555563cc000, full_ref=0x55555a16c800 "app/org.kde.kruler/x86_64/master", cancellable=0x7fffbc00eba0, error=0x0) at common/flatpak-installation.c:724
#14 0x00007fffcc9aec38 in flatpak_installation_get_installed_ref (self=<optimized out>, kind=<optimized out>, name=0x55555a16c6d8 "org.kde.kruler", arch=0x55555a15b7b8 "x86_64", branch=0x55555a19c488 "master", cancellable=0x7fffbc00eba0, error=0x7fffffffd3b0)
at common/flatpak-installation.c:812
#15 0x00007fffccc0b082 in FlatpakBackend::getInstalledRefForApp(_FlatpakInstallation*, FlatpakResource*) const (this=0x55555656ec70, flatpakInstallation=0x7fffbc00ea50, resource=0x55555a16c310)
at /home/apol/devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:223
#16 0x00007fffccc0f487 in FlatpakBackend::updateAppState(_FlatpakInstallation*, FlatpakResource*) (this=0x55555656ec70, flatpakInstallation=0x7fffbc00ea50, resource=0x55555a16c310)
at /home/apol/devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1072
#17 0x00007fffccc0c804 in FlatpakBackend::addResource(FlatpakResource*) (this=0x55555656ec70, resource=0x55555a16c310) at /home/apol/devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:541
#18 0x00007fffccc154af in FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (this=0x555559eb8a40) at /home/apol/devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:645