[fiber][asio] Problem running http://www.boost.org/doc/libs/1_65_0/libs/fiber/examples/asio/autoecho.cpp
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
unfortunately, some fixes did not permission to merged into 1.65 (no permission because too late) - you could use branch develop (github) or you need to wait till 1.66is released 2017-08-24 14:45 GMT+02:00 Mark Hieber via Boost-users < boost-users@lists.boost.org>:
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 mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Mark Hieber
-
Oliver Kowalke