AppCenter crashes

since some days the AppCenter crashes. It starts up, but after several seconds it shuts down without any chance to enter anything.

Apparently there is the following message in the output of dmesg connected with the crash:
[ 3430.595328] pool-gnome-soft[9080]: segfault at 8 ip 00007f0f61e14921 sp 00007f0f60c5f7c0 error 4 in libflatpak.so.0.10500.0[7f0f61df0000+73000]
[ 3430.595341] Code: d8 75 4b 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e c3 48 8b 04 24 48 89 d9 48 8d 3d a7 66 05 00 48 8d 15 04 24 05 00 be 10 00 00 00 <4c> 8b 40 08 31 c0 e8 44 ef fd ff 48 8b 3c 24 48 85 ff 74 05 e8 36
eos-diagnostic-200111_164753_UTC 0100.txt (1.2 MB)

I have the same issue since today. Running with GDB gives:

Thread 5 "pool-gnome-soft" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdec2f700 (LWP 14498)]
0x00007fffdf520921 in ?? () from /lib/x86_64-linux-gnu/libflatpak.so.0
(gdb) bt
#0  0x00007fffdf520921 in ?? () from /lib/x86_64-linux-gnu/libflatpak.so.0
#1  0x00007fffdf55aa59 in flatpak_installation_list_installed_refs_for_update () from /lib/x86_64-linux-gnu/libflatpak.so.0
#2  0x00007fffdf2599ef in gs_flatpak_add_updates () from /usr/lib/x86_64-linux-gnu/gs-plugins-13/libgs_plugin_flatpak.so
#3  0x00007fffdf25d825 in gs_plugin_add_updates () from /usr/lib/x86_64-linux-gnu/gs-plugins-13/libgs_plugin_flatpak.so
#4  0x00005555555c4ccd in ?? ()
#5  0x00005555555c53f2 in ?? ()
#6  0x00005555555c68cd in ?? ()
#7  0x00007ffff7c8210e in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#8  0x00007ffff7e1f943 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff7e1f23d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff6ffafa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007ffff6f2b82f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

/edit:
Searching, Updating and Installing software works through flatpak on the commandline.

egon, thanks for the flatpak cmdline hint.

Apparently something went wrong with the automagic updates, flatpak update results in 42 missing updates, see flatpak-update_2020-01-12.txt (8.9 KB) but after applying them AppCenter is still segfaulting …

and even worse, a second flatpak update still reveals several obscure errors about EOL of platforms and SDKs, which were apparently not corrected by the successfull previous update:

$ flatpak update
Looking for updates…
Unable to update runtime/org.gnome.Platform.Locale/x86_64/3.22: Remote "gnome" not found
Unable to update runtime/org.gnome.Platform/x86_64/3.22: Remote "gnome" not found
Info: org.kde.Sdk is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.kde.Sdk.Locale is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.gnome.Platform is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Sdk.Extension.openjdk9 is end-of-life, with reason: DO NOT use this extension for building new applications. It is no longer receiving any maintenance or security updates and is considered EOL by the upstream OpenJDK project.
F: Warning: No xa.metadata in commit fc87ad280f502ce809738c0278e86cc4d328c8179bb75aab70f9e4de2450ca1c ref app/com.endlessm.videonet/x86_64/eos3
F: Warning: No xa.metadata in commit 8e5fc24e6a134230546bdc5f07bcc9035bec59b752fe56a2d7a2c816bf86c184 ref app/com.endlessm.weather/x86_64/eos3
F: Warning: No xa.metadata in commit fdeaef3f62f4f5196bebf992399f2469df83538c74dc3c1a83583453318e3eb4 ref app/net.sourceforge.Frostwire/x86_64/eos3
F: Warning: No xa.metadata in commit 0e54b503e8e5f9b6387d2a1440da2ae67d44110cdfaf8e1f0aa4cd19b2acc8e5 ref app/org.gnome.Freecell/x86_64/eos3
F: Warning: No xa.metadata in commit 292386f567faca1f765c0214268190eab2410baadaede40ea6329f545d2f4447 ref app/org.gnome.Solitaire/x86_64/eos3
F: ops remaining after sort, maybe there is a dependency loop?
Nothing to do.

I do not know which apps depend on these, neither how I could find out more info about the suspected dependency loop, nor which apps I should therefore deinstall or forcibly update …

The issue is described as below.

In order to have working app-center again, you will have to uninstall the flatpak bundles that you might have installed earlier (This is temporary, until we ship a fix in next OS update).

  • Open Terminal
  • flatpak uninstall -y com.rstudio.RStudio
  • flatpak uninstall -y com.microsoft.winfile

Restart system and see if app-center works. Let us know.
Thanks.

thanks.

This is quite sad, since I need both, RStudio and winfile.

RStudio is currently very difficult to rebuild and I still have not yet solved my need for a Win32 executable, which I need urgently. But I’ll try …

Maybe I’ll have to use the fedora image in Toolbox/podman to install RStudio & Wine.

Update: yes, after uninstalling winfile & RStudio and reboot, AppCenter does not crash immediately anymore, but when I choose updates, there is a strange message:
“Sorry, something went wrong: Remote “gnome” not found”
Which appears to be caused by the same problem as found by flatpak update above in message #3 …

We are resolved the issue internally. Next OS update(scheduled in Feb’s second week) will include the fix, so that your bundles are working again without crashing the app-center.

Thanks. Good to hear.

any ideas, how to get rid of:

… message:
“Sorry, something went wrong: Remote “gnome” not found”

although App center does not find updates, a flatpak update finds 13 necessary updates and in the second run the same errors as in my post #3 above:

$ flatpak update
Looking for updates…
Unable to update runtime/org.gnome.Platform.Locale/x86_64/3.22: Remote "gnome" not found
Unable to update runtime/org.gnome.Platform/x86_64/3.22: Remote "gnome" not found
Info: org.kde.Sdk is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.kde.Sdk.Locale is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.gnome.Platform is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
Info: org.freedesktop.Sdk.Extension.openjdk9 is end-of-life, with reason: DO NOT use this extension for building new applications. It is no longer receiving any maintenance or security updates and is considered EOL by the upstream OpenJDK project.
F: Warning: No xa.metadata in commit fc87ad280f502ce809738c0278e86cc4d328c8179bb75aab70f9e4de2450ca1c ref app/com.endlessm.videonet/x86_64/eos3
F: Warning: No xa.metadata in commit 8e5fc24e6a134230546bdc5f07bcc9035bec59b752fe56a2d7a2c816bf86c184 ref app/com.endlessm.weather/x86_64/eos3
F: Warning: No xa.metadata in commit fdeaef3f62f4f5196bebf992399f2469df83538c74dc3c1a83583453318e3eb4 ref app/net.sourceforge.Frostwire/x86_64/eos3
F: Warning: No xa.metadata in commit 0e54b503e8e5f9b6387d2a1440da2ae67d44110cdfaf8e1f0aa4cd19b2acc8e5 ref app/org.gnome.Freecell/x86_64/eos3
F: Warning: No xa.metadata in commit 292386f567faca1f765c0214268190eab2410baadaede40ea6329f545d2f4447 ref app/org.gnome.Solitaire/x86_64/eos3
F: ops remaining after sort, maybe there is a dependency loop?
Nothing to do.

I still do not know, which installed flatpak needs the Remote “gnome”, which cannot be found.

:footprints::footprints::footprints: GNOME Builder?

You can try to remove those runtimes:
flatpak remove runtime/org.gnome.Platform/x86_64/3.22 runtime/org.gnome.Platform.Locale/x86_64/3.22

If an app depends on them, Flatpak will inform you of which one.

as far as I remember, I never installed GNOME Builder

thanks for the suggestion. After successfull uninstallation – there were no further dependent installs – I proceeded with uninstallation of the apps, which had these obscure missing metadata messages (frostwire, freecell solitaire, videonet, and weather), and additionally org.freedesktop.Sdk.Extension.openjdk9. But still there remain the following messages:

$ flatpak update
Looking for updates…
Info: org.kde.Sdk is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.kde.Sdk.Locale is end-of-life, with reason: Qt 5.10 ended standard support on 30th October 2018. Please migrate to a supported runtime.
Info: org.gnome.Platform is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: GNOME 3.24 runtime is no longer supported as of 11th January 2019. Please ask your application developer to migrate to a supported platform.
F: ops remaining after sort, maybe there is a dependency loop?
Nothing to do.

trying to uninstall org.kde.Sdk offers me a selection of 5 different versions and asks me, which I want to use. I chose first 5.9 and 5.10 in a second run.

Checking the output of flatpak list I see apps, which are installed in different versions. Is there an option to automagically remove the older/outdated versions? I tried a flatpak repair, but apparently this does something different. flatpak repair results in around 20 error messages similar to
Object invalid: 85d04a234d7ff52a65cfae1781a3d48015f33513c9005f3a1f5285bffce76ff5.file
when verifying eos:os/eos/amd64/eos3a and five similar ones when verifying ostree/1/1/1 …
I don’t have any idea, if this should be corrected, neither how to correct these.

Finally, flatpak update now complains:

Looking for updates…
F: ops remaining after sort, maybe there is a dependency loop?
Nothing to do.

and I don’t know, what to do. Any help is welcome.

Checking the output of flatpak list I see apps, which are installed in different versions. Is there an option to automagically remove the older/outdated versions?

This should remove any unused runtimes on your system:
$ flatpak uninstall -y --unused

that will be 3.7.7, correct?

Yes, that’s correct.

1 Like

as far as I can see release 3.7.7 is out, but my system does not update to it. There was an alert box that there is an OS upgrade available, but despite two reboots I still find that my system is 3.7.6

open a terminal and run:

eos-updater-ctl update

This will trigger the update mechanism and download available OS upgrades.

thanks a lot, it worked.

But still a flatpak update results in

Looking for updates…
F: ops remaining after sort, maybe there is a dependency loop?
Nothing to do.

and I have no clue, what to do. Please help.

Don’t know why this error occurs, same on my machines, but doesn’t seem to have any impact. For reference, i link your Bug report:

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