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

macOS: Application crashes on exit with error dialog #1282

Closed
bedhub opened this issue May 22, 2019 · 6 comments
Closed

macOS: Application crashes on exit with error dialog #1282

bedhub opened this issue May 22, 2019 · 6 comments
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Milestone

Comments

@bedhub
Copy link
Contributor

bedhub commented May 22, 2019

This does not happen if you just open the app and then closing it immediately. You have to work a while with the desktop client and then quit the application. Here is an example output of the error information:

Process: Tutanota Desktop [734]
Path: /Applications/Tutanota Desktop.app/Contents/MacOS/Tutanota Desktop
Identifier: de.tutao.tutanota
Version: 3.50.10 (3.50.10.361)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Tutanota Desktop [734]
User ID: 501

Date/Time: 2019-05-07 10:35:58.875 +0200
OS Version: Mac OS X 10.14.4 (18E226)
Report Version: 12

Time Awake Since Boot: 6500 seconds
Time Since Wake: 6300 seconds

System Integrity Protection: enabled

Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [734]

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.github.Electron.framework 0x0000000106c4e4df 0x104eab000 + 31077599
1 com.github.Electron.framework 0x0000000106c4b00e 0x104eab000 + 31064078
2 com.github.Electron.framework 0x0000000106c4e5ef 0x104eab000 + 31077871
3 com.github.Electron.framework 0x0000000106c4c8f0 0x104eab000 + 31070448
4 com.github.Electron.framework 0x0000000106c4404a 0x104eab000 + 31035466
5 com.github.Electron.framework 0x0000000106b9ee0e 0x104eab000 + 30359054
6 com.github.Electron.framework 0x0000000106b19558 0x104eab000 + 29812056
7 com.github.Electron.framework 0x0000000104ead5df AtomMain + 95
8 de.tutao.tutanota 0x0000000104ea4f10 0x104ea4000 + 3856
9 libdyld.dylib 0x00007fff660cd3d5 start + 1

@bedhub bedhub added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels May 22, 2019
@bedhub
Copy link
Contributor Author

bedhub commented Jun 11, 2019

Reported by user:

I found out it only happens when I don’t log out before quitting. So maybe you just need to force a logout at that point.

@leoncfu
Copy link

leoncfu commented Jul 11, 2019

I am seeing this issue as well. If I do anything in the Mac app, it will crash on exit.

@bedhub bedhub added this to the Desktop client out of beta milestone Aug 13, 2019
@nadesco
Copy link

nadesco commented Sep 5, 2019

I've also had this problem for many months. The app crashes about 95% of the time on exit, mostly after I've already logged out.

I tried uninstalling/reinstalling tutanota.app and all its related files (twice) using AppCleaner but that worked only for a day or two and now it's back to crashing again.

Process:               Tutanota Desktop [9098]
Path:                  /Applications/Tutanota Desktop.app/Contents/MacOS/Tutanota Desktop
Identifier:            de.tutao.tutanota
Version:               3.59.4 (3.59.4.541)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Tutanota Desktop [9098]
User ID:               502

Date/Time:             2019-09-05 22:13:16.409 +0900
OS Version:            Mac OS X 10.14.6 (18G95)
Report Version:        12

Time Awake Since Boot: 5500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [9098]


@charlag
Copy link
Contributor

charlag commented Oct 7, 2019

It's almost certainly caused by electron/electron#19842

@charlag
Copy link
Contributor

charlag commented Nov 28, 2019

I've added a long comment with my idea of why it might happen:
electron/electron#19842 (comment)

@ganthern
Copy link
Contributor

should be fixed with electron/electron#21709 which is part of electron v7.1.9

ganthern added a commit that referenced this issue Jan 21, 2020
@charlag charlag added the state:tested We tested it and are about to release it label Jan 31, 2020
@ganthern ganthern removed their assignment Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Projects
None yet
Development

No branches or pull requests

5 participants