Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap: app doesn't load on ubuntu 18.04.1 #593

Closed
DouglasDev opened this issue Nov 9, 2018 · 25 comments
Closed

Snap: app doesn't load on ubuntu 18.04.1 #593

DouglasDev opened this issue Nov 9, 2018 · 25 comments

Comments

@DouglasDev
Copy link

I installed the app from Ubuntu software center. It doesn't load at all. error message is:
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Failed to generate minidump.Segmentation fault (core dumped)

@jakobkolb
Copy link

Can confirm this.

@jakobkolb
Copy link

Apparently, only the Snap available over the Software center is broken. Following the installation instructions from the readme (https://zulipchat.com/help/desktop-app-install-guide) everything worked fine.

@timabbott
Copy link
Member

@jakobkolb thanks for the report, that's very helpful! Tagging this as a top priority.

@akashnimare
Copy link
Member

Thanks for the report, let me see what's wrong.

@akashnimare
Copy link
Member

@DouglasDev you tried the deb format, right? Just to be clear this is what you have followed -

  • Downloaded the deb installer from https://zulipchat.com/apps/linux
  • Open the downloaded file in ubuntu software centre + installed it
  • Run Zulip and got above error

If yes then can you try installing the deb installer from the terminal using -

sudo dpkg -i Zulip-2.3.82-amd64.deb

I have tried AppImage + deb installer on Ubuntu 16.04 LTS and it works as expected. You can also install Zulip using our snap installer -

https://snapcraft.io/zulip

Apparently, only the Snap available over the Software center is broken.

@jakobkolb I have pushed v2.3.82 on snapcraft. Can you check if this fixes the issue for you?

@caemor
Copy link

caemor commented Nov 21, 2018

I just installed zulip via snap (2.3.82) and still get the same error as above on ubuntu 18.04.
libcanberra-gtk-module is installed.

@akashnimare
Copy link
Member

Okay, this works great on Ubuntu 16.04. You might need to install some libraries in order to run it..can you paste the exact error here?

@caemor
Copy link

caemor commented Nov 21, 2018

It's the same error which DouglasDav posted as the first entry for this issue.

@caemor
Copy link

caemor commented Nov 22, 2018

Might be related to electron/electron#13767 and other linked issues there 🤔

@akashnimare
Copy link
Member

The issue looks related to electron-userland/electron-builder#2981

Could you folks try some of the tips in https://askubuntu.com/questions/342202/failed-to-load-module-canberra-gtk-module-but-already-installed and see if it works?

@akashnimare
Copy link
Member

electron/electron#13767

No, since we're not using the powerMonitor api. The other possible reason could be Sentry.

@caemor
Copy link

caemor commented Nov 22, 2018

Could you folks try some of the tips in https://askubuntu.com/questions/342202/failed-to-load-module-canberra-gtk-module-but-already-installed and see if it works?

I already tried all of them but the last one (sudo apt-get install libcanberra-gtk*) and they didn't help me.

@akashnimare
Copy link
Member

Okay, I can reproduce this error now. I'm still trying to figure out what's wrong with the snap. This works as expected if I build it locally and install it but doesn't work if I download this from the snap store.

@popey
Copy link

popey commented Nov 26, 2018

@akashnimare left a comment on your forum thread.

@vsvipul
Copy link
Collaborator

vsvipul commented Dec 23, 2018

had the same issue.. can confirm this 👍

@akashnimare
Copy link
Member

@popey I actually don’t know if that yaml file is being used or not. Can you help me out on this i.e. what should I check/debug in order to get rid of the error?

@One111
Copy link

One111 commented Jan 16, 2019

Same issue.
Ubuntu 18.04.1 LTS

Gtk-Message: Failed to load module "canberra-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" Failed to generate minidump.Segmentation fault (core dumped)

@ghost
Copy link

ghost commented Feb 20, 2019

i solved temporally my problem using the Appimage version. I did:

  1. Download: chmod a+x Zulip-x.x.x-x86_64.AppImage
  2. Change permissions:
    sudo chmod a+x Zulip-x.x.x-x86_64.AppImage
  3. Rename:
    sudo mv Zulip-2.3.82-x86_64.AppImage zulip
  4. And copy to /usr/bin:
    sudo cp zulip /usr/bin/

So, just execute on terminal and work for me!

@krkolek
Copy link

krkolek commented Apr 3, 2019

I tried install zulip following the instructions from https://zulipchat.com/help/desktop-app-install-guide and I test all ways to do it:

  • apt - works and I can pin app to the favourites
  • AppImage - works
  • snap - I have the same error as in the first post.

@akashnimare akashnimare changed the title App doesn't load on ubuntu 18.04.1 Snap: app doesn't load on ubuntu 18.04.1 Apr 3, 2019
akashnimare added a commit that referenced this issue Apr 3, 2019
Updating the config as suggested by the snap community here - 
https://forum.snapcraft.io/t/snap-fails-to-load-error-minidump-segmentation-fault/8691/5

Should improve #593.
@akashnimare
Copy link
Member

Just pushed a new beta for Snap. Can you folks test it out?
https://snapcraft.io/zulip

@vsvipul
Copy link
Collaborator

vsvipul commented Apr 28, 2019

@akashnimare All functionality is working fine now. Great to know that the segfault has fixed. It will be great if others test it out too. @caemor @isasouza-com @kanishk98 .
You need to test the beta using

sudo snap install zulip --beta

@akashnimare
Copy link
Member

This issue has been fixed in the latest beta. Feel free to re-open if this occurs again.

@abhigyank
Copy link
Collaborator

Any pointers on what change fixed it?

@akashnimare
Copy link
Member

I think a combination of - updating electron-builder + zulip/zulip-electron@8a0b047 fixed this issue.

kanishk98 pushed a commit to kanishk98/zulip-desktop that referenced this issue Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants