Giter Club home page Giter Club logo

Comments (7)

lengau avatar lengau commented on September 23, 2024

I checked this with the alpha and staging versions and it fails similarly.

lengau@ratel:~$ sudo apt install signal-desktop-alpha 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
  signal-desktop-alpha
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 118 MB of archives.
After this operation, 453 MB of additional disk space will be used.
Get:1 https://updates.signal.org/desktop/apt-alpha xenial/main amd64 signal-desktop-alpha amd64 6.49.0-alpha.20240203.13-96131112d [118 MB]
Fetched 118 MB in 6s (18.2 MB/s)                                                                                                                                                                                                 
Selecting previously unselected package signal-desktop-alpha.
(Reading database ... 218631 files and directories currently installed.)
Preparing to unpack .../signal-desktop-alpha_6.49.0-alpha.20240203.13-96131112d_amd64.deb ...
Unpacking signal-desktop-alpha (6.49.0-alpha.20240203.13-96131112d) ...
Setting up signal-desktop-alpha (6.49.0-alpha.20240203.13-96131112d) ...
update-alternatives is /usr/bin/update-alternatives
update-alternatives: using /opt/Signal Alpha/signal-desktop-alpha to provide /usr/bin/signal-desktop-alpha (signal-desktop-alpha) in auto mode
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
lengau@ratel:~$ signal-desktop-alpha 
[45788:0203/123034.315361:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)
lengau@ratel:~$ sudo apt install signal-desktop-staging 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
  signal-desktop-staging
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 118 MB of archives.
After this operation, 453 MB of additional disk space will be used.
Get:1 https://updates.signal.org/desktop/apt-alpha xenial/main amd64 signal-desktop-staging amd64 6.49.0-staging.20240203.12-96131112d [118 MB]
Fetched 35.1 MB in 5s (7,393 kB/s)               
Selecting previously unselected package signal-desktop-staging.
(Reading database ... 218790 files and directories currently installed.)
Preparing to unpack .../signal-desktop-staging_6.49.0-staging.20240203.12-96131112d_amd64.deb ...
Unpacking signal-desktop-staging (6.49.0-staging.20240203.12-96131112d) ...
Setting up signal-desktop-staging (6.49.0-staging.20240203.12-96131112d) ...
update-alternatives is /usr/bin/update-alternatives
update-alternatives: using /opt/Signal Staging/signal-desktop-staging to provide /usr/bin/signal-desktop-staging (signal-desktop-staging) in auto mode
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
lengau@ratel:~$ signal-desktop-staging 
[46684:0203/123059.054642:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)

from signal-desktop.

scottnonnenberg-signal avatar scottnonnenberg-signal commented on September 23, 2024

Can you take a look at ~/config/Signal Beta/Crashpad and see if there are any .dmp files you could send us? Usually after a crash, we present a dialog which allows you to upload those files to us automatically, but you're not getting that far!

from signal-desktop.

lengau avatar lengau commented on September 23, 2024

~/.config/Signal Beta isn't even being created. (Likewise for the alpha and staging versions.)

I ran Signal beta with strace though and have added the strace output:

signal.strace.log

from signal-desktop.

scottnonnenberg-signal avatar scottnonnenberg-signal commented on September 23, 2024

Interesting - based on this, maybe it's an apparmor or user permissions thing? https://stackoverflow.com/questions/76165512/fatalcredentials-cc127-check-failed-permission-denied-13-trace-breakpo

from signal-desktop.

lengau avatar lengau commented on September 23, 2024

I was able to reproduce this on a brand new Ubuntu 24.04 noble VM as well:

$ multipass launch 24.04 -n noble-signal
$ multipass shell noble-signal
ubuntu@noble-signal:~$ wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | sudo tee /etc/apt/sources.list.d/signal-xenial.list
sudo apt update && sudo apt install signal-desktop signal-desktop-beta

The stable version works as expected until trying to open a window (makes sense since this VM doesn't have any graphical interface):

signal stable run ``` ubuntu@noble-signal:~$ signal-desktop Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' } NODE_ENV production NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config NODE_CONFIG {} ALLOW_CONFIG_MUTATIONS undefined HOSTNAME undefined NODE_APP_INSTANCE undefined SUPPRESS_NO_CONFIG_WARNING undefined SIGNAL_ENABLE_HTTP undefined userData: /home/ubuntu/.config/Signal config/start: Did not find user config file (or it was empty), cache is now empty object config/start: Did not find ephemeral config file (or it was empty), cache is now empty object making app single instance LaunchProcess: failed to execvp: xdg-settings LaunchProcess: failed to execvp: xdg-settings [3388:0205/154053.665823:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY [3388:0205/154053.665876:ERROR:env.cc(255)] The platform failed to initialize. Exiting. Segmentation fault (core dumped) ```

but the beta still fails the same way.

There doesn't seem to be an apparmor profile for the beta version, and running it with apparmor disabled still results in the same failure.

from signal-desktop.

lengau avatar lengau commented on September 23, 2024

I can confirm though that it does appear to work correctly with --no-sandbox

from signal-desktop.

scottnonnenberg-signal avatar scottnonnenberg-signal commented on September 23, 2024

The default shortcut installed with Signal Desktop does specify --no-sandbox. So it seems like this is perhaps expected. I'm going to close this.

from signal-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.