Boost C++ Libraries: Ticket #10070: Boost.Coroutine tests mmap return value in a wrong way https://svn.boost.org/trac10/ticket/10070 <p> boost_1_55_0/libs/coroutine/src/detail/standard_stack_allocator_posix.cpp:125 MMAP(2) returns MAP_FAILED on fail, which is (void *)(-1), not NULL or 0. The line should be change to: if (limit == (void *)(-1) /*MAP_FAILED*/) throw std::bad_alloc(); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10070 Trac 1.4.3 windoze.net@… Mon, 26 May 2014 14:33:51 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10070#comment:1 https://svn.boost.org/trac10/ticket/10070#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">olli</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">coroutine</span> </li> </ul> Ticket windoze.net@… Tue, 27 May 2014 01:04:14 GMT version changed https://svn.boost.org/trac10/ticket/10070#comment:2 https://svn.boost.org/trac10/ticket/10070#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.54.0</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket olli Tue, 27 May 2014 06:27:51 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10070#comment:3 https://svn.boost.org/trac10/ticket/10070#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> already fixed in branch develop (1.56), thx </p> Ticket