Closed arcivanov closed 3 years ago
$ strace -e trace=file -f signal-desktop | & grep libvips
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/lib/libvips.js", O_RDONLY|O_CLOEXEC) = 41
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/glibc-hwcaps/x86-64-v2/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/tls/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/tls/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/../../vendor/8.10.6/lib/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/signal-desktop/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/tls/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/tls/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/lib64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v2/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/tls/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/tls/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/tls/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/x86_64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/x86_64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 44762] openat(AT_FDCWD, "/usr/lib64/libvips-cpp.so.42", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
@arcivanov if you need to run new signal rpm right now, here is the list of missing libraries that I gathered from different snaps, almost all came from signal-desktop snap, and copied to signal folder:
/usr/lib64/signal-desktop/libbz2.so.1.0
/usr/lib64/signal-desktop/libbz2.so.1.0.4
/usr/lib64/signal-desktop/libcfitsio.so.5
/usr/lib64/signal-desktop/libcfitsio.so.5.3.43
/usr/lib64/signal-desktop/libHalf.so.12
/usr/lib64/signal-desktop/libHalf.so.12.0.0
/usr/lib64/signal-desktop/libhdf5_serial.so.100
/usr/lib64/signal-desktop/libhdf5_serial.so.100.0.1
/usr/lib64/signal-desktop/libIex-2_2.so.12
/usr/lib64/signal-desktop/libIex-2_2.so.12.0.0
/usr/lib64/signal-desktop/libIlmImf-2_2.so.22
/usr/lib64/signal-desktop/libIlmImf-2_2.so.22.0.0
/usr/lib64/signal-desktop/libIlmThread-2_2.so.12
/usr/lib64/signal-desktop/libIlmThread-2_2.so.12.0.0
/usr/lib64/signal-desktop/libjpeg.so.8
/usr/lib64/signal-desktop/libjpeg.so.8.0.2
/usr/lib64/signal-desktop/libMagickCore-6.Q16.so.3
/usr/lib64/signal-desktop/libMagickCore-6.Q16.so.3.0.0
/usr/lib64/signal-desktop/libmatio.so.4
/usr/lib64/signal-desktop/libmatio.so.4.4.0
/usr/lib64/signal-desktop/libvips-cpp.so.42
/usr/lib64/signal-desktop/libvips-cpp.so.42.6.5
/usr/lib64/signal-desktop/libvips.so.42
/usr/lib64/signal-desktop/libvips.so.42.6.5
/usr/lib64/signal-desktop/libwebp.so.6
/usr/lib64/signal-desktop/libwebp.so.6.0.2
Apparently something happened with the build system.
I'm going to stop 5.15 rollout while I investigate this. Thank you for reporting
Did a little of refactoring on the spec file (reviews are welcome!)
Should be solved by now.
Can you please try to update your package and see if it works for you?
Did a little of refactoring on the spec file (reviews are welcome!)
Should be solved by now.
Can you please try to update your package and see if it works for you?
Updated RPM (signal-desktop-5.15.0-2.fc34.x86_64 ) does not fix the issue for me on Fedora 34.
Same behavior? Did you double checked if you had some signal-desktop process hanging before trying to launch it again?
Platform is AMD Ryzen 5 4600H with Radeon Graphics (from cpuinfo) laptop. There are no signal-desktop zombie processes.
Still failing with signal-desktop-5.15.0-2.fc33.x86_64 on Fedora 33, just stuck at the loading screen.
Here is partial output of journalctl -f
Aug 30 22:17:48 bblasco-t490s systemd[3098]: Started Application launched by gnome-shell.
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: NODE_ENV production
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: NODE_CONFIG_DIR /usr/lib64/signal-desktop/resources/app.asar/config
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: NODE_CONFIG {}
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: ALLOW_CONFIG_MUTATIONS undefined
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: HOSTNAME undefined
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: NODE_APP_INSTANCE undefined
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: SUPPRESS_NO_CONFIG_WARNING undefined
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: SIGNAL_ENABLE_HTTP undefined
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: userData: /home/bblasco/.config/Signal
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: config/get: Successfully read user config file
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: x-attr dependency did not load successfully
Aug 30 22:17:49 bblasco-t490s signal-desktop.desktop[36815]: config/get: Successfully read ephemeral config file
Aug 30 22:17:49 bblasco-t490s audit[36815]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=36815 comm="signal-desktop" exe="/usr/lib64/signal-desktop/signal-desktop" sig=6 res=1
Aug 30 22:17:49 bblasco-t490s systemd[1]: Created slice Slice /system/systemd-coredump.
Aug 30 22:17:49 bblasco-t490s audit: BPF prog-id=76 op=LOAD
Aug 30 22:17:49 bblasco-t490s audit: BPF prog-id=77 op=LOAD
Aug 30 22:17:49 bblasco-t490s audit: BPF prog-id=78 op=LOAD
Aug 30 22:17:49 bblasco-t490s systemd[1]: Started Process Core Dump (PID 36837/UID 0).
Aug 30 22:17:49 bblasco-t490s audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-36837-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 30 22:17:49 bblasco-t490s dleyna-renderer-service[36806]: dLeyna: Exit
Aug 30 22:17:49 bblasco-t490s systemd[3098]: dbus-:1.2-com.intel.dleyna\x2drenderer@10.service: Succeeded.
Aug 30 22:17:49 bblasco-t490s systemd-coredump[36838]: [🡕] Process 36815 (signal-desktop) of user 1000 dumped core.
fragment of app.log too:
{"level":50,"time":"2021-08-30T12:25:02.591Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'storage' of undefined\n at file://[REDACTED]/resources/app.asar/libtextsecure/protocol_wrapper.js:8:21\n at file://[REDACTED]/resources/app.asar/libtextsecure/protocol_wrapper.js:9:3"}
{"level":50,"time":"2021-08-30T12:25:02.593Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/key_verification_view.js:10:51\n at file://[REDACTED]/resources/app.asar/js/views/key_verification_view.js:37:3"}
{"level":50,"time":"2021-08-30T12:25:02.594Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/recorder_view.js:12:39\n at file://[REDACTED]/resources/app.asar/js/views/recorder_view.js:149:3"}
{"level":50,"time":"2021-08-30T12:25:02.594Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/inbox_view.js:16:61\n at file://[REDACTED]/resources/app.asar/js/views/inbox_view.js:242:3"}
{"level":50,"time":"2021-08-30T12:25:02.595Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/install_view.js:26:38\n at file://[REDACTED]/resources/app.asar/js/views/install_view.js:238:3"}
{"level":50,"time":"2021-08-30T12:25:02.595Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/phone-input-view.js:10:41\n at file://[REDACTED]/resources/app.asar/js/views/phone-input-view.js:40:3"}
{"level":50,"time":"2021-08-30T12:25:02.595Z","pid":38154,"hostname":"bblasco-t490s","msg":"Top-level unhandled error: TypeError: Cannot read property 'extend' of undefined\n at file://[REDACTED]/resources/app.asar/js/views/standalone_registration_view.js:12:53\n at file://[REDACTED]/resources/app.asar/js/views/standalone_registration_view.js:106:3"}
Confirming version:
[bblasco@bblasco-t490s logs]$ rpm -qa | grep ignal
signal-desktop-5.15.0-2.fc33.x86_64
I couldn't reproduce so I've tested in a freshly installed Fedora 34 LXQT installation. Signal didn't start up. Solved by installing vips.
Could you verify if installing vips (sudo dnf install vips
) and then starting signal again solves the issue for you?
Could you verify if installing vips (
sudo dnf install vips
) and then starting signal again solves the issue for you?
I can verify that it fixes the issue for me, anyway.
I couldn't reproduce so I've tested in a freshly installed Fedora 34 LXQT installation. Signal didn't start up. Solved by installing vips.
Could you verify if installing vips (
sudo dnf install vips
) and then starting signal again solves the issue for you?
Installing vips fixed it for me too. Thanks to all for debugging.
-3 works for me on F34
Too bad that this implies to disable CentOS/RHEL builds. They don't have vips
😞
Updated the spec file and triggered a build. -3
it is.
Thank you for all the reports.
FYI This triggers a reasonably sizeable dependency chain. Do we have a reason why this requirement came about in the first place?
[bblasco@bblasco-t490s logs]$ sudo dnf install vips
[sudo] password for bblasco:
Fedora 33 - x86_64 - Updates 3.1 kB/s | 4.2 kB 00:01
Fedora 33 - x86_64 - Updates 279 kB/s | 439 kB 00:01
Fedora Modular 33 - x86_64 - Updates 4.0 kB/s | 3.4 kB 00:00
Dependencies resolved.
=========================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================
Installing:
vips x86_64 8.9.2-2.fc33 updates 1.4 M
Installing dependencies:
ImageMagick-libs x86_64 1:6.9.11.27-1.fc33 fedora 2.3 M
cfitsio x86_64 3.470-3.fc33 fedora 588 k
graphviz x86_64 2.44.0-14.fc33.2 updates 3.2 M
gts x86_64 0.7.6-38.20121130.fc33 fedora 237 k
hdf5 x86_64 1.10.6-2.fc33 fedora 2.1 M
lasi x86_64 1.1.3-4.fc33 fedora 56 k
libXaw x86_64 1.0.13-15.fc33 fedora 201 k
libaec x86_64 1.0.4-6.fc33 fedora 38 k
liblqr-1 x86_64 0.4.2-15.fc33 fedora 49 k
libwmf-lite x86_64 0.2.12-4.fc33 fedora 73 k
matio x86_64 1.5.21-1.fc33 updates 138 k
netpbm x86_64 10.95.00-1.fc33 updates 186 k
nifticlib x86_64 2.0.0-24.fc33 fedora 160 k
openslide x86_64 3.4.1-15.fc32 fedora 111 k
xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-25.fc33 fedora 1.0 M
Transaction Summary
=========================================================================================================================
Install 16 Packages
Total download size: 12 M
Installed size: 39 M
Is this ok [y/N]:
@benblasco apparently signal-desktop now includes "sharp" module which uses vips library. extra 39M is not much compare to about 330M of signal-desktop itself.
@benblasco no idea why they added it. I guess that to remove that dependency I would need to start patching Signal Desktop internals to remove functionality and therefore their dependencies
@benblasco no idea why they added it. I guess that to remove that dependency I would need to start patching Signal Desktop internals to remove functionality and therefore their dependencies
Thanks for explaining, and thanks for the great work you do in building this RPM for people to use on Fedora/RHEL/CentOS etc.
Here's the culprit in main.logs
Here's the fragment of app.logs