signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.6k stars 2.66k forks source link

signal-desktop dies when run in background #7057

Open harridu opened 3 days ago

harridu commented 3 days ago

Using a supported version?

Overall summary

If I run signal-desktop in the background, then there is a popup saying

Unhandled Error

Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:161:15)
    at writeGeneric (node:internal/stream_base_commons:152:3)
    at Socket._writeGeneric (node:net:954:11)
    at Socket._write (node:net:966:8)
    at writeOrBuffer (node:internal/streams/writable:570:12)
    at _write (node:internal/streams/writable:499:10)
    at Writable.write (node:internal/streams/writable:508:10)
    at Object.write ([REDACTED]/node_modules/pino/lib/multistream.js:71:16)
    at Pino.write ([REDACTED]/node_modules/pino/lib/proto.js:210:10)
    at Pino.LOG [as warn] ([REDACTED]/node_modules/pino/lib/tools.js:56:21)

App Version: 7.28.0
OS: linux

Next it dies.

Steps to reproduce

  1. start signal-desktop using "signal-desktop &".
  2. select a chat

Expected result

Signal should work.

Actual result

There are several popups indicating an internal error. See above for the first popup.

Screenshots

No response

Signal version

7.28.0

Operating system

Debian Sid

Version of Signal on your phone

7.32.1 (389)

Link to debug log

No response

npt commented 3 days ago

I often get this same error when I run Signal from the application menu, but not when I run it from the command line in the foreground. Run from the CLI in the background, AFAIK it

but I may be wrong about some of that (I only recently installed the app and haven't made many observations yet).

I'm running Signal 7.29.0 from the apt repository (same thing happened in 7.28.0) on Kubuntu 24.04.

npt commented 3 days ago

This looks like the same as the still-open #5057.