Skip to content

rcll-refbox-instruct hangs while waiting for refbox connection  #87

@snoato

Description

@snoato

The tool rcll-refbox-instruct as used by the gazsim script with the parameter -w sporadically ends up in a deadlock situation on some systems. The deadlock occurs in io_service_.run() on line 313 in the context of this loop:

do {
	io_service_.run();
	io_service_.reset();
} while (!quit_);

Backtrace:

#0  0x00007f17aed58d1e in epoll_wait () from /lib64/libc.so.6
#1  0x0000000000494a60 in boost::asio::detail::epoll_reactor::run (this=0x1c121f0, usec=-1, ops=...) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:471
#2  0x0000000000495feb in boost::asio::detail::scheduler::do_run_one (this=0x1c12920, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:385
#3  0x0000000000495a64 in boost::asio::detail::scheduler::run (this=0x1c12920, ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:154
#4  0x0000000000496541 in boost::asio::io_context::run (this=0x4e3910 <io_service_>) at /usr/include/boost/asio/impl/io_context.ipp:62
#5  0x000000000048dbf9 in main (argc=2, argv=0x7ffeec257758) at /home/dswoboda/rcll-refbox/src/tools/rcll-refbox-instruct.cpp:322

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions