The ASIO C++ library version 0.3.7 crashes on Linux after a double delete (`delete' called twice on the same pointer to a heap-allocated memory space) as reported in this mailing-list posting: http://arcknowledge.com/lib.boost.asio.user/2006-12/msg00064.html Christopher Kohlhoff, the ASIO developper, addressed this issue with the following patch: http://asio.cvs.sourceforge.net/asio/asio/include/asio/detail/reactor_op_queue.hpp?r1=1.22&r2=1.23 I made a new ASIO ebuild, attached to this bug-entry, stamped 0.3.7-r1 which: - applies the above patch to prevent the crash from happening, - prevents the examples and unit test suites from being compiled & installed Reproducible: Always Steps to Reproduce: 1. code a server program making transfers long enough for the program to crash 2. connect a bunch of clients to it 3. wait Actual Results: *** glibc detected *** double free or corruption (fasttop): 0x081334d0 *** Aborted Expected Results: No crash. A patch fixing this bug is included in the attached new ebuild.
Created attachment 118658 [details] asio-0.3.7-r1.ebuild (incl. bugfix patch & no more lengthy example+tests compiling) See the first post of this entry.
Fixed, thanks.