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

Element 1.11.58 crashes with SIGSEGV while starting (macOS 11.7.0) #1536

Closed
Kater--S opened this issue Feb 22, 2024 · 1 comment
Closed

Element 1.11.58 crashes with SIGSEGV while starting (macOS 11.7.0) #1536

Kater--S opened this issue Feb 22, 2024 · 1 comment
Labels

Comments

@Kater--S
Copy link

Kater--S commented Feb 22, 2024

Steps to reproduce

  1. I am running an iMac15,1 (27" iMac Retina 5K with i7, 32GB RAM).
  2. starting Element 1.11.58 e.g. by double click on app icon or from Spotlight or Dock
  3. window shows up in correct dimensions, all white, and immediately disappears
  4. macOS shows crash notification dialog

Outcome

What did you expect?

Normal application behaviour.

In case an incompatibility between a platform and an upcoming Element version is already known of, there should be no autoupdate (or semi-autoupdate request).

If no such incompatibility is already known of, there should be a mechanism to prevent users from being stuck in this situation. This could mean an option to step back versions in a user-friendly way, which may be tricky in case the application crashes immediately – or at least providing a link to older versions on the official Element.io website, together with an option accessible in Element's configuration UI to disable updates explicitly. I got the URL https://packages.element.io here on GitHub fortunately, and also a hint how to set up a config.json file that disables updates.

What happened instead?

App crash, macOS reports "Element quit unexpectedly".

Excerpt from crash report:

Process:               Element [2220]
Path:                  /Volumes/VOLUME/*/Element.app/Contents/MacOS/Element
Identifier:            im.riot.app
Version:               1.11.58 (1.11.58)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Element [2220]
User ID:               502

Date/Time:             2024-02-22 11:09:41.009 +0100
OS Version:            macOS 11.7.10 (20G1427)
Report Version:        12
Anonymous UUID:        E98603F1-710E-DB5D-AD51-9441BAA871E0

Sleep/Wake UUID:       ADDB53D4-712D-4270-AE50-E31CA47341FD

Time Awake Since Boot: 1700000 seconds
Time Since Wake:       130000 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

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 [2220]

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   keytar.node                   	0x000000010ce70000 0x10ce70000 + 0
1   com.github.Electron.framework 	0x0000000100d362c0 0x100d00000 + 221888
2   com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
3   com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
4   com.github.Electron.framework 	0x0000000100d77082 0x100d00000 + 487554
5   com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
6   com.github.Electron.framework 	0x0000000100e457c7 0x100d00000 + 1333191
7   com.github.Electron.framework 	0x0000000100d34f0f 0x100d00000 + 216847
8   com.github.Electron.framework 	0x0000000100eba84d 0x100d00000 + 1812557
9   com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
10  com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
11  ???                           	0x0000000160d8e658 0 + 5919794776
12  ???                           	0x0000000160d9ae2f 0 + 5919845935
13  com.github.Electron.framework 	0x0000000100d34364 0x100d00000 + 213860
14  ???                           	0x0000000160d8e658 0 + 5919794776
15  ???                           	0x0000000160d9ae2f 0 + 5919845935
16  com.github.Electron.framework 	0x0000000100d31f1c 0x100d00000 + 204572
17  com.github.Electron.framework 	0x0000000100d31c47 0x100d00000 + 203847
18  com.github.Electron.framework 	0x00000001027c85e9 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) + 521
19  com.github.Electron.framework 	0x00000001026ac28c v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) + 588
20  com.github.Electron.framework 	0x000000010898faeb node::CallbackScope::~CallbackScope() + 1499
21  com.github.Electron.framework 	0x000000010898ff7b node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) + 267
22  com.github.Electron.framework 	0x00000001012a4804 v8::internal::CallInterfaceDescriptor::IsValidFloatParameterRegister(v8::internal::Register) + 214708
23  com.github.Electron.framework 	0x00000001011c3e72 cppgc::internal::LargePage::ObjectHeader() const + 184018
24  com.github.Electron.framework 	0x00000001011aa037 cppgc::internal::LargePage::ObjectHeader() const + 77975
25  com.github.Electron.framework 	0x00000001011a9ddb cppgc::internal::LargePage::ObjectHeader() const + 77371
26  com.github.Electron.framework 	0x00000001011e9230 v8::internal::compiler::SLVerifierHintParametersOf(v8::internal::compiler::Operator const*) + 4816
27  com.github.Electron.framework 	0x00000001049371d9 node::AsyncResource::get_async_id() const + 7142313
28  com.github.Electron.framework 	0x0000000104f4ae06 node::AsyncResource::get_async_id() const + 13514710
29  com.github.Electron.framework 	0x0000000104f4fff9 node::AsyncResource::get_async_id() const + 13535689
30  com.github.Electron.framework 	0x0000000104f4cd1f node::AsyncResource::get_async_id() const + 13522671
31  com.github.Electron.framework 	0x00000001052b231b node::AsyncResource::get_async_id() const + 17083627
32  com.github.Electron.framework 	0x0000000104c03c32 node::AsyncResource::get_async_id() const + 10077698
33  com.github.Electron.framework 	0x0000000104c2525c node::AsyncResource::get_async_id() const + 10214444
34  com.github.Electron.framework 	0x0000000104c74d2b node::AsyncResource::get_async_id() const + 10540795
35  com.github.Electron.framework 	0x0000000100ef0a4a 0x100d00000 + 2034250
36  com.github.Electron.framework 	0x0000000104c73c91 node::AsyncResource::get_async_id() const + 10536545
37  com.apple.CoreFoundation      	0x00007fff2059acdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
38  com.apple.CoreFoundation      	0x00007fff2059ac44 __CFRunLoopDoSource0 + 180
39  com.apple.CoreFoundation      	0x00007fff2059a9c4 __CFRunLoopDoSources0 + 242
40  com.apple.CoreFoundation      	0x00007fff205993ec __CFRunLoopRun + 893
41  com.apple.CoreFoundation      	0x00007fff205989ac CFRunLoopRunSpecific + 563
42  com.apple.HIToolbox           	0x00007fff287e31f3 RunCurrentEventLoopInMode + 292
43  com.apple.HIToolbox           	0x00007fff287e2f55 ReceiveNextEventCommon + 587
44  com.apple.HIToolbox           	0x00007fff287e2cf3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
45  com.apple.AppKit              	0x00007fff22da2ad2 _DPSNextEvent + 864
46  com.apple.AppKit              	0x00007fff22da12a5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
47  com.apple.AppKit              	0x00007fff22d935c9 -[NSApplication run] + 586
48  com.github.Electron.framework 	0x0000000104c75af6 node::AsyncResource::get_async_id() const + 10544326
49  com.github.Electron.framework 	0x0000000104c735d4 node::AsyncResource::get_async_id() const + 10534820
50  com.github.Electron.framework 	0x0000000104c25fd6 node::AsyncResource::get_async_id() const + 10217894
51  com.github.Electron.framework 	0x0000000104be5f0c node::AsyncResource::get_async_id() const + 9955548
52  com.github.Electron.framework 	0x0000000103b1cbe5 node::GetArrayBufferAllocator(node::IsolateData*) + 2556037
53  com.github.Electron.framework 	0x0000000103b1e712 node::GetArrayBufferAllocator(node::IsolateData*) + 2562994
54  com.github.Electron.framework 	0x0000000103b1a12f node::GetArrayBufferAllocator(node::IsolateData*) + 2545103
55  com.github.Electron.framework 	0x000000010149a9a2 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 16754
56  com.github.Electron.framework 	0x000000010149bc37 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 21511
57  com.github.Electron.framework 	0x000000010149ba25 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 20981
58  com.github.Electron.framework 	0x000000010149a25a v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 14890
59  com.github.Electron.framework 	0x000000010149a368 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 15160
60  com.github.Electron.framework 	0x00000001010f99fb ElectronMain + 155
61  libdyld.dylib                 	0x00007fff204bdf3d start + 1

Full crash can be generated again any time upon request

Operating system

macOS 11.7.0 Big Sur

Application version

Element 1.11.58

How did you install the app?

first by autoupdate, then by explicit download from element.io

Homeserver

{"server_version":"1.92.1","python_version":"3.11.5"}

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Feb 22, 2024

Duplicate of #1505

@t3chguy t3chguy marked this as a duplicate of #1505 Feb 22, 2024
@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
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