-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signal-desktop hangs after ca. 1 day of running and fails to send or receive messages #6577
Comments
I restarted yesterday… messages written out on starting terminal since yesterday (excerpt):
|
any ideas? even for a workaround? right now I have to restart daily and have no idea what is happening |
I now see the same. Also on a Debian (bookworm) system, with signal version 6.29.1 (which I believe is the latest Debian package available). |
@knarrff can you provide a debug log? |
Next time it happens. I'll likely have to wait for a day or so. |
You probably know better what to look for. Just a few things that might help:
After that network connections seem to be recovering, but notifications stay off. |
@knarrff Your log also has these
|
Hmm, I do have the I had tried killing the network thread of signal-desktop alone, which caused it to be restarted, but that did not recover full functionality. |
This machine has a wired connection set up via network manager connected to a university network. I don't do suspend/resumes here.
Edit: I have disabled ipv6 for now and restarted after the next crash |
Setup is as flexible as a typical laptop: partially wired ethernet and partially wifi. In case it is important: some of the networks it is connected to do support IPv6, some do not. Sometimes I intentionally disable ipv6 using /proc/sys/net/ipv6/conf/all/disable_ipv6. There is multiple wired ethernet and multiple wifi networks it regularly connects to. How the laptop is connected can change right after resume, but also right in the middle of normal operation. network-manager deals with that, version 1.42.4-1 currently, on a Debian stable machine. |
I had disabled ipv6 and it didn't make any difference. My network config is
then very simple and short (just the ipv4 part of what I had shown)
Frank Löffler ***@***.***> schrieb am Di., 19. Sept. 2023,
06:46:
… @iridos <https://github.com/iridos> @knarrff <https://github.com/knarrff>
What can you tell us about your network setup?
Setup is as flexible as a typical laptop: partially wired ethernet and
partially wifi. In case it is important: some of the networks it is
connected to do support IPv6, some do not. There is multiple wired ethernet
and multiple wifi networks it regularly connects to. How the laptop is
connected can change right after resume, but also right in the middle of
normal operation.
—
Reply to this email directly, view it on GitHub
<#6577 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAS57LNDXMOC3CAOGT5AQD3X3EPRRANCNFSM6AAAAAA3SJSRA4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hmm. Actually, I just noticed something after unlocking the screensaver - whatsapp web and signal-desktop both showed a "reconnecting to network" message. But I don't understand why that is. Network definitely isn't available only during the times when my desktop isn't locked by a screensaver - log in via ssh from home in the evening or morning all the time with no issue. I think the issue wasn't triggered at that time with the visual "reconnecting" status but the next time after I had locked the screen. But there were no "could not resolve host" messages this time. Now I wonder: why did signal-desktop have to reconnect at the time. The screensaver forcibly grabs all input - could this block something? The screensaver used here is light-locker (default for the installed DE/WM). Maybe it depends on the screen-saver used. I just killed light-locker and started xscreensaver. We will see within the next week if that makes the problem disappear. Best, |
Maybe just a red herring, but I also use light-locker (also default here). |
That seems to have made a difference. signal-desktop can still send&receive messages after the weekend, which is a longer time than what I can remember seeing without a hang. There is now another problem that most emotes can't be shown after the weekend (I think all emotes that I hadnt't recently used), but no idea if that h is a different manifestation of the same thing. |
@iridos Emoji not loading often means that the app was updated out from under you, so on-disk references no longer work. Also causes crashes if you try to click a link. Do you have automatic apt updates configured? |
Hi, another day without it hanging. I think removing light-locker was a change that made the problem disappear for me. Maybe you can try to repoduce it yourself now by using light-locker? light-locker has an option --idle-hint/--no-idle-hint. I guess it sets that while it is active by default. xscreensaver does not seem to do that (at least the man-page does not mention it), so that is a possible pointer. @scottnonnenberg-signal I do. And it restarts services as needed, but of course, signal-desktop is not a service. Good explanation. But I think that is not a possible cause for the message-hangs I had experienced before but is unrelated, as the hangs could happen several times a day and automatic updates don't happen with that frequency. |
So, I have been away for the last couple of days - back and signal-desktop was still running without problems. I switched back to light-locker yesterday - and had to enable dpms and screen blanking via xorg with something like "xset s 300". So after doing this yesterday, today signal-desktop hangs again like it did before. Without screen blanking by xorg, light-locker wouldn't lock, except via command or key-stroke. I locked like that 2-3 times and signal-desktop kept running (but those few times are not enough for proof) Have you already tried reproducing the error? |
Any news? Could you reproduce by now? |
I think the trigger is described quite closely now. Do you need further help to track the problem? |
I'm having this issue. I'm not sure what the trigger is, since I'm not using light-locker. I also don't suspend. Simply use Ubuntu stock lock screen. |
@mzguy could you submit and quote the debug log here when the issue happens again, please? |
Hi, |
It's not fixed. I just submitted an issue to Signal with a debug log. |
@mzguy I don't think it's light-locker per se… locking and grabbing kbd is what xscreensaver also does. Also… I think it's just a reflex to ask for the debug information. I looked at the debug information and I don't see a clue in it as to what's happening. Also several people already submitted debug information how is one or several more going to help |
Any news on this? |
I was also going to check on this today and got the notification of a new post! I have to kill the Signal processes daily and restart them. If I don't notice, I type and try to send a message which often gets lost if I don't notice it's not going out. |
Sorry about this. I know it might seem like a reflex, but it is hard to be sure we know what we are looking at without debug log. Could you still submit one right after reproducing the issue? Thank you! |
So as an update from me: after switching away from light-locker, I have not seen any hangs over months now. After switching back to light-locker, I am still seeing the problem after having run signal-desktop in the background for 2 days. Has anyone tried reproducing this using light-locker? Light-locker does seem to not do so much itself, but let the X11 server do the blanking/powersaving. I could have done some more tests to narrow the actual cause down, but … well… some suggestions would have been nice and also to know this goes towards a fix. And yeah, it seems like a reflex and I do wonder what having YADD (yet another debug dump) is going to tell you that the previous debug dumps have not told you. Sure, it might be a different problem, but as the one I reported nearly a year ago remains unfixed, that point seems pretty moot. Here's some more debug info, now from signal-desktop 7.9.0 (messages on connecting to pid omitted):
|
@iridos Thanks for the tip. I removed light-locker from both a Debian & Mint distributions running XFCE & Lightdm. |
@indutny-signal I just noticed this. I did submit a debug log when asked. I'm running Ubuntu 20.04 LTE, very popular and vanilla setup. I haven't installed any other screensavers or anything like that. Did you see my debug log? Can you reproduce or find the root cause of this issue yet? |
I've been dealing with this issue with Debian 12 / Xfce / light-locker. Locking a session causes browser websocket connections to drop as well as any sort of electron based apps that use websockets. Basically any X11 apps that have a persistent network connection lose connectivity. SSH connections and cli utilities started from a session are unaffected. Firefox and Chromium recover fine. Other apps vary. Signal fails to re-establish it's connection (or out right becomes unresponsive and has to be killed). My current logs show Signal failing to re-establish a websocket since unlocking my computer.
|
Bug Description
signal-desktop hangs after a day or so, usually the next day after leaving it over night.
Steps to Reproduce
System: Debian/openbox/xfce4-panel
Actual Result:
After that time, no more messages are received and trying to send messages stops at an incomplete first circle with a dashed border - see screenshot.
Expected Result:
sends/receives messages
Screenshots
Screenshot:
Platform Info
Signal-desktop Version:
6.26.0
production
ii signal-desktop 6.26.0 amd64
Operating System: Debian Linux 12.0 and 11.0 (I have seen the same behavior on two different systems with different Debian versions)
Linked Device Version:
6.28.6
Link to Debug Log
https://debuglogs.org/desktop/6.26.0/d4e9a9f3bb7f663cf4d024deb731126fe367bb4cbffe5a3999efef79bc35bba3.gz
Device debug log:
https://debuglogs.org/android/6.28.6/5bae01c3493ddf84e176887d1e285c693ca6271877289f0535338cf38dbb4af4
The text was updated successfully, but these errors were encountered: