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

Calling from node: "12.16.3" causes # Fatal error in , line 0 #84

Closed
ivictbor opened this issue Sep 23, 2020 · 0 comments · Fixed by #86
Closed

Calling from node: "12.16.3" causes # Fatal error in , line 0 #84

ivictbor opened this issue Sep 23, 2020 · 0 comments · Fixed by #86

Comments

@ivictbor
Copy link

ivictbor commented Sep 23, 2020

Hey @sindresorhus ,
Thank you for another great package! We had been actively used for a last year with electron6.

After upgrading to electron 10 which uses node12, we also bumped up active-win for 6.1.0:

 "active-win": {
      "version": "6.1.0",
      "resolved": "https://registry.npmjs.org/active-win/-/active-win-6.1.0.tgz",
      "integrity": "sha512-gzcz+V35kRZrbVY43mFaXZfW5DIQ3LOQ/9VKWfQUeCNSgn1h8x7huZZcplP2QLlqnaH+bO6nbVa/TVHAVG1+bw==",
      "requires": {
        "ffi-napi": "^2.4.5",
        "ref-napi": "^1.4.2",
        "ref-struct-napi": "^1.1.0",
        "ref-wchar-napi": "^1.0.2"
      }
    },

Our process.version:

{node: "12.16.3", v8: "8.5.210.20-electron.0", uv: "1.34.2", zlib: "1.2.11", brotli: "1.0.7", …}
ares: "1.16.0"
brotli: "1.0.7"
chrome: "85.0.4183.98"
electron: "10.1.2"
http_parser: "2.9.3"
icu: "67.1"
llhttp: "2.0.4"
modules: "82"
napi: "5"
nghttp2: "1.41.0"
node: "12.16.3"
openssl: "1.1.0"
unicode: "13.0"
uv: "1.34.2"
v8: "8.5.210.20-electron.0"
zlib: "1.2.11"

When we call activeWin(), binary crashes with:

#
# Fatal error in , line 0
# ignored
#
#
#
#FailureMessage Object: 000000AE525EBF20
 1: 00007FF7401F651F node::Buffer::New+128031
 2: 00007FF73FF405DA IsSandboxedProcess+641274
 3: 00007FF73E3AE121 v8::Platform::SystemClockTimeMillis+414209
 4: 00007FF73E0F4FD1 v8::ArrayBuffer::New+497
 5: 00007FF73E0F4EAE v8::ArrayBuffer::New+206
 6: 00007FF7401D72F7 node::Buffer::New+503
 7: 00007FF7401D71E2 node::Buffer::New+226
 8: 00007FF741047168 napi_create_external_buffer+216
 9: 00007FFDD0296F80
10: 00007FFDD02936C7
11: 00007FFDD029730E
12: 00007FFDD0297467
13: 00007FFDD02972B3
14: 00007FF741CC827A napi_create_function+1082
15: 00007FF73E13C40E v8::CFunction::CFunction+233422
16: 00007FF73E13B86B v8::CFunction::CFunction+230443
17: 00007FF73E13AF10 v8::CFunction::CFunction+228048
18: 00007FF73E13AB97 v8::CFunction::CFunction+227159
19: 00007FF73EB583BC v8_inspector::V8StackTraceId::ToString+3453820
20: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
21: 00007FF73EAE3D1F v8_inspector::V8StackTraceId::ToString+2976991
22: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
23: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
24: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
25: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
26: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
27: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
28: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
29: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
30: 00007FF73EAE3D1F v8_inspector::V8StackTraceId::ToString+2976991
31: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
32: 00007FF73EBA081C v8_inspector::V8StackTraceId::ToString+3749852
33: 00007FF73EAE8830 v8_inspector::V8StackTraceId::ToString+2996208
34: 00007FF73EBE1D6B v8_inspector::V8StackTraceId::ToString+4017451
35: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
36: 00007FF73EAE3D1F v8_inspector::V8StackTraceId::ToString+2976991
37: 00007FF73EAE86EB v8_inspector::V8StackTraceId::ToString+2995883
38: 00007FF73EBE1D6B v8_inspector::V8StackTraceId::ToString+4017451
39: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
40: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
41: 00007FF73EAECCB5 v8_inspector::V8StackTraceId::ToString+3013749
42: 00007FF73EAEA77E v8_inspector::V8StackTraceId::ToString+3004222
43: 00007FF73EAEA36C v8_inspector::V8StackTraceId::ToString+3003180
44: 00007FF73E1FBC69 v8::Unwinder::PCIsInV8+1097
45: 00007FF73E1FB942 v8::Unwinder::PCIsInV8+290
46: 00007FF73E0E721F v8::Function::Call+351
47: 00007FF7401CB9A8 node::EmitAsyncDestroy+87992
48: 00007FF7401FF154 uv_timer_again+212
49: 00007FF740201F18 uv_run+168
50: 00007FF73D539091 v8::OutputStream::WriteHeapStatsChunk+17329
51: 00007FF73F999FFC uv_mutex_unlock+2521420
52: 00007FF740249B24 uv_gettimeofday+278804
53: 00007FF740249808 uv_gettimeofday+278008
54: 00007FF73F9C4A31 uv_mutex_unlock+2696065
55: 00007FF73F9C4445 uv_mutex_unlock+2694549
56: 00007FF74024A11E uv_gettimeofday+280334
57: 00007FF73F983EAC uv_mutex_unlock+2430972
58: 00007FF73EE9C4F1 v8_inspector::V8StackTraceId::ToString+6878385
59: 00007FF73EE9DF31 v8_inspector::V8StackTraceId::ToString+6885105
60: 00007FF73EE99BB2 v8_inspector::V8StackTraceId::ToString+6867826
61: 00007FF73ED775AF v8_inspector::V8StackTraceId::ToString+5678447
62: 00007FF73ED77103 v8_inspector::V8StackTraceId::ToString+5677251
63: 00007FF73FF09D4B IsSandboxedProcess+417899
64: 00007FF73E00BCCE v8::Location::GetColumnNumber+784398
65: 00007FF73D3E149F Ordinal0+5279
66: 00007FF74347BD52 uv_random+16903506
67: 00007FFDEEC67BD4 BaseThreadInitThunk+20
68: 00007FFDF0BCCE51 RtlUserThreadStart+33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant