Skip to content
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 crashes with exit code 11 on network changes #6496

Open
2 tasks done
christianmahnke opened this issue Jun 28, 2023 · 32 comments
Open
2 tasks done

Signal crashes with exit code 11 on network changes #6496

christianmahnke opened this issue Jun 28, 2023 · 32 comments

Comments

@christianmahnke
Copy link

  • I have searched open and closed issues for duplicates

This one ist the most similar one: #6166

  • I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Bug Description

MacOS App isn't resiliant to network changes, like switching to a VPN connection.

Steps to Reproduce

  1. Start Signal
  2. Connect to a VPN using Cisco AnyConnect
  3. Crash

Actual Result:

Render process is gone

Error: Reason: crashed, Exit Code: 11
at App. ([REDACTED]/app/global_errors.js:88:7)
at App.emit (node:events:525:35)
at EventEmitter. (node:electron/js2c/browser_init:2:82487)
at EventEmitter.emit (node:events:513:28)

Expected Result:

It should just work.

Screenshots

Bildschirmfoto 2023-06-28 um 06 40 18

Platform Info

Signal Version:

6.22.0 (1)

Operating System:

13.3 (22E252)

Linked Device Version:
Not applicabale

Link to Debug Log

https://debuglogs.org/desktop/6.22.0/222dad9ac1d791830c538d12ecf65f486c9d3e9840323726547c7ec241de7288.gz

Notes

If this is an upstream issue, just restart the Render process.

@trevor-signal
Copy link
Contributor

Hi @christianmahnke , thanks for the report. Does this happen every time you connect to the VPN? Does Signal Desktop work fine if you start it while the VPN is active?

@naspert
Copy link

naspert commented Jun 30, 2023

I have the same issue here. Connecting to vpn crashes signal. If started when the VPN is active it is fine.
Here is my error trace (with 6.23.0)

Render process is gone

Error: Reason: crashed, Exit Code: 11
    at App.<anonymous> ([REDACTED]/app/global_errors.js:88:7)
    at App.emit (node:events:525:35)
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:89977)
    at EventEmitter.emit (node:events:513:28)

@trevor-signal
Copy link
Contributor

trevor-signal commented Jun 30, 2023

@naspert do you mind sharing a debug log?

Is this just when connecting to one VPN in particular? Is there anything you can share about your VPN setup?

Does it happen when you (for example) switch wifi networks, or only with a VPN?

@naspert
Copy link

naspert commented Jun 30, 2023

do you mind sharing a debug log?

I can do that (are there instructions about how to do this somewhere ?)

Is this just when connecting to one VPN in particular? Is there anything you can share about your VPN setup?

VPN is my employer's (EPFL), Cisco AnyConnect v5.0.00556 and an update v5.0.02075 tested

Does it happen when you (for example) switch wifi networks, or only with a VPN?

Switching wifi does not cause any issue (just a brief message saying the connection is unavailable but then back to normal)

@trevor-signal
Copy link
Contributor

I can do that (are there instructions about how to do this somewhere ?)

https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports, thanks!

Thanks for this info -- do you know about when this behavior started for you?

@naspert
Copy link

naspert commented Jun 30, 2023

Here is the debuglog (I peeked briefly at it and it does not seem to contain anything when the crash happens...)

signal-debuglog.txt.zip

do you know about when this behavior started for you?

I do not remember precisely but I would say ca. 1-2 weeks (maybe more ?)

@scottnonnenberg-signal
Copy link
Contributor

What do you see on the latest production (6.24) and beta (6.25) builds? We've heard from some users that network/vpn changes no longer cause crashes.

@naspert
Copy link

naspert commented Jul 7, 2023

just tried it with 6.24.0 and the same crash occurs when connecting the vpn

@scottnonnenberg-signal
Copy link
Contributor

Would you consider installing the beta to see if the crashes still happen with that newer version?

https://support.signal.org/hc/en-us/articles/360007318471-Signal-Beta

@naspert
Copy link

naspert commented Jul 13, 2023

So far still occurs with the new 6.25.0 release

@scottnonnenberg-signal scottnonnenberg-signal changed the title Signal can't handle network changes Signal crashes with exit code 11 on network changes Jul 13, 2023
@petarbeck
Copy link

I also have the same crashes when connecting to Cisco Anyconnect => 6.26.0 production (Apple silicon)
Is more debug info/logs necessary or do you have enough to identify the issue?
Thanks

@josh-signal
Copy link
Contributor

@petarbeck yes please debug logs would maybe help, also more information on your OS, network, and any special software/setup you might be running.

@petarbeck
Copy link

The "submit" feature seems to not be working for me, but I attached the debug log here.
It's a MacBook Pro with 32GB RAM, M1 Pro Chip and MacOS Ventura 13.4.1 (c)

In the debug log it says that it doesn't find a window. At the time of the crash my window is indeed closed - Not minimized, but closed. The app is still running, but the window is closed. Maybe this is the issue at hand here.

Yes actually. The app does not crash, when I keep the window open.

debuglog.txt

@josh-signal
Copy link
Contributor

@petarbeck if you're willing to install the beta version you could get us a crash dump, this also may be fixed in the latest 6.27.0-beta.3

@sbecuwe
Copy link

sbecuwe commented Aug 1, 2023

After restarting the app (6.28.0-beta.1), I could upload a crash report.
It crashed after setting up a VPN connection with Cisco AnyConnect 4.10.07061.

@scottnonnenberg-signal
Copy link
Contributor

@sbecuwe Can you try it again, and this time send us the URL for your uploaded crash dump? Those crash dump uploads don't include any personal information, so we can't relate it back to you.

@naspert
Copy link

naspert commented Aug 29, 2023

Crash still happening with signal 6.29.1 (for apple chips)

@guger
Copy link

guger commented Sep 4, 2023

Still crashing on M1 MacBook with Signal 6.29.1. VPN is Cisco AnyConnect.

@trevor-signal
Copy link
Contributor

@naspert , @guger are you seeing the same behavior as @petarbeck , where the app does not crash if the Signal window is open?

@guger
Copy link

guger commented Sep 5, 2023

@trevor-signal Yes, I just tried it. Seems like the issue does only occur when the full-screen window is hidden (in a macOS "space"). If it's just minimized in Stage Manager, everything's fine.

@naspert
Copy link

naspert commented Sep 5, 2023

@trevor-signal same for me: if the window is opened before connecting to the vpn the crash does not occur

@guger
Copy link

guger commented Sep 5, 2023

@trevor-signal In my case, it only crashes when disconnecting from the vpn but never when establishing a connection..

@trevor-signal
Copy link
Contributor

Thanks! That's great info for us as we continue to investigate.

@untitaker
Copy link

This is trivially reproducible with Mullvad for Mac as well.

@indutny-signal
Copy link
Contributor

Hello! We identified it as a macOS Kernel bug that so far seems to affect only M1/M2 architectures. At least with Mullvad it can be resolved by enabling IPv6 support in Mullvad configuration, but with other VPN providers the workaround should be similar - make sure that IPv6 is enabled in the configuration.

For the context: the kernel error happens when you turn on IPv4-only VPN while Signal has an IPv6 connection open. Instead of returning errors when sending data over this existing connection - the kernel starts to return complete nonsense. We filed the bug with Apple: FB13192958

@naspert
Copy link

naspert commented Sep 22, 2023

, but with other VPN providers the workaround should be similar - make sure that IPv6 is enabled in the configuration.

This is unfortunately not possible (not in my control...). The only "workaround" accessible would be to disable ipv6 completely

@Fil
Copy link

Fil commented Jan 26, 2024

Same issue with NordVPN, macbook air M1.

@guger
Copy link

guger commented Feb 22, 2024

Any chance there is a workaround to realize in Signal since this is really annoying? Other (messaging) apps do not crash, too, what is the difference between Signal and e.g. WhatsApp here?

@vishalvibes
Copy link

vishalvibes commented Jul 30, 2024

Getting this while using PIA VPN.
I use Signal Beta on MacOS Sonoma 14.5

M1, 16GB Ram, MacBook Air

@neunzehnachtneun
Copy link

Seems to be solved since Sequoia 15.2. Can anyone else confirm?

@sbecuwe
Copy link

sbecuwe commented Dec 20, 2024

Not for me (Sequoia 15.2). I'm using Cisco Secure Client 5.1.6.103.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests