Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Hard crash electron when writing file #340

Open
VCL-Dev opened this issue Apr 28, 2021 · 0 comments
Open

Hard crash electron when writing file #340

VCL-Dev opened this issue Apr 28, 2021 · 0 comments

Comments

@VCL-Dev
Copy link

VCL-Dev commented Apr 28, 2021

ElectronJS app hard crashes when writing a file:

npm[27848]: ../../third_party/electron_node/src/api/callback.cc:62: Assertion (Environment::GetCurrent(env->isolate())) == (env) failed.
1: 00007FF6405EFEF6 node::Buffer::New+47318
2: 00007FF6405EFC83 node::Buffer::New+46691
3: 00007FF6405A28C7 node::CallbackScope::CallbackScope+759
4: 00007FF6405D7FBE node::EmitAsyncDestroy+199038
5: 00007FF64060AF55 uv_run+517
6: 00007FF64016336E node::AsyncResource::CallbackScope::~CallbackScope+1255150
7: 00007FF640C49539 v8::MicrotasksScope::PerformCheckpoint+35209
8: 00007FF640C47475 v8::MicrotasksScope::PerformCheckpoint+26821
9: 00007FF640C46E9D v8::MicrotasksScope::PerformCheckpoint+25325
10: 00007FF6414057B4 v8::FunctionTemplate::RemovePrototype+129412
11: 00007FF63EDCBB5C std::__1::vector<v8::CpuProfileDeoptInfo,std::__1::allocatorv8::CpuProfileDeoptInfo >::vector<v8::CpuProfileDeoptInfo,std::__1::allocatorv8::CpuProfileDeoptInfo >+120028
12: 00007FF63EB49FC6 v8::FunctionTemplate::SetLength+113062
13: 00007FF63ED85C7B v8::CpuProfilingOptions::sampling_interval_us+45563
14: 00007FF64023BFBA uv_fs_get_type+264234
15: 00007FF63F273329 std::__1::vector<v8::CpuProfileDeoptFrame,std::__1::allocatorv8::CpuProfileDeoptFrame >::~vector<v8::CpuProfileDeoptFrame,std::__1::allocatorv8::CpuProfileDeoptFrame >+124681
16: 00007FF63F272EDD std::__1::vector<v8::CpuProfileDeoptFrame,std::__1::allocatorv8::CpuProfileDeoptFrame >::~vector<v8::CpuProfileDeoptFrame,std::__1::allocatorv8::CpuProfileDeoptFrame >+123581
17: 00007FF64002E636 GetHandleVerifier+4245574
18: 00007FF641437E82 v8::FunctionTemplate::RemovePrototype+335954
19: 00007FFA73B57034 BaseThreadInitThunk+20
20: 00007FFA75222651 RtlUserThreadStart+33

image

"devDependencies": {
"electron": "^12.0.5",
"electron-builder": "^22.10.5",
"electron-packager": "^15.2.0"
},
"dependencies": {
"electron-log": "^4.3.4",
"electron-updater": "^4.3.8",
"excel4node": "^1.7.2",
"notiflix": "^2.7.0",
"pg": "^8.6.0"
}

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

No branches or pull requests

1 participant