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

Problem on macOS Catalina 10.15.7 in the Electron app #3459

Closed
dziudek opened this issue Nov 16, 2022 · 1 comment
Closed

Problem on macOS Catalina 10.15.7 in the Electron app #3459

dziudek opened this issue Nov 16, 2022 · 1 comment
Labels

Comments

@dziudek
Copy link

dziudek commented Nov 16, 2022

Hi,

We are using sharp in our Publii app. We have got reports that the latest release of our app is not working on macOS Catalina 10.15.7.

The non-working version of app uses sharp v.0.31.2 while the latest working version uses sharp v.0.30.5

So I assume that something has been broken between these versions.

The app crashes during start and suggests sending report to Apple. I will also add that I have received information that the app perfectly works on macOS 11., 12. and 13.* both on Intel and M1 chips.

Can I ask if it seems to be a sharp-related issue?

In the report to Apple I have found such things:

Time Awake Since Boot: 7500 seconds
Time Since Wake:       4700 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing
Dyld Error Message:
  Symbol not found: _pthread_jit_write_protect_supported_np
  Referenced from: /Applications/[Publii.app/Contents/Resources/app.asar.unpacked/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib](http://publii.app/Contents/Resources/app.asar.unpacked/node_modules/sharp/vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib)
  Expected in: /usr/lib/libSystem.B.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                          0x000000010cd0505e __abort_with_payload + 10
1   dyld                          0x000000010cd2e6ed abort_with_payload_wrapper_internal + 80
2   dyld                          0x000000010cd2e71f abort_with_payload + 9
3   dyld                          0x000000010cd2bd74 dyld::halt(char const*) + 463
4   dyld                          0x000000010ccb3bc3 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 140
5   libdyld.dylib                 0x00007fff6e8da692 dyld_stub_binder + 282
6   ???                           0x0000000116b33000 0 + 4675809280
7   libvips-cpp.42.dylib          0x00000001163a4f03 orc_init + 39
8   libvips-cpp.42.dylib          0x0000000115cc7c09 vips_vector_init + 9
9   libvips-cpp.42.dylib          0x0000000115cc5b24 vips_init + 900
10  sharp-darwin-x64.node         0x000000010cc7d357 0x10cc5d000 + 131927
11  libvips-cpp.42.dylib          0x0000000115d4a10d g_once_impl + 108
12  sharp-darwin-x64.node         0x000000010cc7d10c init(Napi::Env, Napi::Object) + 65
13  sharp-darwin-x64.node         0x000000010cc7d69a 0x10cc5d000 + 132762
14  sharp-darwin-x64.node         0x000000010cc7d63f 0x10cc5d000 + 132671
15  sharp-darwin-x64.node         0x000000010cc7d62a 0x10cc5d000 + 132650
16  Electron Framework            0x00000001137053cb node::AsyncResource::CallbackScope::CallbackScope(node::AsyncResource*) + 1675
17  Electron Framework            0x000000011372a9ff node::binding::get_linked_module(char const*) + 3631
18  Electron Framework            0x000000011372969e node_module_register + 2430
19  Electron Framework            0x000000010e29c214 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&)) + 12116
20  ???                           0x0000004f57f0c038 0 + 340777812024
21  ???                           0x0000004f500d9a56 0 + 340645485142
22  ???                           0x0000004f57e8be23 0 + 340777287203
23  ???                           0x0000004f500d9dfc 0 + 340645486076
[...]
@dziudek dziudek added the triage label Nov 16, 2022
@lovell lovell added question and removed triage labels Nov 16, 2022
@lovell
Copy link
Owner

lovell commented Nov 16, 2022

Please see #3438

@lovell lovell closed this as completed Nov 16, 2022
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