To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=113681 Issue #|113681 Summary|[unoxml] CNode::theNodeMap not threadsafe Component|framework Version|DEV300m83 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mst Reported by|mst
------- Additional comments from [email protected] Thu Aug 5 12:04:47 +0000 2010 ------- in unoxml/source/dom/node.hxx there is this: typedef std::map< const xmlNodePtr, CNode* > nodemap_t; this is then used in CNode::get() to look up CNodes. this is bad because now with the memory leak fixed, the CNodes may be deleted already by another thread, so get() may hand out dead objects. the only way around this is to put WeakReferences into the nodemap. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
