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

Webcord fails to start on macOS #432

Closed
2 of 7 tasks
ZingyAwesome opened this issue Jun 24, 2023 · 11 comments
Closed
2 of 7 tasks

Webcord fails to start on macOS #432

ZingyAwesome opened this issue Jun 24, 2023 · 11 comments
Assignees
Labels
status:patch-released Patched in current stable release type:bug Something isn't working

Comments

@ZingyAwesome
Copy link

Aknowledgements

  • I have checked that there is no other issue describing the same or
    similar problem that I currently have, regardless if it has been
    closed or open.

  • This bug affects Discord website.

  • This issue is confirmed to be reproduceable when WebCord is packaged
    on at least all three latest supported Electron major releases.

  • This issue is reproduceable in Chrome, Chromium or any
    Chromium-based browser, e.g Brave or Edge (please write in
    Additional Context which browser you have used if it is neither
    Chrome nor unmodified Chromium).

  • There are no fixes done to master which resolves this issue.

  • My issue describes one of the unstable and/or not fully implemented
    features.

  • I have found a workaround to mitigate or temporarily fix this issue
    in affected releases (please write it in Additional context section
    below).

Operating System / Platform

🍎️ MacOS

Operating system architecture

aarch64 (64-bit ARM)

Electron version

v25

Application version

v4.3.0

Bug description

The latest release (4.3.0) fails to start on Apple Silicon, with the message "webcord quit unexpectedly". I don't know whether this issue affects Intel Macs as well.
I was able to launch the previous release, 4.2.0, using commands suggested in other issues after installing the app:

codesign --force --deep --sign - /Applications/WebCord.app
 xattr -rd com.apple.quarantine /Applications/WebCord.app

This allowed the app to start normally before. However with the new release, even these commands aren't enough to get the app to launch.
I have tried using both the universal version and the arm64-only version, neither of which work.

Additional context

I am on the latest version of macOS (13.4.1).

Crash report:

Process:               webcord [41596]
Path:                  /Applications/WebCord.app/Contents/MacOS/webcord
Identifier:            com.electron.webcord
Version:               4.3.0 (4.3.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]

OS Version:            macOS 13.4.1 (22F82)
Report Version:        12


Time Awake Since Boot: 82000 seconds
Time Since Wake:       1135 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010c9fa218

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [41596]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Electron Framework            	       0x10c9fa218 node::GetMultiIsolatePlatform(node::IsolateData*) + 22162416
1   Electron Framework            	       0x10c9f9f00 node::GetMultiIsolatePlatform(node::IsolateData*) + 22161624
2   Electron Framework            	       0x10c9faf28 node::GetMultiIsolatePlatform(node::IsolateData*) + 22165760
3   Electron Framework            	       0x109176ef0 v8::CodeEvent::GetScriptName() + 46608
4   Electron Framework            	       0x10917ca0c v8::CodeEvent::GetScriptName() + 69932
5   Electron Framework            	       0x10917c910 v8::CodeEvent::GetScriptName() + 69680
6   Electron Framework            	       0x10917c838 v8::CodeEvent::GetScriptName() + 69464
7   Electron Framework            	       0x10917c60c v8::CodeEvent::GetScriptName() + 68908
8   Electron Framework            	       0x109f69a34 v8::internal::Accessors::MakeAccessor(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Name>, void (*)(v8::Local<v8::Name>, v8::PropertyCallbackInfo<v8::Value> const&), void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<v8::Boolean> const&)) + 11048
9   ???                           	       0x157edb518 ???
10  ???                           	       0x157e4ccfc ???
11  ???                           	       0x157ef3d04 ???
12  ???                           	       0x157e4ccfc ???
13  ???                           	       0x157e4ccfc ???
14  ???                           	       0x1500ed140 ???
15  ???                           	       0x1500edee8 ???
16  ???                           	       0x1500e4f94 ???
17  ???                           	       0x1500e3c50 ???
18  ???                           	       0x1500db958 ???
19  ???                           	       0x1500e45e0 ???
20  ???                           	       0x1500e4834 ???
21  ???                           	       0x157e4ccfc ???
22  ???                           	       0x1500ed140 ???
23  ???                           	       0x1500edee8 ???
24  ???                           	       0x1500e4f94 ???
25  ???                           	       0x1500e3c50 ???
26  ???                           	       0x1500db958 ???
27  ???                           	       0x1500e45e0 ???
28  ???                           	       0x1500e4834 ???
29  ???                           	       0x157e4ccfc ???
30  ???                           	       0x157e4ccfc ???
31  ???                           	       0x157e4ccfc ???
32  ???                           	       0x157e4ccfc ???
33  ???                           	       0x157e4ccfc ???
34  ???                           	       0x157e4ccfc ???
35  ???                           	       0x157e4ccfc ???
36  ???                           	       0x157e4ccfc ???
37  ???                           	       0x157e4ccfc ???
38  ???                           	       0x150048ebc ???
39  ???                           	       0x157e4ccfc ???
40  ???                           	       0x157e4ccfc ???
41  ???                           	       0x157e4ccfc ???
42  ???                           	       0x157e4ccfc ???
43  ???                           	       0x157e4ccfc ???
44  ???                           	       0x157e4ccfc ???
45  ???                           	       0x157e4ab48 ???
46  ???                           	       0x157e4a838 ???
47  Electron Framework            	       0x10a0269ec 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>*) + 452
48  Electron Framework            	       0x109f199a8 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) + 516
49  Electron Framework            	       0x10f3fbf14 node::OnFatalError(char const*, char const*) + 507804
50  Electron Framework            	       0x10f336090 node::FatalException(v8::Isolate*, v8::TryCatch const&) + 13364
51  Electron Framework            	       0x10f335fac node::FatalException(v8::Isolate*, v8::TryCatch const&) + 13136
52  Electron Framework            	       0x10f2de8f4 node::LoadEnvironment(node::Environment*, std::Cr::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) + 124
53  Electron Framework            	       0x10919f2d0 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 17156
54  Electron Framework            	       0x10910c618 v8::CodeEvent::GetFunctionName() + 65144
55  Electron Framework            	       0x10afedce0 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 3646416
56  Electron Framework            	       0x10aff11a0 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 3659920
57  Electron Framework            	       0x10afed684 v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 3644788
58  Electron Framework            	       0x1092f9ff4 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 13524
59  Electron Framework            	       0x1092faf00 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 17376
60  Electron Framework            	       0x1092fad50 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 16944
61  Electron Framework            	       0x1092f9814 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 11508
62  Electron Framework            	       0x1092f9a40 v8::internal::compiler::BasicBlock::set_loop_header(v8::internal::compiler::BasicBlock*) + 12064
63  Electron Framework            	       0x10902d1d8 ElectronMain + 128
64  dyld                          	       0x184ebff28 start + 2236

Thread 1:
0   libsystem_pthread.dylib       	       0x185212d8c start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x185212d8c start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x185212d8c start_wqthread + 0

Thread 4:: ThreadPoolServiceThread
0   libsystem_kernel.dylib        	       0x1851e3de8 kevent64 + 8
1   Electron Framework            	       0x10bd77fb4 node::GetMultiIsolatePlatform(node::IsolateData*) + 9046412
2   Electron Framework            	       0x10bd778ec node::GetMultiIsolatePlatform(node::IsolateData*) + 9044676
3   Electron Framework            	       0x10bd34c28 node::GetMultiIsolatePlatform(node::IsolateData*) + 8771072
4   Electron Framework            	       0x10bcff0b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8551052
5   Electron Framework            	       0x10bd50fa8 node::GetMultiIsolatePlatform(node::IsolateData*) + 8886656
6   Electron Framework            	       0x10bd39660 node::GetMultiIsolatePlatform(node::IsolateData*) + 8790072
7   Electron Framework            	       0x10bd51110 node::GetMultiIsolatePlatform(node::IsolateData*) + 8887016
8   Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
9   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
10  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 5:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x1851d7f14 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1851ea240 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1851e0b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib        	       0x1851d8290 mach_msg + 24
4   Electron Framework            	       0x10bd84e74 node::GetMultiIsolatePlatform(node::IsolateData*) + 9099340
5   Electron Framework            	       0x10bd170c0 node::GetMultiIsolatePlatform(node::IsolateData*) + 8649368
6   Electron Framework            	       0x10bd49658 node::GetMultiIsolatePlatform(node::IsolateData*) + 8855600
7   Electron Framework            	       0x10bd4a1ac node::GetMultiIsolatePlatform(node::IsolateData*) + 8858500
8   Electron Framework            	       0x10bd49e00 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857560
9   Electron Framework            	       0x10bd49cd8 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857264
10  Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
11  libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
12  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 6:: ThreadPoolBackgroundWorker
0   libsystem_kernel.dylib        	       0x1851d7f14 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1851ea240 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1851e0b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib        	       0x1851d8290 mach_msg + 24
4   Electron Framework            	       0x10bd84e74 node::GetMultiIsolatePlatform(node::IsolateData*) + 9099340
5   Electron Framework            	       0x10bd170c0 node::GetMultiIsolatePlatform(node::IsolateData*) + 8649368
6   Electron Framework            	       0x10bd49658 node::GetMultiIsolatePlatform(node::IsolateData*) + 8855600
7   Electron Framework            	       0x10bd49f90 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857960
8   Electron Framework            	       0x10bd49d7c node::GetMultiIsolatePlatform(node::IsolateData*) + 8857428
9   Electron Framework            	       0x10bd49d0c node::GetMultiIsolatePlatform(node::IsolateData*) + 8857316
10  Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
11  libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
12  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 7:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	       0x1851d7f14 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1851ea240 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1851e0b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib        	       0x1851d8290 mach_msg + 24
4   Electron Framework            	       0x10bd84e74 node::GetMultiIsolatePlatform(node::IsolateData*) + 9099340
5   Electron Framework            	       0x10bd170c0 node::GetMultiIsolatePlatform(node::IsolateData*) + 8649368
6   Electron Framework            	       0x10bd49658 node::GetMultiIsolatePlatform(node::IsolateData*) + 8855600
7   Electron Framework            	       0x10bd49f90 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857960
8   Electron Framework            	       0x10bd49e00 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857560
9   Electron Framework            	       0x10bd49cd8 node::GetMultiIsolatePlatform(node::IsolateData*) + 8857264
10  Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
11  libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
12  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 8:: Chrome_IOThread
0   libsystem_kernel.dylib        	       0x1851e3de8 kevent64 + 8
1   Electron Framework            	       0x10bd77fb4 node::GetMultiIsolatePlatform(node::IsolateData*) + 9046412
2   Electron Framework            	       0x10bd778ec node::GetMultiIsolatePlatform(node::IsolateData*) + 9044676
3   Electron Framework            	       0x10bd34c28 node::GetMultiIsolatePlatform(node::IsolateData*) + 8771072
4   Electron Framework            	       0x10bcff0b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8551052
5   Electron Framework            	       0x10bd50fa8 node::GetMultiIsolatePlatform(node::IsolateData*) + 8886656
6   Electron Framework            	       0x10aff209c v8::internal::SetupIsolateDelegate::SetupBuiltins(v8::internal::Isolate*, bool) + 3663756
7   Electron Framework            	       0x10bd51110 node::GetMultiIsolatePlatform(node::IsolateData*) + 8887016
8   Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
9   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
10  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 9:: MemoryInfra
0   libsystem_kernel.dylib        	       0x1851d7f14 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1851ea240 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1851e0b78 mach_msg_overwrite + 604
3   libsystem_kernel.dylib        	       0x1851d8290 mach_msg + 24
4   Electron Framework            	       0x10bd84e74 node::GetMultiIsolatePlatform(node::IsolateData*) + 9099340
5   Electron Framework            	       0x10bd16f44 node::GetMultiIsolatePlatform(node::IsolateData*) + 8648988
6   Electron Framework            	       0x10bcdd264 node::GetMultiIsolatePlatform(node::IsolateData*) + 8412220
7   Electron Framework            	       0x10bd34c28 node::GetMultiIsolatePlatform(node::IsolateData*) + 8771072
8   Electron Framework            	       0x10bcff0b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8551052
9   Electron Framework            	       0x10bd50fa8 node::GetMultiIsolatePlatform(node::IsolateData*) + 8886656
10  Electron Framework            	       0x10bd51110 node::GetMultiIsolatePlatform(node::IsolateData*) + 8887016
11  Electron Framework            	       0x10bd642b4 node::GetMultiIsolatePlatform(node::IsolateData*) + 8965260
12  libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
13  libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 10:
0   libsystem_kernel.dylib        	       0x1851de060 kevent + 8
1   Electron Framework            	       0x10902c844 uv_free_interface_addresses + 1196
2   Electron Framework            	       0x10901bf44 uv_run + 380
3   Electron Framework            	       0x10f3ecf90 node::OnFatalError(char const*, char const*) + 446488
4   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
5   libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 11:
0   libsystem_kernel.dylib        	       0x1851db710 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x185218574 _pthread_cond_wait + 1232
2   Electron Framework            	       0x1090278d4 uv_cond_wait + 12
3   Electron Framework            	       0x10f3eae34 node::OnFatalError(char const*, char const*) + 437948
4   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
5   libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 12:
0   libsystem_kernel.dylib        	       0x1851db710 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x185218574 _pthread_cond_wait + 1232
2   Electron Framework            	       0x1090278d4 uv_cond_wait + 12
3   Electron Framework            	       0x10f3eae34 node::OnFatalError(char const*, char const*) + 437948
4   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
5   libsystem_pthread.dylib       	       0x185212da0 thread_start + 8

Thread 13:
0   libsystem_kernel.dylib        	       0x1851db710 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x185218574 _pthread_cond_wait + 1232
2   Electron Framework            	       0x1090278d4 uv_cond_wait + 12
3   Electron Framework            	       0x10f3eae34 node::OnFatalError(char const*, char const*) + 437948
4   libsystem_pthread.dylib       	       0x185217fa8 _pthread_start + 148
5   libsystem_pthread.dylib       	       0x185212da0 thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x000000016f33cae0
    x4: 0xffffffffa07ec468   x5: 0x0000000000000008   x6: 0x0000000000000002   x7: 0x0000000000000151
    x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x000000012beb5a40
   x12: 0x0000000000000002  x13: 0x0000000108a6f2f0  x14: 0x0000000108a6f2f8  x15: 0x0000000080800001
   x16: 0x0000000185246640  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000108a6f280
   x20: 0x0000000108a6f290  x21: 0x000000012becd148  x22: 0x0000000000000000  x23: 0x0000000000000040
   x24: 0x0000000000000040  x25: 0x00003b39007ffe89  x26: 0x000000012d826ff0  x27: 0x000000012d825470
   x28: 0x0000000110e5a000   fp: 0x000000016f33cb70   lr: 0x000000010c9f9f00
    sp: 0x000000016f33c6c0   pc: 0x000000010c9fa218 cpsr: 0x60001000
   far: 0x000000010ca34260  esr: 0xf2000000 (Breakpoint) brk 0

Binary Images:
       0x100ac0000 -        0x100ac3fff com.electron.webcord (4.3.0) <4c4c4490-5555-3144-a158-c326d807437a> /Applications/WebCord.app/Contents/MacOS/webcord
       0x108dfc000 -        0x11076ffff com.github.Electron.framework (*) <4c4c4486-5555-3144-a179-9edca18c534c> /Applications/WebCord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x100b44000 -        0x100b57fff com.github.Squirrel (1.0) <4c4c44fa-5555-3144-a135-5880595e0be5> /Applications/WebCord.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
       0x100bcc000 -        0x100c0bfff com.electron.reactive (3.1.0) <4c4c4419-5555-3144-a19d-ec49b596f4ed> /Applications/WebCord.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
       0x100b6c000 -        0x100b77fff org.mantle.Mantle (1.0) <4c4c4437-5555-3144-a1d0-6aa8d27afad0> /Applications/WebCord.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
       0x100e50000 -        0x10102ffff libffmpeg.dylib (*) <4c4c4448-5555-3144-a197-4402a07d3dbc> /Applications/WebCord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x184eba000 -        0x184f48553 dyld (*) <2237410f-d39c-30ce-9a94-13aacb66b766> /usr/lib/dyld
       0x185211000 -        0x18521dfff libsystem_pthread.dylib (*) <46d35233-a051-3f4f-bba4-ba56dddc4d1a> /usr/lib/system/libsystem_pthread.dylib
       0x1851d7000 -        0x185210fe7 libsystem_kernel.dylib (*) <34a49b54-82b2-37a1-9314-f6a4a2bb3ff8> /usr/lib/system/libsystem_kernel.dylib
@ZingyAwesome ZingyAwesome added the type:bug Something isn't working label Jun 24, 2023
@Rikj000

This comment was marked as off-topic.

@SpacingBat3
Copy link
Owner

SpacingBat3 commented Jun 27, 2023

@ZingyAwesome Stack trace won't help me too much… Althrough I see it points at process isolation / sandboxing in Electron, maybe --no-sandbox will help to run it?


EDIT: (Unrelated reply)

@Rikj000 This error is related to crashpad, but WebCord doesn't even use it (Electron still might init it and collect logs, but I don't really send them anywhere, I currently don't have a server for doing so + I don't like the idea of automatic crash reporting without user consent). I highly doubt it is related and causes entire app to crash or refuse to open in any other way.


Also @Rikj000 @ZingyAwesome could you try capturing verbose logs with --verbose flag? Maybe it would show more detailed info about any kind of crash.

@Rikj000

This comment was marked as off-topic.

@SpacingBat3
Copy link
Owner

SpacingBat3 commented Jun 30, 2023

I get the same result with webcord.exe --verbose

Also checked Event Viewer's Application Logs, but can't find anything related to the crash there.

@Rikj000 I don't think that's crash, at least Electron behaves a bit weird here – while it is functional with the default app, my app.asar fails/closes silently (it should print error when something happens). However, I've reproduced the issue on Windows 10, at least on ARM builds. It doesn't seem to be relevant, therefore I will hide the comments associated to it (to keep things clean). Please open another issue ticket.

@ZingyAwesome
Copy link
Author

ZingyAwesome commented Jul 1, 2023

I just get terminated by signal SIGTRAP (Trace or breakpoint trap) when trying to run it from terminal.
I tried passing --no-sandbox, it still didn't work. I tried passing --verbose, I don't think it did anything because no additional logs were given.

I think it's probably an electron v25 issue, is there any way to downgrade the electron version without going back to the previous release?

@SpacingBat3
Copy link
Owner

I just get terminated by signal SIGTRAP (Trace or breakpoint trap) when trying to run it from terminal. I tried passing --no-sandbox, it still didn't work. I tried passing --verbose, I don't think it did anything because no additional logs were given.

I think it's probably an electron v25 issue, is there any way to downgrade the electron version without going back to the previous release?

You could either build an app from source code and downgrade Electron with npm i electron@24.x.y or manually patch current WebCord build by extracting app.asar (given macOS apps are folders) and put it back into Resources/ folder placed somewhere in folder containing an Electron binary (which you can get from here).

Note: From what I've seen on Windows even the official binaries (i.e. unmodified by Electron Forge or any other tool at all) aren't signed by the default. You might also experience the difference when compared to Electron Forge builds, such as difference at used icon.

@netboy3
Copy link

netboy3 commented Jul 5, 2023

Works fine when built with Electron 24.6.2.

@ZingyAwesome
Copy link
Author

Can confirm as well it works when using electron v24 but not v25

@ghost
Copy link

ghost commented Aug 2, 2023

Confirmed that WebCord 4.2.0 built with Electron v24 works in macOS 13.5 after running the following commands: codesign --force --deep --sign - /Applications/WebCord.app & xattr -rd com.apple.quarantine/Applications/WebCord.app

but WebCord 4.3.0 is not working after running the same code after installation.

@SpacingBat3
Copy link
Owner

Might be stale, as Electron was updated to v26.0.0… Anyone seems to still reproduce it?

@SpacingBat3 SpacingBat3 added the status:need-info Further information is requested label Aug 15, 2023
@ZingyAwesome
Copy link
Author

Working on 4.4.0 now, thanks

@SpacingBat3 SpacingBat3 added status:patch-released Patched in current stable release and removed status:need-info Further information is requested labels Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:patch-released Patched in current stable release type:bug Something isn't working
Development

No branches or pull requests

4 participants