Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

MacOS Sonoma Crash - Render process is gone

Open Synesso opened this issue 1 year ago • 39 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Bug Description

Since updating to MacOS Sonoma 14.0, Signal will crash. It happens at a time not associated with my using it. After crashing once or twice, it is automatically removed from Applications and I need to reinstall & relink it.

The error is

Render process is gone

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

Steps to Reproduce

  1. install signal
  2. link device (this may be optional)
  3. wait appx 30 minutes.

Actual Result:

Abrupt crash

Expected Result:

No crash.

Platform Info

Signal Version:

v6.31.0

Operating System:

MacOS Sonoma v14.0 M1 Max

Linked Device Version:

iOS v6.42.0.18

Link to Debug Log

Unable to locate the debug view as the application is removed immediately after crash.

ooooh, I wonder if the os is removing the application and that's why it crashes?

Synesso avatar Sep 29 '23 06:09 Synesso

Sorry about this. Could you try running Signal Beta to see if it works, please? https://support.signal.org/hc/en-us/articles/360007318471-Signal-Beta

indutny-signal avatar Sep 29 '23 15:09 indutny-signal

I'm having the same thing, tried the beta version and Signal just crashed again with the same error. Let me know how I can help provide more info.

khepin avatar Oct 06 '23 18:10 khepin

Yes I am having the same issue. Here are my logs https://debuglogs.org/desktop/6.34.0-beta.2/5a3531c3f0746f1b5bdac1f66a38600708a0d61b3fceb20a9a83f24798786e4e.gz

With the normal version of signal the app is removed from the application folder when the error happens With the beta version the error still remains but the app is not removed (which is already an improvement) more info on this duplicated bug

JodyVanden avatar Oct 08 '23 22:10 JodyVanden

@JodyVanden next time it crashes - could you submit the crash dump and send it to us? It should ask you to submit it on startup after the crash. Thanks!

indutny-signal avatar Oct 10 '23 17:10 indutny-signal

I don't get asked to submit a report after restarting the app when a crash has occurred.

khepin avatar Oct 10 '23 18:10 khepin

hey, @indutny-signal I don't get asked to submit a crash dump report. that's why I submitted all the logs. I will keep an eye for the next crash and can resubmit logs if that is useful?

JodyVanden avatar Oct 11 '23 00:10 JodyVanden

Happened again just now. Beta version. App was running for about 30 minutes.

This is the dialog

image

Restarted and saved logs: https://debuglogs.org/desktop/6.34.0-beta.2/519a3a2f1ac42768dac99ea1ffbca8c66339a77448f23b25531d9d327b04a8f4.gz

Synesso avatar Oct 11 '23 22:10 Synesso

Also got a crash, it happened specifically when first trying to connect to Windscribe VPN while no Signal Desktop windows were shown (but it was running), not sure if that's related though.

https://debuglogs.org/desktop/6.38.0-beta.1/desktop-crash-870b28b4594daee25f5742803441afeb7d96dae7998d301d8e8dae4c0fb65713.dmp

https://debuglogs.org/desktop/6.38.0-beta.1/3285b69a0b4e7066f37b26375b27c4a565e15fbb6a4e06c75d2420d4c409c4f6.gz

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 WebContents.<anonymous> (node:electron/js2c/browser_init:2:90245)
    at WebContents.emit (node:events:525:35)

awaitlink avatar Nov 05 '23 14:11 awaitlink

Happens on my mac, too, and I strongly suspect that it happens whenever I connect or disconnect from a VPN.

HenningWaack avatar Nov 14 '23 07:11 HenningWaack

Yes, it does seem to be related to this: https://github.com/signalapp/Signal-Desktop/issues/6496

Different exit code, though!

scottnonnenberg-signal avatar Nov 14 '23 17:11 scottnonnenberg-signal

I tested again without enabling VPN and it crashed in the same manner. VPN is installed though, just wasn't active.

On Wed, 15 Nov 2023 at 03:25, Scott Nonnenberg @.***> wrote:

Yes, it does seem to be related to this: #6496 https://github.com/signalapp/Signal-Desktop/issues/6496

Different exit code, though!

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/6622#issuecomment-1810751980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFKY4CILVCTX4HYRJOII3YEOSQJAVCNFSM6AAAAAA5MAFXFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQG42TCOJYGA . You are receiving this because you authored the thread.Message ID: @.***>

Synesso avatar Nov 14 '23 22:11 Synesso

@Synesso could you try reproducing it with Signal Beta and send us a crash dump, please? Thanks!

indutny-signal avatar Nov 14 '23 22:11 indutny-signal

This was beta. Sorry, there is still no crash dump. I suspect, at least in my case, it may be Malwarebytes or something similar nuking the process as a "security" measure.

On Wed, 15 Nov 2023 at 08:04, Fedor Indutny @.***> wrote:

@Synesso https://github.com/Synesso could you try reproducing it with Signal Beta and send us a crash dump, please? Thanks!

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/6622#issuecomment-1811435278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFKYZICQ2G2WD73RNZ6A3YEPTGPAVCNFSM6AAAAAA5MAFXFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJRGQZTKMRXHA . You are receiving this because you were mentioned.Message ID: @.***>

Synesso avatar Nov 14 '23 23:11 Synesso

@Synesso ah, right. This is indeed not related. Absence of crash dump is a sign that the process likely didn't actually crash at all and was killed.

indutny-signal avatar Nov 15 '23 00:11 indutny-signal

just happened to me but on OSX Monterey 12.3 (21E230). no vpn.

first time ever. i had just pasted a message with a link into a chat and it was generating the preview then crashed

https://debuglogs.org/desktop/6.42.1/8cb55962d207f1204889ed318a1729f49165f1dabbc2061084044cf4030d3395.gz

Signal - 6.42.1


Error: Reason: crashed, Exit Code: 5
    at App.<anonymous> ([REDACTED]/app/global_errors.js:88:7)
    at App.emit (node:events:526:35)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:89748)
    at WebContents.emit (node:events:526:35)

dgobaud avatar Dec 29 '23 17:12 dgobaud

@dgobaud Sorry this is happening for you. I took a look at the logs and can't find anything obviously wrong.

Can you reproduce the crash regularly; and is it possible to try the Beta build so crash dumps would be available for us to look through? https://support.signal.org/hc/en-us/articles/360007318471-Signal-Beta

ayumi-signal avatar Jan 04 '24 03:01 ayumi-signal

Thanks for looking it only happened once so far

On Wed, Jan 3, 2024 at 10:34 PM ayumi-signal @.***> wrote:

@dgobaud https://github.com/dgobaud Sorry this is happening for you. I took a look at the logs and can't find anything obviously wrong.

Can you reproduce the crash regularly; and is it possible to try the Beta build so crash dumps would be available for us to look through? https://support.signal.org/hc/en-us/articles/360007318471-Signal-Beta

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/6622#issuecomment-1876262406, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB2ZK63JYW72NLI7UXEAK3YMYPM7AVCNFSM6AAAAAA5MAFXFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGI3DENBQGY . You are receiving this because you were mentioned.Message ID: @.***>

dgobaud avatar Jan 04 '24 03:01 dgobaud

This time I was able to get the following error message:

Render process is gone

Error: Reason: killed, Exit Code: 15
    at App.<anonymous> ([REDACTED]/app/global_errors.js:88:7)
    at App.emit (node:events:526:35)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:89748)
    at WebContents.emit (node:events:526:35)

This is on Signal Beta. Hope this helps.

khepin avatar Jan 10 '24 18:01 khepin

@khepin The exit code is something, but the crash dump (you should see a prompt when you next start up after a crash) is what we really need.

scottnonnenberg-signal avatar Jan 10 '24 19:01 scottnonnenberg-signal

Still not getting those unfortunately

khepin avatar Jan 10 '24 19:01 khepin

@khepin Have you tracked it down to anything you're doing in the app, or is happening on your computer? (like a VPN change or other network change, say)

scottnonnenberg-signal avatar Jan 10 '24 21:01 scottnonnenberg-signal

Nope, I thought it was VPN earlier on, but it's clearly not related.

khepin avatar Jan 10 '24 22:01 khepin

Nope, I thought it was VPN earlier on, but it's clearly not related.

Well, actually for me it is, on the Network Change event (trigged by initiating a VPN Connection), I get:

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

This is on Signal Desktop Version 6.44.0 (1) on Sonoma 14.2.1 (23C71)

cmahnke avatar Jan 16 '24 10:01 cmahnke

Hello, I am observing pretty much the same problem, but crashing with Exit Code: 10. It crashes every time Cisco Secure Connect connects. The native VPN client was not causing this issue. M2 MacBook Pro, Sonoma 14.2.1

rjanalik avatar Mar 10 '24 20:03 rjanalik

Here is the log https://debuglogs.org/desktop/7.5.0/a08b7700ee65a0cb747c5469d274d922955ef04dff0d05d1dfc1465563b09b1e.gz

rjanalik avatar Apr 17 '24 20:04 rjanalik

It's possible that this new option may help you avoid crashes? https://github.com/signalapp/Signal-Desktop/commit/bcaf60a3b2b6e1aaeaf463ec2558543abab9e594

scottnonnenberg-signal avatar Apr 17 '24 21:04 scottnonnenberg-signal

It seems it still crashes with --disable-ipv6 Here is the log https://debuglogs.org/desktop/7.5.0/fe51dd4e9f683c6d3464b2133ea4df05f2face02894712b2eecbc657517f7037.gz

I have Signal version 7.5.0. I am not able to say if this version already has --disable-ipv6 or not, though.

rjanalik avatar Apr 18 '24 21:04 rjanalik

@rjanalik sorry, it actually doesn't have it yet. Could you try installing a beta? Thank you!

indutny-signal avatar Apr 22 '24 14:04 indutny-signal

Sure. Can I install it side by side with the stable version?

rjanalik avatar Apr 22 '24 14:04 rjanalik

@rjanalik yup, they will be completely isolated from each other. Thank you!

indutny-signal avatar Apr 22 '24 14:04 indutny-signal