Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-09-29 02:41:13


Patches item #1430820, was opened at 2006-02-13 18:49
Message generated for change (Comment added) made by speedsnail
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1430820&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Kevin J Bluck (kbluck)
Assigned to: Roland Schwarz (speedsnail)
Summary: [thread] [tss_hook.cpp] Suppress MSVC CRT memory leak report

Initial Comment:
MSVC CRT memory debugger pedantically complains about
an unreleased singleton allocation. Although the
consensus is that this is a harmless annoyance, it does
cause some concern for MSVC users who don't know what
is happening. Issue discussed in this Boost mailing
list thread:

http://lists.boost.org/boost-users/2005/08/13538.php

Attached is a patch for tss_hook.cpp, which uses the
function _CrtSetDbgFlag to temporarily turn off heap
allocation tracking for the particular allocation in
question. It should have no effect except on MSVC debug
builds. On my configuration (msvc-8_0) it eliminates
the leak warnings.

----------------------------------------------------------------------

>Comment By: Roland Schwarz (speedsnail)
Date: 2006-09-29 08:41

Message:
Logged In: YES
user_id=541730

The issue has been fixed in 1.34 and HEAD, altough
differently than the patch suggests. I cannot see that the
suggested patch is MT safe.

----------------------------------------------------------------------

Comment By: SourceForge Robot (sf-robot)
Date: 2006-04-02 05:23

Message:
Logged In: YES
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Roland Schwarz (speedsnail)
Date: 2006-03-18 21:12

Message:
Logged In: YES
user_id=541730

I will look into this, since AFAIK Michael Glassford
currently is not available.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1430820&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk