Closed Talbot3 closed 4 years ago
node version : v14.2 platfor: macosx nanomsg
(llnode) bt
v8::base::OS::Abort() + 18 frame #1: 0x0000000100f6e6c0 node
v8::internal::GlobalBackingStoreRegistry::Register(std::__1::shared_ptr<v8::internal::BackingStore>) + 1197 frame #3: 0x00000001001e8a96 node
Recv(info=0x00007ffeefbf67c8) at node_nanomsg.cc:122 [opt] frame #8: 0x00000001053492fd node_nanomsg.node
Builtins_CallApiCallback + 173 frame #10: 0x0000238ed584e4f2 frame #11: 0x000000010097ddfa node
Builtins_JSEntry + 120 frame #13: 0x00000001002fc1f1 node
node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) + 508 frame #17: 0x0000000100002165 node
Nan::Callback::Call(this=0x000000010501e870, argc=1, argv=0x00007ffeefbf6e58) const at nan.h:1748:25 [opt] frame #21: 0x00000001053493e3 node_nanomsg.node
NanomsgReadable(req=<unavailable>, (null)=<unavailable>, events=1) at poll_ctx.cc:15 [opt] frame #23: 0x0000000100975dca node
uv_run + 433 frame #25: 0x00000001000d9007 node
node::Start(int, char**) + 274 frame #27: 0x00007fff6cb7acc9 libdyld.dylib
Here is test code https://github.com/Talbot3/FlyLab/tree/master/examples/demo-nanomq/pubsub
I found that is on v14.3.0 is good, so close it.
Carsh When msg send 10K per second
Version
node version : v14.2 platfor: macosx nanomsg
Error Stack
(llnode) bt
v8::base::OS::Abort() + 18 frame #1: 0x0000000100f6e6c0 node
V8_Fatal(char const, ...) + 336 frame #2: 0x000000010049b85d nodev8::internal::GlobalBackingStoreRegistry::Register(std::__1::shared_ptr<v8::internal::BackingStore>) + 1197 frame #3: 0x00000001001e8a96 node
v8::ArrayBuffer::GetBackingStore() + 246 frame #4: 0x000000010007a7f0 node`node::Buffer::New(node::Environment, char, unsigned long, void ()(char, void), void) + 592 frame #5: 0x000000010007a54a node`node::Buffer::New(v8::Isolate, char, unsigned long, void ()(char, void), void) + 186 frame #6: 0x0000000105346d55 node_nanomsg.node`Recv(Nan::FunctionCallbackInfoRecv(info=0x00007ffeefbf67c8) at node_nanomsg.cc:122 [opt] frame #8: 0x00000001053492fd node_nanomsg.node
Nan::imp::FunctionCallbackWrapper(info=0x00007ffeefbf6800) at nan_callbacks_12_inl.h:176:3 [opt] frame #9: 0x0000000100980f8d nodeBuiltins_CallApiCallback + 173 frame #10: 0x0000238ed584e4f2 frame #11: 0x000000010097ddfa node
Builtins_JSEntryTrampoline + 90 frame #12: 0x000000010097dbd8 nodeBuiltins_JSEntry + 120 frame #13: 0x00000001002fc1f1 node
v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate, v8::internal::(anonymous namespace)::InvokeParams const&) + 3025 frame #14: 0x00000001002fb612 node`v8::internal::Execution::Call(v8::internal::Isolate, v8::internal::Handlenode::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) + 508 frame #17: 0x0000000100002165 node
node::MakeCallback(v8::Isolate, v8::LocalNan::Callback::Call(this=0x000000010501e870, argc=1, argv=0x00007ffeefbf6e58) const at nan.h:1748:25 [opt] frame #21: 0x00000001053493e3 node_nanomsg.node
NanomsgReadable(uv_poll_sNanomsgReadable(req=<unavailable>, (null)=<unavailable>, events=1) at poll_ctx.cc:15 [opt] frame #23: 0x0000000100975dca node
uv__io_poll + 1242 frame #24: 0x0000000100962f51 nodeuv_run + 433 frame #25: 0x00000001000d9007 node
node::NodeMainInstance::Run() + 375 frame #26: 0x0000000100072b52 nodenode::Start(int, char**) + 274 frame #27: 0x00007fff6cb7acc9 libdyld.dylib
start + 1