audreyt / node-webworker-threads

Lightweight Web Worker API implementation with native threads
https://npmjs.org/package/webworker-threads
Other
2.3k stars 149 forks source link

Following error occur when launching the following file with a number of samples around 500000 #180

Open diegomary opened 6 years ago

diegomary commented 6 years ago

app.zip

node app.js [9860]: src\node_platform.cc:242: Assertion `data' failed. The main thread continues its execution 1: node::DecodeWrite 2: node::DecodeWrite 3: node::performance::MarkPerformanceMilestone 4: node::performance::MarkPerformanceMilestone 5: v8::internal::ReadFile 6: v8::internal::IncrementalMarking::Start 7: v8::internal::ScavengeJob::operator= 8: v8::internal::Factory::NewHeapNumber 9: v8::internal::Factory::NewNumber 10: v8::internal::WasmDebugInfo::SetupForTesting 11: v8::internal::LookupIterator::FetchValue 12: v8::internal::Object::GetProperty 13: v8::Object::Get 14: v8::Object::Get 15: BSONSerializer::SerializeValue 16: BSONSerializer::SerializeDocument 17: BSONSerializer::SerializeValue 18: postMessage 19: Nan::imp::FunctionCallbackWrapper 20: v8::internal::wasm::SignatureMap::Find 21: v8::internal::Builtins::CallableFor 22: v8::internal::Builtins::CallableFor 23: v8::internal::Builtins::CallableFor 24: 000002EA76E043C1

diegomary commented 6 years ago

Hello dear friends. Sorry to bother you but since your implementation is very nice I wanted to submit a problem I had with some calculation of mine. Hope this can help to discover what I did wrong or if there's something that can be improved. Regards Diego