Flatpak core dump also coredump pamac manager

when trying to open the pamac manager i get this

$ pamac-manager

** (pamac-manager:81330): WARNING **: 16:29:26.579: flatpak_plugin.vala:311: Error when getting information for file “/var/lib/flatpak/appstream/winepak/x86_64/.timestamp”: No such file or directory
** Message: 16:29:26.579: flatpak_plugin.vala:330: refreshing winepak appstream data
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:3615:var_summary_index_get_subsummaries: assertion failed: (end <= v.size)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:3615:var_summary_index_get_subsummaries: assertion failed: (end <= v.size)
Aborted (core dumped)

This is obviously caused by flatpak, as it is the same error when trying to update it

$ flatpak update
Looking for updates…


        ID                                            Branch                  Op            Remote             Download
 1. [✓] us.zoom.Zoom                                  stable                  u             flathub            177.9 MB / 179.7 MB
 2. [✓] org.libreoffice.LibreOffice.Locale            stable                  u             flathub              1.6 kB / 82.2 MB
 3. [✓] org.libreoffice.LibreOffice                   stable                  u             flathub             21.0 MB / 313.8 MB
 4. [✓] org.winehq.Wine.gecko                         stable-22.08            u             flathub              1.8 kB / 109.9 MB
 5. [✓] org.winehq.Wine.mono                          stable-22.08            u             flathub              1.8 kB / 85.9 MB

Updates complete.
**
flatpak:ERROR:common/flatpak-variant-impl-private.h:3615:var_summary_index_get_subsummaries: assertion failed: (end <= v.size)
Bail out! flatpak:ERROR:common/flatpak-variant-impl-private.h:3615:var_summary_index_get_subsummaries: assertion failed: (end <= v.size)
Aborted (core dumped)

OK, two things

  1. Pamac should not core dump when flatpak fails. They should be independent. (This is critical for Manjaro)
  2. Does anyone know how to fix my flatpak installation? I have already rebooted and still the same error.

Dear @Aragorn , this post also affects pamac as it coredumps on flatpak fails. Pamac must be shielded from flatpak somehow.

If you have the flatpak plugin enabled in Pamac you can disable it.
Simply comment the relevant lines in /etc/pamac.conf

[...]
#CheckFlatpakUpdates

#EnableSnap

#EnableFlatpak

Ensure your system is up-to-date

sudo pacman -Syu

But the trigger is — obviously — FlatPak. :wink:

I’m afraid I cannot give you an opinion on that. I’m not a developer and I use neither FlatPak nor the Pamac GUI.

I don’t know why Pamac dumps its core when FlatPak does the same. All I can say is that Pamac is not exactly without flaws. :man_shrugging:

Yes, the trigger is flatpak and the @linux-aarhus solution works, but this should not happen. Something in the pamac’s flatpak plugin is wrong.

I suggest you check with the pamac issue tracker - if necessary open an issue

Since latest changes, flatpak is not segfaulting anymore

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.