Boost logo

Boost Users :

Subject: [Boost-users] [fiber] Asio autoecho example crashes (VS 2015 u3)
From: DePizzottri (depizzottri_at_[hidden])
Date: 2016-10-06 06:51:23

Hi all,

I'm found that asio autoecho example crashes after main's return statement.
Debugger shows write access from the fiber scheduler to the already destroed

Substitution reference to io_service:
boost::asio::io_service & io_svc_;

in round_robin algo to the shared_ptr:
boost::shared_ptr<boost::asio::io_service> io_svc_;

with approprieate correction of the other code solves the problem.

Maybe I misunderstood something in the descrition from documentation? Or its
some kind of feature?

View this message in context:
Sent from the Boost - Users mailing list archive at

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