natergj / excel4node

Node module to allow for easy Excel file creation
MIT License
1.38k stars 215 forks source link

Hard crash electron when writing file #340

Open VCL-Dev opened 3 years ago

VCL-Dev commented 3 years ago

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::allocator >::vector<v8::CpuProfileDeoptInfo,std::__1::allocator >+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::allocator >::~vector<v8::CpuProfileDeoptFrame,std::1::allocator >+124681 16: 00007FF63F272EDD std::1::vector<v8::CpuProfileDeoptFrame,std::1::allocator >::~vector<v8::CpuProfileDeoptFrame,std::1::allocator >+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" }