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

Crash at application closing on macOS Ventura / M2 chipset #1509

Open
sdelcroix opened this issue Feb 15, 2024 · 1 comment
Open

Crash at application closing on macOS Ventura / M2 chipset #1509

sdelcroix opened this issue Feb 15, 2024 · 1 comment
Labels

Comments

@sdelcroix
Copy link

Steps to reproduce

Since v1.11.55 release, the desktop app is crashing every time I close it

Here the trace :

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Element [11746]
Path:                  /Applications/Element.app/Contents/MacOS/Element
Identifier:            im.riot.app
Version:               1.11.58 (1.11.58)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-02-15 18:22:42.9520 +0100
OS Version:            macOS 13.6.4 (22G513)
Report Version:        12
Anonymous UUID:        69B3BE0C-7E70-32CB-0452-7C847C070785


Time Awake Since Boot: 34000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Codes:       0x0000000000000001, 0x0000000000000010

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [11746]

VM Region Info: 0x10 is not in any region.  Bytes before following region: 4302422000
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      10071c000-100720000    [   16K] r-x/r-x SM=COW  ...MacOS/Element

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	       0x1a02e1820 objc_msgSend + 32
1   Electron Framework            	       0x113a0fbb8 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 275876
2   Electron Framework            	       0x113a0f604 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 274416
3   Electron Framework            	       0x11399bc74 v8::CodeEvent::GetScriptName() + 6196
4   AppKit                        	       0x1a3b2836c -[NSApplication(NSResponder) sendAction:to:from:] + 440
5   AppKit                        	       0x1a3bf4338 -[NSMenuItem _corePerformAction] + 336
6   AppKit                        	       0x1a3bf40b4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 104
7   AppKit                        	       0x1a3c2fa40 -[NSMenu performActionForItemAtIndex:] + 200
8   AppKit                        	       0x1a3c2f960 -[NSMenu _internalPerformActionForItemAtIndex:] + 76
9   AppKit                        	       0x1a3c2f7b4 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 108
10  AppKit                        	       0x1a3bdc6c8 NSSLMMenuEventHandler + 640
11  HIToolbox                     	       0x1a9f873a4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1092
12  HIToolbox                     	       0x1a9f86828 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 356
13  HIToolbox                     	       0x1a9f9ca40 SendEventToEventTarget + 40
14  HIToolbox                     	       0x1a9ffa8e4 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 416
15  HIToolbox                     	       0x1aa01e564 SendMenuCommandWithContextAndModifiers + 56
16  HIToolbox                     	       0x1aa01e4f4 SendMenuItemSelectedEvent + 352
17  HIToolbox                     	       0x1aa01e320 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 100
18  HIToolbox                     	       0x1aa01ece0 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 560
19  HIToolbox                     	       0x1aa01ea00 _HandleMenuSelection2 + 416
20  AppKit                        	       0x1a3ad27b8 _NSHandleCarbonMenuEvent + 256
21  AppKit                        	       0x1a3ad25dc _DPSEventHandledByCarbon + 60
22  AppKit                        	       0x1a397ffa4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2232
23  AppKit                        	       0x1a3973e1c -[NSApplication run] + 464
24  Electron Framework            	       0x116bc28cc node::GetArrayBufferAllocator(node::IsolateData*) + 17974200
25  Electron Framework            	       0x116bc0738 node::GetArrayBufferAllocator(node::IsolateData*) + 17965604
26  Electron Framework            	       0x116b79488 node::GetArrayBufferAllocator(node::IsolateData*) + 17674100
27  Electron Framework            	       0x116b40070 node::GetArrayBufferAllocator(node::IsolateData*) + 17439580
28  Electron Framework            	       0x115cd2604 node::GetArrayBufferAllocator(node::IsolateData*) + 2310384
29  Electron Framework            	       0x115cd409c node::GetArrayBufferAllocator(node::IsolateData*) + 2317192
30  Electron Framework            	       0x115ccff74 node::GetArrayBufferAllocator(node::IsolateData*) + 2300512
31  Electron Framework            	       0x113b6d774 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 13948
32  Electron Framework            	       0x113b6e8dc v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 18404
33  Electron Framework            	       0x113b6e70c v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 17940
34  Electron Framework            	       0x113b6cfb8 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 11968
35  Electron Framework            	       0x113b6d158 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 12384
36  Electron Framework            	       0x11383e2f0 ElectronMain + 128
37  dyld                          	       0x1a0323f28 start + 2236

Outcome

What did you expect?

I expect that app don't crash at closing

What happened instead?

The app crashes

Operating system

macOS Ventura 13.6.4

Application version

1.11.58

How did you install the app?

https://element.io/download

Homeserver

No response

Will you send logs?

No

@BigslimVdub
Copy link

same issue Big Sur and M1, latest building nightly build (2/19/2024)
Similar issue Mac Intel

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

No branches or pull requests

2 participants