Bug 435006 - gcompris snap 1.1 fails to load on ubuntu 20.04
Summary: gcompris snap 1.1 fails to load on ubuntu 20.04
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Snap Linux
: NOR crash
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 09:28 UTC by Sam Van den Eynde
Modified: 2023-04-05 16:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Van den Eynde 2021-03-27 09:28:16 UTC
SUMMARY

When trying to load gcompris on an Ubuntu 20.04 laptop, the follow unrecoverable error occurs:

"gcompris-qt: error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file: No such file or directory"

I recerted the snap, the previous version works fine.

STEPS TO REPRODUCE
1. await automatic snap update to gcompris v1.1
2. start gcompris from a shell
3. observe error message

OBSERVED RESULT
gcompris-qt: error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file: No such file or directory

EXPECTED RESULT
gcompris starting

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Sam Van den Eynde 2021-03-27 09:29:14 UTC
So just in case this info is needed: this is stock Ubuntu 20.04 with Gnome DE.
Comment 2 Jazeix Johnny 2021-03-27 09:32:41 UTC
Hi,
thank you for the report, we are looking at it.
Comment 3 Jazeix Johnny 2021-03-27 09:34:00 UTC
Can you check if you have the package libpulse0 installed?
Comment 4 Jonathan Riddell 2021-03-27 09:40:52 UTC
you don't say how you are starting gcompris so it's not clear if you really are using the snap package.

The snap package contains libpulse
"libpulsecommon-13.99.so => /snap/gcompris/12/kf5/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so"

run  snap start gcompris  to verify
(there is also an update so run   snap refresh gcompris   too)
Comment 5 Sam Van den Eynde 2021-03-27 12:54:03 UTC
Hi

Unfortunately I can no longer troubleshoot this: I refreshed the snap back to the newest version (after reverting it this morning) to add info to the bug report but apparently this action made it work again. I have no idea why this sort of reinstallation fixed it.

FYI I do have it installed as a snap and libpulse0 is installed. I just invoked it from the command line to troubleshoot why the new version would not start anymore, which spawned the error I mention. I also rebooted the machine to test and used a previous kernel as well, all with no effect. I did not update the system itself.

Many thanks for this very quick response.
Comment 6 johanneswilm 2021-04-09 13:57:51 UTC
Hey, I have the same issue. I am running Ubuntu 20.10.

I am starting gcompris by running this executable:

$ which gcompris
/snap/bin/gcompris

It seems like there are no services installed with gcompris.

$ sudo snap start gcompris
error: snap "gcompris" has no services
$ sudo snap refresh gcompris
snap "gcompris" has no updates available
$ snap info gcompris
name:      gcompris
summary:   Multi-Activity Educational game for children 2 to 10
publisher: KDE✓
store-url: https://snapcraft.io/gcompris
license:   unset
description: |
  GCompris is a high quality educational software suite, including a large
  number of activities for children aged 2 to 10.
 
  Some of the activities are game orientated, but nonetheless
      still educational.
 
  Below you can find a list of categories with some of the
      activities available in that category.
 
  - computer discovery: keyboard, mouse, different mouse gestures, ...
  - arithmetic: table memory, enumeration, mirror image, balance
      the scale, change giving, ...
  - science: the canal lock, color mixing, gravity concept, ...
  - games: memory, connect 4, tic tac toe, sudoku, hanoi tower, ...
  - reading: reading practice, ...
  - other: learn to tell time, the braille system, maze, music
      instruments, ...
  Currently GCompris offers in excess of 100 activities and more
      are being developed. GCompris is free software, that means that
      you can adapt it to your own needs, improve it and, most
      importantly, share it with children everywhere.
commands:
  - gcompris
snap-id:      QC7aattxeOlCUpGwG4BzvMZxeprZm7Wy
tracking:     latest/stable
refresh-date: 13 days ago, at 17:13 CET
channels:
  latest/stable:    1.1 2021-03-27 (16) 172MB -
  latest/candidate: 1.1 2021-03-23 (16) 172MB -
  latest/beta:      ↑                        
  latest/edge:      ↑                        
installed:          1.1            (16) 172MB -
Comment 7 johanneswilm 2021-04-09 14:03:00 UTC
As for libpulse:

Jonathan Riddell:
> The snap package contains libpulse
"libpulsecommon-13.99.so => /snap/gcompris/12/kf5/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so"


This does not seem to exist for me. I seem to have to versions installed (12 and 16):

$ ls /snap/gcompris/
12  16  current

Yet that directory mentioned above is not there in either of them:

$ ls /snap/gcompris/16/kf5/

$ ls /snap/gcompris/12/kf5/
Comment 8 azen0r 2021-10-23 10:03:52 UTC
Hello,
I encounter the same problem : gcompris doesn't start :
$ gcompris 
/snap/gcompris/17/usr/bin/gcompris-qt: error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file: No such file or directory

I have no kf5 directory in 17 version : 
$ ls /snap/gcompris/17/
data-dir  etc  lib  meta  snap  usr

But i had one in 16 version, which is now empty : 
$ ls /snap/gcompris/16
etc  kf5  kf5-launch  kf5-locale-gen  kf5-portal-launch  lib  lib64  meta  snap  usr

I am on Ubuntu 20.04.3 LTS, 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021
Comment 9 Jazeix Johnny 2021-10-25 09:31:15 UTC
@jriddell, can you help with this issue when you have some time please?

Thanks!
Comment 10 azen0r 2022-11-06 09:02:38 UTC
Hello,
Just to let you know since I previously reported I was affected by the bug : I no longer have the bug.
I now am with Ubuntu 20.04.5 LTS, 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
and with GCompris 2.4, 37 version
I the problem was solved by last updates, there is maybe no need to further investigate.
Comment 11 Scarlett Moore 2023-04-05 16:25:09 UTC
Closing this as I cannot reproduce with latest version