[Boost-bugs] [Boost C++ Libraries] #8526: coroutine memory leak

Subject: [Boost-bugs] [Boost C++ Libraries] #8526: coroutine memory leak
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-30 07:18:12


#8526: coroutine memory leak
--------------------------------------------------------+-------------------
 Reporter: Seunghyun Nam <seunghyun.nam.gg@…> | Owner: olli
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: coroutine
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
--------------------------------------------------------+-------------------
 hi i'm Seunghyun

 I prediect there is a memory leak in coroutine library. following codes
 make incresing used memory.
 I found Caller object generated at coroutine_object<>::run() is not
 deleted.
 Check please. Sorry for my bad english.

 typedef boost::coroutines::coroutine<void()> coro_t;

 void f(coro_t::caller_type &caller) {
 }

 void invoke() {
  while(true) {
   coro_t co(&f);
  }
 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8526>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC