Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2004

Tip: Looking for answers? Try searching our database.

UMR: Uninitialized memory read in std::_Tree_nod

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Tarrant - 17 Dec 2004 11:17 GMT
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.
MarkB - 22 Dec 2004 00:44 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.