Boost logo

Boost Users :

Subject: [Boost-users] [asio] null reference in epoll_reactor
From: Phil Sean (philsean_at_[hidden])
Date: 2017-10-17 15:27:40

Running the tutorial async TCP server ( or any other asynchronous operation in valgrind yields an error like this:
= Syscall param epoll_pwait(sigmask) points to unaddressable byte(s)
= epoll_pwait (in /usr/lib/
= boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) (in /.../server)
= boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) (in /.../server)
= boost::asio::detail::task_io_service::run(boost::system::error_code&) (in /.../server)
= boost::asio::io_service::run() (in /.../server)
= main (in /.../server)
= Address 0x0 is not stack'd, malloc'd or (recently) free'd
I suspect it's due to some recent changes because it didn't use to be an error. Boost version is 1.65.1(Arch Linux).
Thank you.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at