Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771363 - net-im/signal-desktop-bin: no longer works
Summary: net-im/signal-desktop-bin: no longer works
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robert G. Siebeck
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-18 22:15 UTC by Chris Smith
Modified: 2021-02-24 13:13 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2021-02-18 22:15:23 UTC
After upgrading to net-im/signal-desktop-bin-1.40.0 the signal window is blank, further upgrade to net-im/signal-desktop-bin-1.40.0-r1 did not resolve the situation. Closing the blank signal windows still leaves signal processes running and they must be killed with -9.
Moving the signal config folder ~/.config/Signal to another location to start fresh does not help.

Reproducible: Always

Actual Results:  
$ signal-desktop 
Set Windows Application User Model ID (AUMID) { appUserModelId: 
'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/smythe/.config/Signal
config/get: Successfully read user config file
x-attr dependency did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"app 
ready","time":"2021-02-18T22:05:03.064Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"starting 
version 1.40.0","time":"2021-02-18T22:05:03.064Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"media access 
status undefined undefined","time":"2021-02-18T22:05:03.064Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"updateSchema:\n 
 Current user_version: 23;\n  Most recent db schema: 23;\n  SQLite version: 
3.33.0;\n  SQLCipher version: 4.4.2 community;\n  (deprecated) schema_version: 
113;\n","time":"2021-02-18T22:05:03.084Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"Initializing 
BrowserWindow config: 
{\"show\":true,\"width\":1301,\"height\":1360,\"minWidth\":680,\"minHeight\":550
,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"backgroundColor\":\
"#3a76f0\",\"webPreferences\":{\"nodeIntegration\":false,\
"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"enableRemoteModule
\":true,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\
"nativeWindowOpen\":true,\"spellcheck\":true,\"backgroundThrottling\":false},\
"icon\":\"/opt/Signal/resources/app.asar/images/signal-logo-desktop-linux.png\",
\"x\":1556,\"y\":134}","time":"2021-02-18T22:05:03.091Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"spellcheck: 
user locale: en-US","time":"2021-02-18T22:05:03.139Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"spellcheck: 
available spellchecker languages:  
[\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en-AU\",\"en-CA\",\
"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es
-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\
"id\",\"it\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt-BR\",\"pt-PT\",\"ro\
",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\
"vi\"]","time":"2021-02-18T22:05:03.139Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"spellcheck: 
setting languages to:  [\"en-US\"]","time":"2021-02-18T22:05:03.140Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"Begin ensuring 
permissions","time":"2021-02-18T22:05:03.152Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"Ensuring file 
permissions for 2 files","time":"2021-02-18T22:05:03.157Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"Finish ensuring 
permissions in 7ms","time":"2021-02-18T22:05:03.159Z","v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"Updating 
BrowserWindow config: 
{\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":
1301,\"height\":1360,\"x\":1565,\"y\":175}","time":"2021-02-18T22:05:03.655Z",
"v":0}
{"name":"log","hostname":"sartre","pid":342663,"level":30,"msg":"config/set: 
Saving ephemeral config to disk","time":"2021-02-18T22:05:03.655Z","v":0}
Comment 1 Patrick ALLAERT 2021-02-18 23:56:50 UTC
Did exactly the same steps and same problem:
net-im/signal-desktop-bin-1.40.0 => net-im/signal-desktop-bin-1.40.0-r1 => mv ~/.config/Signal ~/.config/Signal.previous
Comment 2 Joonas Niilola gentoo-dev 2021-02-19 06:28:35 UTC
Okay I can reproduce this. If I remove ~/.config and ~/.cache altogether, it WORKS on first launch, but shows a blank screen after each launch. I can get it to work everytime I remove these directories.

Preferably this'd need some gdb backtrace, I tried stracing but it provided no useful info.
Comment 3 Larry the Git Cow gentoo-dev 2021-02-19 06:32:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8f7db4eb4455b4ff6965fcceb913a094e28af1a

commit b8f7db4eb4455b4ff6965fcceb913a094e28af1a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-02-19 06:31:14 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-02-19 06:32:03 +0000

    net-im/signal-desktop-bin: revert bump to 1.40.0
    
     - this version suffers from a weird problem where profile may(?) get
       corrupted.
    
    Bug: https://bugs.gentoo.org/771363
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-im/signal-desktop-bin/Manifest                 |  2 +-
 ...-r1.ebuild => signal-desktop-bin-1.39.6.ebuild} | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 12 deletions(-)
Comment 4 Wolfgang Müller 2021-02-19 09:55:23 UTC
For what it is worth, I have a system with which 1.40.0-r1 works fine. People who had a working installation of 1.40.0-r1 should *not* downgrade, since Signal will then complain about a mismatching database version and refuse to start. Thankfully I had 'downgrade-backup' set in FEATURES and could install the newer version again.

Let me know if there's any info I can give about my system that could clear this up.
Comment 5 Joonas Niilola gentoo-dev 2021-02-19 11:06:12 UTC
(In reply to Wolfgang Müller from comment #4)
> People who had a working installation of 1.40.0-r1 should *not* downgrade,
> since Signal will then complain about a mismatching database version and
> refuse to start. 

I tried downgrading and it gave me a popup window stating this, but it offered to "delete data and continue" which worked. The previous version seems to at least launch fine now.

> Let me know if there's any info I can give about my system that could clear
> this up.

I don't use signal so passing this on to the maintainer, but it looks like some feedback and collaboration is needed here.
Comment 6 Martin Wegner 2021-02-19 12:43:12 UTC
I've also 1.40.0-r1 installed and it works fine for me. Downgrading is not an option as signal is not working then, resetting the database also is not an option as I'd loose message history.

Why was 1.40.0-r1 deleted from portage after being committed instead of masked? In my view, masking is the proper way to handle this, as now, my portage wants to force downgrade my signal-desktop to 1.39.6 as this is the only available solution.
Comment 7 Martin Wegner 2021-02-19 12:45:41 UTC
emerge --info of system on which 1.40.0-r1 is *working*.


Portage 3.0.14 (python 3.8.8-candidate-1, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r7, 5.10.15-gentoo-vidar-ryzen x86_64)
=================================================================
System uname: Linux-5.10.15-gentoo-vidar-ryzen-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.2.5
KiB Mem:    65835680 total,   5537808 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Fri, 19 Feb 2021 11:45:01 +0000
Head commit of repository gentoo: 53a1e9183a1fa8bffcd696f9056cf0d07b3c95af
Head commit of repository flatpak-overlay: 4bf9a7815ca9361f86459c8a8e9bc403e3721704

Head commit of repository steam-overlay: 656212492f399065178bd255e27530ebe6886361

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.7.10::gentoo, 3.8.8_rc1::gentoo, 3.9.2_rc1::gentoo, 3.10.0_alpha5_p1::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --exclude='.snapshots'

local
    location: /usr/local/portage/mittwinter
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/betagarden.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: laymansync
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

flatpak-overlay
    location: /var/db/repos/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

flow
    location: /var/lib/layman/flow
    sync-type: laymansync
    sync-uri: https://gitlab.com/Flow/flow-s-ebuilds.git
    masters: gentoo
    priority: 50

fol4
    location: /var/lib/layman/fol4
    sync-type: laymansync
    sync-uri: https://gitlab.com/madsl/fol4
    masters: gentoo
    priority: 50

genthree
    location: /var/lib/layman/genthree
    sync-type: laymansync
    sync-uri: https://gitlab.com/genthree/overlay.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/gnome.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

kaa
    location: /var/lib/layman/kaa
    sync-type: laymansync
    sync-uri: https://github.com/Oleh-Kravchenko/kaa-layman.git
    masters: gentoo
    priority: 50

mittwinter
    location: /var/lib/layman/mittwinter
    sync-type: laymansync
    sync-uri: https://github.com/mittwinter/gentoo-overlay
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

plex-overlay
    location: /var/lib/layman/plex-overlay
    sync-type: laymansync
    sync-uri: https://github.com/comio/plex-overlay.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/seden.git
    masters: gentoo
    priority: 50

ssnb
    location: /var/lib/layman/ssnb
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/repo/user/ssnb
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

vifino-overlay
    location: /var/lib/layman/vifino-overlay
    sync-type: laymansync
    sync-uri: https://github.com/vifino/vifino-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --alert y --verbose-conflicts --changed-deps y --changed-use --complete-graph y --with-bdeps y --autounmask --autounmask-write --deep --backtrack=1000 --keep-going y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://mirror.netcologne.de/gentoo/ 	"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j20 -l18"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude='.snapshots'"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 amr avahi avx avx2 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli colord crypt cryptsetup cups dbus device-mapper dirac divx dri dts dvb dvd dvdr eds emboss encode exif f16c faac faad fat fdk ffmpeg flac fma3 fuse gdbm gif gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 gui iconv icu idn imagemagick inotify introspection ipv6 jpeg lame lastfm lcms libglvnd libnotify libsecret libtirpc lvm lz4 lzma lzo mad mmx mmxext mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nvenc nvidia offensive ogg opengl openmp opus pam pango pclmul pcre pcsc-lite pdf png policykit popcnt ppds pulseaudio qt5 readline realmedia samba schroedinger sdl seccomp sendto sha smartcard spell split-usr sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg syslog sysprof systemd tcpd theora tiff tracker truetype udev udisks unicode upower usb v4l v4l2 vdpau vim-syntax vorbis vpx wayland webm wifi wmp wxwidgets x264 x265 xattr xcb xinerama xml xv xvid xz zeitgeist zeroconf zlib zsh-completion" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU X86 NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua51 lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 8 Robert G. Siebeck 2021-02-19 12:52:23 UTC
Not being able to reproduce this, can someone who can reproduce it please post the console output of signal-desktop-bin-1.40.0-r1 when started from a console? Thanks!
Comment 9 Larry the Git Cow gentoo-dev 2021-02-19 13:30:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e94209c6629787b16dac810fe5d75cdee39231

commit c9e94209c6629787b16dac810fe5d75cdee39231
Author:     Robert Siebeck <gentoo.2019@r123.de>
AuthorDate: 2021-02-19 12:57:56 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-02-19 13:30:11 +0000

    net-im/signal-desktop-bin: re-add 1.40.0-r1, but keep it masked.
    
    Bug: https://bugs.gentoo.org/771363
    Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
    Closes: https://github.com/gentoo/gentoo/pull/19542
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-im/signal-desktop-bin/Manifest                 |   1 +
 .../signal-desktop-bin-1.40.0-r1.ebuild            | 115 +++++++++++++++++++++
 profiles/package.mask                              |   5 +
 3 files changed, 121 insertions(+)
Comment 10 Will Lepofsky 2021-02-19 15:51:26 UTC
You don't have to kill the processes with "kill -9" as they will shutdown themselves over time, a couple of minutes.

And here is the output of starting and stopping signal from the command line:
$ signal-desktop 
Set Windows Application User Model ID (AUMID) { appUserModelId: '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/<user>/.config/Signal
config/get: Successfully read user config file
x-attr dependency did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"app ready","time":"2021-02-19T15:34:55.006Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"starting version 1.40.0","time":"2021-02-19T15:34:55.006Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"media access status undefined undefined","time":"2021-02-19T15:34:55.006Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"updateSchema:\n  Current user_version: 23;\n  Most recent db schema: 23;\n  SQLite version: 3.33.0;\n  SQLCipher version: 4.4.2 community;\n  (deprecated) schema_version: 113;\n","time":"2021-02-19T15:34:55.017Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1057,\"height\":685,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":true,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#3a76f0\",\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"enableRemoteModule\":true,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true,\"spellcheck\":true,\"backgroundThrottling\":false},\"icon\":\"/opt/Signal/resources/app.asar/images/signal-logo-desktop-linux.png\",\"x\":2015,\"y\":1043}","time":"2021-02-19T15:34:55.080Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"spellcheck: user locale: en-US","time":"2021-02-19T15:34:55.120Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"spellcheck: available spellchecker languages:  [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]","time":"2021-02-19T15:34:55.120Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"spellcheck: setting languages to:  [\"en-US\"]","time":"2021-02-19T15:34:55.120Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"Begin ensuring permissions","time":"2021-02-19T15:34:55.131Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"Ensuring file permissions for 2 files","time":"2021-02-19T15:34:55.134Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"Finish ensuring permissions in 4ms","time":"2021-02-19T15:34:55.135Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":true,\"fullscreen\":false,\"width\":1060,\"height\":688,\"x\":2012,\"y\":1040}","time":"2021-02-19T15:34:55.636Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2021-02-19T15:34:55.636Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"close event {\"shouldQuit\":false}","time":"2021-02-19T15:35:05.090Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"requestShutdown: Requesting close of mainWindow...","time":"2021-02-19T15:35:05.091Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"requestShutdown: Response never received; forcing shutdown.","time":"2021-02-19T15:37:05.101Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"before-quit event {\"readyForShutdown\":true,\"shouldQuit\":false}","time":"2021-02-19T15:37:05.101Z","v":0}
{"name":"log","hostname":"<host>","pid":20916,"level":30,"msg":"close event {\"readyForShutdown\":true,\"shouldQuit\":true}","time":"2021-02-19T15:37:05.101Z","v":0}
Comment 11 Robert G. Siebeck 2021-02-19 17:45:47 UTC
I have been able to reproduce this now.

I found this bug report upstream:
https://github.com/signalapp/Signal-Desktop/issues/3281#issuecomment-592100185

Can you please try starting 

signal-desktop --disable-gpu

and

signal-desktop --enable-logging

The former solve the problem for me, the latter showed GPU process crashes. If it solves the problem for you, please let me know which GPU and kernel version you're using and provide the console output again. Thanks!
Comment 12 Will Lepofsky 2021-02-20 04:20:16 UTC
Looking through /var/log/messages, I found the following:
eb 19 22:55:30 <host> kernel: signal-desktop[12867]: segfault at 18 ip 00007f431509df24 sp 00007ffc05ca7320 error 4 in libGLESv2.so[7f4314ffc000+473000]
Feb 19 22:55:30 <host> kernel: Code: cc cc cc cc cc cc 55 48 89 e5 48 8b 4f 18 48 8d 41 f8 48 85 c9 48 0f 44 c1 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <48> 8b 47 18 5d c3 cc cc cc cc cc cc 55 48 89 e5 48 8b 47 18 48 3b
Feb 19 22:55:30 <host> kernel: signal-desktop[12907]: segfault at 18 ip 00007f431509df24 sp 00007ffc05ca7320 error 4 in libGLESv2.so[7f4314ffc000+473000]
Feb 19 22:55:30 <host> kernel: Code: cc cc cc cc cc cc 55 48 89 e5 48 8b 4f 18 48 8d 41 f8 48 85 c9 48 0f 44 c1 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <48> 8b 47 18 5d c3 cc cc cc cc cc cc 55 48 89 e5 48 8b 47 18 48 3b
Feb 19 22:55:30 <host> kernel: signal-desktop[12932]: segfault at 18 ip 00007f431509df24 sp 00007ffc05ca7320 error 4 in libGLESv2.so[7f4314ffc000+473000]
Feb 19 22:55:30 <host> kernel: Code: cc cc cc cc cc cc 55 48 89 e5 48 8b 4f 18 48 8d 41 f8 48 85 c9 48 0f 44 c1 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <48> 8b 47 18 5d c3 cc cc cc cc cc cc 55 48 89 e5 48 8b 47 18 48 3b
Feb 19 22:55:30 <host> kernel: signal-desktop[12973]: segfault at 140 ip 00007f4315a8f0be sp 00007ffc05ca72d0 error 4 in libGLESv2.so[7f4315895000+1fe000]
Feb 19 22:55:30 <host> kernel: Code: 00 05 00 00 5b 41 5c 41 5e 41 5f 5d e9 88 00 00 00 41 89 0e 5b 41 5c 41 5e 41 5f 5d c3 53 48 8b 3d d7 3c 01 00 e8 ec 00 00 00 <ff> 90 40 01 00 00 48 85 c0 74 1f 48 89 c3 48 8b 00 48 89 df ff 50
Feb 19 22:55:30 <host> kernel: signal-desktop[12999]: segfault at 140 ip 00007f4315a8f0be sp 00007ffc05ca72d0 error 4 in libGLESv2.so[7f4315895000+1fe000]
Feb 19 22:55:30 <host> kernel: Code: 00 05 00 00 5b 41 5c 41 5e 41 5f 5d e9 88 00 00 00 41 89 0e 5b 41 5c 41 5e 41 5f 5d c3 53 48 8b 3d d7 3c 01 00 e8 ec 00 00 00 <ff> 90 40 01 00 00 48 85 c0 74 1f 48 89 c3 48 8b 00 48 89 df ff 50
Feb 19 22:55:31 <host> kernel: signal-desktop[13026]: segfault at 140 ip 00007f4315a8f0be sp 00007ffc05ca72d0 error 4 in libGLESv2.so[7f4315895000+1fe000]
Feb 19 22:55:31 <host> kernel: Code: 00 05 00 00 5b 41 5c 41 5e 41 5f 5d e9 88 00 00 00 41 89 0e 5b 41 5c 41 5e 41 5f 5d c3 53 48 8b 3d d7 3c 01 00 e8 ec 00 00 00 <ff> 90 40 01 00 00 48 85 c0 74 1f 48 89 c3 48 8b 00 48 89 df ff 50

The output for enable logging confirms:
$ signal-desktop --enable-logging
Set Windows Application User Model ID (AUMID) { appUserModelId: '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/will/.config/Signal
config/get: Successfully read user config file
x-attr dependency did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"app ready","time":"2021-02-20T04:03:46.203Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"starting version 1.40.0","time":"2021-02-20T04:03:46.203Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"media access status undefined undefined","time":"2021-02-20T04:03:46.203Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"updateSchema:\n  Current user_version: 23;\n  Most recent db schema: 23;\n  SQLite version: 3.33.0;\n  SQLCipher version: 4.4.2 community;\n  (deprecated) schema_version: 113;\n","time":"2021-02-20T04:03:46.213Z","v":0}
[14122:0219/230346.240673:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 1 time(s)
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"Initializing BrowserWindow config: {\"show\":true,\"width\":1066,\"height\":694,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":true,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#3a76f0\",\"webPreferences\":{\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"enableRemoteModule\":true,\"preload\":\"/opt/Signal/resources/app.asar/preload.js\",\"nativeWindowOpen\":true,\"spellcheck\":true,\"backgroundThrottling\":false},\"icon\":\"/opt/Signal/resources/app.asar/images/signal-logo-desktop-linux.png\",\"x\":2006,\"y\":1034}","time":"2021-02-20T04:03:46.282Z","v":0}
[14122:0219/230346.288135:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 2 time(s)
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"spellcheck: user locale: en-US","time":"2021-02-20T04:03:46.323Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"spellcheck: available spellchecker languages:  [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]","time":"2021-02-20T04:03:46.323Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"spellcheck: setting languages to:  [\"en-US\"]","time":"2021-02-20T04:03:46.323Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"Begin ensuring permissions","time":"2021-02-20T04:03:46.350Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"Ensuring file permissions for 2 files","time":"2021-02-20T04:03:46.355Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"Finish ensuring permissions in 6ms","time":"2021-02-20T04:03:46.356Z","v":0}
[14122:0219/230346.360011:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 3 time(s)
[14122:0219/230346.399725:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 4 time(s)
[14122:0219/230346.438334:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 5 time(s)
[14122:0219/230346.483889:WARNING:gpu_process_host.cc(1267)] The GPU process has crashed 6 time(s)
[14122:0219/230346.489586:WARNING:gpu_process_host.cc(991)] Reinitialized the GPU process after a crash. The reported initialization time was 0 ms
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"Updating BrowserWindow config: {\"maximized\":false,\"autoHideMenuBar\":true,\"fullscreen\":false,\"width\":1069,\"height\":697,\"x\":2003,\"y\":1031}","time":"2021-02-20T04:03:46.855Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"config/set: Saving ephemeral config to disk","time":"2021-02-20T04:03:46.855Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"close event {\"shouldQuit\":false}","time":"2021-02-20T04:03:56.608Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"requestShutdown: Requesting close of mainWindow...","time":"2021-02-20T04:03:56.608Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"requestShutdown: Response never received; forcing shutdown.","time":"2021-02-20T04:05:56.609Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"before-quit event {\"readyForShutdown\":true,\"shouldQuit\":false}","time":"2021-02-20T04:05:56.610Z","v":0}
{"name":"log","hostname":"buggs-bunny","pid":14122,"level":30,"msg":"close event {\"readyForShutdown\":true,\"shouldQuit\":true}","time":"2021-02-20T04:05:56.610Z","v":0}

And when I run it with disabling the GPU, it works.  I've tested this several times, so definitely something with the library libGLESv2.so in the bin package.
Comment 13 Will Lepofsky 2021-02-20 04:49:14 UTC
Looks like someone added a bug report on GitHub for this:
https://github.com/signalapp/Signal-Desktop/issues/5047

So I added my information to it over there.
Comment 14 Ciprian Ciubotariu 2021-02-21 19:09:23 UTC
I installed on two Gentoo computers. One went directly to the blue screen. The other worked fine the first day, but upon second startup it went to blue screen as well.

Interestingly, after overwriting the shipped libGLESv2.so with a symlink, the window became black, but now the application is responsive (i.e you can quit it with Ctrl+Q or via systray) and the crashes in dmesg are no longer there.

/opt/Signal/libGLESv2.so -> /usr/lib64/libGLESv2.so
Comment 15 Ciprian Ciubotariu 2021-02-21 19:13:07 UTC
The github issue mentioned above discusses disabling GPU as workaround. It seems to work (test on only one of the computers):

signal-desktop --start-in-tray --disable-gpu
Comment 16 Larry the Git Cow gentoo-dev 2021-02-23 09:30:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa867d68758fb434ba2bc8d68473ca3dd9ac3de1

commit fa867d68758fb434ba2bc8d68473ca3dd9ac3de1
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-02-23 09:29:39 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-02-23 09:29:39 +0000

    net-im/signal-desktop-bin: remove bundled libGLESv2.so, use system one
    
    Bug: https://bugs.gentoo.org/771363
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../signal-desktop-bin-1.40.0-r2.ebuild            | 119 +++++++++++++++++++++
 profiles/package.mask                              |   1 +
 2 files changed, 120 insertions(+)
Comment 17 Joonas Niilola gentoo-dev 2021-02-23 09:32:22 UTC
Could you test signal-desktop-bin-1.40.0-r2? It just removes the bundled libGLESv2.so. Originally I tried using patchelf to load /usr/lib64 one, but signal-desktop loads it properly, just priorities /opt/Signal/libGLESv2.so over the system one if it's present. 

It now seems to work for me properly.
Comment 18 Joonas Niilola gentoo-dev 2021-02-23 09:59:59 UTC
Also for any future reports please show:
  emerge -pv --nodeps mesa libglvnd
Comment 19 Larry the Git Cow gentoo-dev 2021-02-23 10:10:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1c9144226f1682726d75a2eb561b030be2de15

commit ce1c9144226f1682726d75a2eb561b030be2de15
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-02-23 10:09:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-02-23 10:10:07 +0000

    net-im/signal-desktop-bin: don't symlink libEGL.so to system libs
    
     - since the one shipped by chromium is different to system libs.
    
    Suggested-by: sultan
    Bug: https://bugs.gentoo.org/771363
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../signal-desktop-bin-1.40.0-r3.ebuild            | 115 +++++++++++++++++++++
 profiles/package.mask                              |   1 +
 2 files changed, 116 insertions(+)
Comment 20 Joonas Niilola gentoo-dev 2021-02-23 10:12:22 UTC
Sorry for the spam! Please test signal-desktop-bin-1.40.0-r3 now, which is still masked. Our chromium team member advised against linking libEGL.so to system libs since the chromium bundled one is a bit modified. So far this ebuild works fine for me, at least I get to login screen. 

I have a feeling "this was it".
Comment 21 Tadej Obrstar 2021-02-23 12:07:16 UTC
(In reply to Joonas Niilola from comment #20)
> Sorry for the spam! Please test signal-desktop-bin-1.40.0-r3 now, which is
> still masked. Our chromium team member advised against linking libEGL.so to
> system libs since the chromium bundled one is a bit modified. So far this
> ebuild works fine for me, at least I get to login screen. 
> 
> I have a feeling "this was it".

This one works for me without --disable-gpu.
Comment 22 Will Lepofsky 2021-02-23 22:39:47 UTC
signal-desktop-bin-1.40.0-r3 is working for me.
Comment 23 Larry the Git Cow gentoo-dev 2021-02-24 13:13:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e31f71af78e14f14cef357b789c275f04322e831

commit e31f71af78e14f14cef357b789c275f04322e831
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-02-24 13:13:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-02-24 13:13:33 +0000

    package.mask: unmask signal-desktop-bin
    
    Closes: https://bugs.gentoo.org/771363
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 7 -------
 1 file changed, 7 deletions(-)