[Boost-bugs] [Boost C++ Libraries] #3652: App Verifier issue found in boost 1.0.33 thread library while unloading DLL

Subject: [Boost-bugs] [Boost C++ Libraries] #3652: App Verifier issue found in boost 1.0.33 thread library while unloading DLL
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-20 17:55:56


#3652: App Verifier issue found in boost 1.0.33 thread library while unloading
DLL
-------------------------------------------+--------------------------------
 Reporter: ravisingh_id@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: threads
  Version: Boost 1.34.0 | Severity: Problem
 Keywords: thread DLL unload Appverifier |
-------------------------------------------+--------------------------------
 DLL built using boost 1.33.0 thread libraray has Appverifier crash while
 unloading.


 =======================================
 VERIFIER STOP 00000202 : pid 0x15A4: Freeing heap block containing an
 active critical section.

                 06762FE0 : Critical section address.
                 004D2654 : Critical section initialization stack trace.
                 06762FC0 : Heap block address.
                 00000040 : Heap block size.

 =======================================

 In file …\boost_tp\boost\libs\thread\src\tss_hooks.cpp

 on_process_enter() function calls init_threadmon_mutex()acquires memory
 for mutex by executing threadmon_mutex = new boost::mutex; statement.
 However, this memory is not released when dll in unloaded. I guess the
 acquired memory should be released in on_process_exit() call.

 Is this a known issue and is there any fix for this?

 This problem was also found in 1.34 version

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3652>
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:01 UTC