Boost logo

Boost Users :

Subject: [Boost-users] [fiber][asio] Problem running http://www.boost.org/doc/libs/1_65_0/libs/fiber/examples/asio/autoecho.cpp
From: Mark Hieber (hieberm_at_[hidden])
Date: 2017-08-24 12:45:51


Hi,

I am using cmake 3.9.1 and Boost 1.65.0. I have downloaded the autoecho.cpp
file and the corresponding yield.hpp, detail/yield.hpp and round_robin.hpp
from http://www.boost.org/doc/libs/1_65_0/libs/fiber/examples/asio.

When I run my program (just these 4 files, with no modifications), I get
this output:

Thread A: started

Thread A: A0: echo-server started

Segmentation fault

Using print statements the seg-fault happens in the

    io_svc->run();

call.

If anyone can help me with this, I would appreciate it. BTW, I am running
on Ubuntu 16.04.3 LTS

Thanks,

Mark



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