dmlc/ps-lite

Cound not bind a port (or IP).

Opened this issue · 0 comments

while test local_multi_workers.sh, throw an error

zlq@zlq-B201:~/Desktop/distributed-bundle-adjustment/cmake-build-debug/app$ sh local_multi_workers.sh 
[16:19:46] /home/zlq/Desktop/distributed-bundle-adjustment/app/include_3rdparty/dmlc/logging.h:277: [16:19:46] src/van.cc:311: Check failed: (my_node_.port) != (-1) bind failed

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Start(int)+0x962) [0x4f7d32]
[bt] (3) ./testPslite(ps::ZMQVan::Start(int)+0x6c) [0x50194c]
[bt] (4) ./testPslite(ps::Postoffice::Start(int, char const*, bool)+0x7c) [0x4f19cc]
[bt] (5) ./testPslite(ps::Start(int, char const*)+0x2a) [0x4c1d5e]
[bt] (6) ./testPslite(main+0x59) [0x4bf5e1]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f17087a2830]
[bt] (8) ./testPslite(_start+0x29) [0x4be809]


[terminate called after throwing an instance of '16:19:46dmlc::Error] '
/home/zlq/Desktop/distributed-bundle-adjustment/app/include_3rdparty/dmlc/logging.h:277: [16:19:46] src/van.cc:311: Check failed: (my_node_.port) != (-1) bind failed

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Start(int)+0x962) [0x4f7d32]
[bt] (3) ./testPslite(ps::ZMQVan::Start(int)+0x6c) [0x50194c]
[bt] (4) ./testPslite(ps::Postoffice::Start(int, char const*, bool)+0x7c) [0x4f19cc]
[bt] (5) ./testPslite(ps::Start(int, char const*)+0x2a) [0x4c1d5e]
[bt] (6) ./testPslite(main+0x59) [0x4bf5e1]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f8c50b24830]
[bt] (8) ./testPslite(_start+0x29) [0x4be809]

[
16:19:46] src/./zmq_van.h:138: there is no socket to node 8
terminate called after throwing an instance of 'dmlc::Error'
  what():    what():  [16:19:46] src/van.cc:311: Check failed: (my_node_.port) != (-1) bind failed

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Start(int)+0x962) [0x4f7d32]
[bt] (3) ./testPslite(ps::ZMQVan::Start(int)+0x6c) [0x50194c]
[bt] (4) ./testPslite(ps::Postoffice::Start(int, char const*, bool)+0x7c) [0x4f19cc]
[bt] (5) ./testPslite(ps::Start(int, char const*)+0x2a) [0x4c1d5e]
[bt] (6) ./testPslite(main+0x59) [0x4bf5e1]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f8c50b24830]
[bt] (8) ./testPslite(_start+0x29) [0x4be809]

[16:19:46] src/van.cc:311: Check failed: (my_node_.port) != (-1) bind failed

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Start(int)+0x962) [0x4f7d32]
[bt] (3) ./testPslite(ps::ZMQVan::Start(int)+0x6c) [0x50194c]
[bt] (4) ./testPslite(ps::Postoffice::Start(int, char const*, bool)+0x7c) [0x4f19cc]
[bt] (5) ./testPslite(ps::Start(int, char const*)+0x2a) [0x4c1d5e]
[bt] (6) ./testPslite(main+0x59) [0x4bf5e1]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f17087a2830]
[bt] (8) ./testPslite(_start+0x29) [0x4be809]



[16:19:46] /home/zlq/Desktop/distributed-bundle-adjustment/app/include_3rdparty/dmlc/logging.h:277: [16:19:46] src/van.cc:390: Check failed: (send_bytes) != (-1) 

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Send(ps::Message const&)+0x245) [0x4f6925]
[bt] (3) ./testPslite(ps::Van::ProcessAddNodeCommandAtScheduler(ps::Message*, ps::Meta*, ps::Meta*)+0xc07) [0x4f9577]
[bt] (4) ./testPslite(ps::Van::ProcessAddNodeCommand(ps::Message*, ps::Meta*, ps::Meta*)+0x556) [0x4f9d86]
[bt] (5) ./testPslite(ps::Van::Receiving()+0xdbd) [0x4fac0d]
[bt] (6) /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f39089eec80]
[bt] (7) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f3908cbf6ba]
[bt] (8) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f390815441d]


terminate called after throwing an instance of 'dmlc::Error'
  what():  [16:19:46] src/van.cc:390: Check failed: (send_bytes) != (-1) 

Stack trace returned 9 entries:
[bt] (0) ./testPslite(dmlc::StackTrace[abi:cxx11]()+0x54) [0x4c025a]
[bt] (1) ./testPslite(dmlc::LogMessageFatal::~LogMessageFatal()+0x30) [0x4c052c]
[bt] (2) ./testPslite(ps::Van::Send(ps::Message const&)+0x245) [0x4f6925]
[bt] (3) ./testPslite(ps::Van::ProcessAddNodeCommandAtScheduler(ps::Message*, ps::Meta*, ps::Meta*)+0xc07) [0x4f9577]
[bt] (4) ./testPslite(ps::Van::ProcessAddNodeCommand(ps::Message*, ps::Meta*, ps::Meta*)+0x556) [0x4f9d86]
[bt] (5) ./testPslite(ps::Van::Receiving()+0xdbd) [0x4fac0d]
[bt] (6) /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7f39089eec80]
[bt] (7) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f3908cbf6ba]
[bt] (8) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f390815441d]

I AM SO CONFUSED.