|
Boost Users : |
Subject: [Boost-users] [asio] null reference in epoll_reactor
From: Phil Sean (philsean_at_[hidden])
Date: 2017-10-17 15:27:40
Hi,
Running the tutorial async TCP server (http://www.boost.org/doc/libs/1_65_1/doc/html/boost_asio/tutorial/tutdaytime3/src.html) 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/libc-2.26.so)
= 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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net