UMR: Uninitialized memory read in std::_Tree_nod

G

Guest

Hi,

When I run our application under PurifyPlus, I get lots of "UMR:
Uninitialized memory read" warnings, e.g.

[W] UMR: Uninitialized memory read in std::_Tree_nod<class
std::_Tmap_traits<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class CTCSystem *,struct
std::less<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >,class std::allocator<struct std::pair<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const ,class CTCSystem *> >,0> >::_Tree_nod<class
std::_Tmap_traits<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class CTCSystem *,struct
std::less<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >,class std::allocator<struct std::pair<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const ,class CTCSystem *> >,0> >(struct
_Tree_nod<class std::_Tmap_traits<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class CTCSystem *,struct
std::less<class std::basic_string<char,struct std: {1 occurrence}

These appear to be to do with std::maps that are used in the application.
If I add /RTC1 to the compile options, they go away.

I've trawled the outerweb but nobody seems to be talking out this. Am I the
only one seeing this? Can anybody explain why it occurs? Should I be
worried about it?

Thanks for any help,

Jim.
 
G

Guest

Hi, Jim.

I have seen these before, but not from any of my projects. Do you have
sample code that reproduces the UMRs? Drop me an e-mail, and we can look
into this. Purify doesn't support /RTC1, so it's possible that the UMRs are
still there.

-Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top