polkadot-js / tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools
Apache License 2.0
279 stars 69 forks source link

Published Docker image aborts #501

Open JoshOrndorff opened 1 year ago

JoshOrndorff commented 1 year ago

I'm submitting a Bug Report

What is the current behavior and expected behavior? I expect the docker image to print a help page with no crash

$ docker image ls jacogr/polkadot-js-tools
REPOSITORY                 TAG       IMAGE ID       CREATED       SIZE
jacogr/polkadot-js-tools   latest    75d58b194e90   2 weeks ago   1.04GB

$ docker run jacogr/polkadot-js-tools api --help
node[8]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb7a940 node::Abort() [node]
 2: 0xb7a9be  [node]
 3: 0xbe98be  [node]
 4: 0xbe99a1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 5: 0xb38f5b node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [node]
 6: 0xb395ab node::Start(int, char**) [node]
 7: 0x7f2164131d90  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7f2164131e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xabbdee _start [node]
./cli.sh: line 13:     8 Aborted                 (core dumped) polkadot-js-api "$@"