[COMPASS-3232] Ubuntu 18.10 - Segmentation fault (core dumped)C when starting ompass Community edition Created: 01/Nov/18  Updated: 27/Oct/23  Resolved: 05/Nov/18

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: 1.16.0-beta.7, 1.15.4
Fix Version/s: 1.18.0

Type: Bug Priority: Major - P3
Reporter: Francesco Cetraro Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 18.10


Issue Links:
Related

 Description   

Hi

I have just done a fresh install of Ubuntu 18.10.

I have tried both latest stable and beta versions, but both fail to start without giving much indication of what is wrong. The only error is:

Segmentation fault (core dumped)

Any idea how I can find out what's wrong and fix it?

Thanks



 Comments   
Comment by Durran Jordan [ 05/Nov/18 ]

Thanks for looking into this. We will track via COMPASS-3150 now since Electron has fixed this but we will need to release a new version of Compass on a new version of Electron for it to work.

Comment by Francesco Cetraro [ 01/Nov/18 ]

digging deeper, turns out Electron apps have quite some problem running on the most recent versions of Ubuntu and Arch (among others).

For Ubuntu, adding this PPA repo and installing the updated glibc fixes the issue https://launchpad.net/~maarten-fonville/+archive/ubuntu/ppa/

More details here https://github.com/electron/electron/issues/13972

 

Leaving this in case someone else like me ends up having problems on Ubuntu 18.10

Also... it doesn't looke like I can mark this ticket completed myself...

 

Comment by Francesco Cetraro [ 01/Nov/18 ]

I have now run it with GDB and got a bit more output:

#0 0x0000000000a4e5b0 in ?? ()
#1 0x00007ffff7d83662 in node::http2::Http2Session::Callbacks::Callbacks(bool) () from /usr/share/mongodb-compass-community/libnode.so
#2 0x00007ffff7d83725 in ?? () from /usr/share/mongodb-compass-community/libnode.so
#3 0x00007ffff7fe398a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdec8, env=env@entry=0x7fffffffded8)
{{ at dl-init.c:72}}
#4 0x00007ffff7fe3a89 in call_init (env=0x7fffffffded8, argv=0x7fffffffdec8, argc=1, l=<optimized out>) at dl-init.c:30
#5 _dl_init (main_map=0x7ffff7ffe190, argc=1, argv=0x7fffffffdec8, env=0x7fffffffded8) at dl-init.c:119
#6 0x00007ffff7fd40ca in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#7 0x0000000000000001 in ?? ()
#8 0x00007fffffffe246 in ?? ()
#9 0x0000000000000000 in ?? ()

Generated at Wed Feb 07 22:32:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.