[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 User hbrinkm changed the following: What|Old value |New value Status|VERIFIED |CLOSED --- Additional comments from hbri...@openoffice.org Mon Feb 16 12:21:44 + 2009 --- closed - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 User hbrinkm changed the following: What|Old value |New value Status|RESOLVED |VERIFIED --- Additional comments from [EMAIL PROTECTED] Mon Dec 1 14:04:56 + 2008 --- verified - 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]
[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 User hbrinkm changed the following: What|Old value |New value Status|NEW |RESOLVED Resolution| |FIXED --- Additional comments from [EMAIL PROTECTED] Thu Oct 2 09:50:21 + 2008 --- Applied patch and verified. /cvs/framework/unoxml/source/xpath/nodelist.cxx,v -- nodelist.cxx new revision: 1.4.20.3; previous revision: 1.4.20.2 /cvs/framework/unoxml/source/xpath/nodelist.hxx,v -- nodelist.hxx new revision: 1.4.20.3; previous revision: 1.4.20.2 /cvs/framework/unoxml/source/xpath/xpathobject.cxx,v -- xpathobject.cxx new revision: 1.4.20.3; previous revision: 1.4.20.2 /cvs/framework/unoxml/source/xpath/xpathobject.hxx,v -- xpathobject.hxx new revision: 1.4.20.3; previous revision: 1.4.20.2 - 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]
[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 Issue #|94041 Summary|unoxml: leak in xpath code Component|framework Version|DEV300m30 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|cmc --- Additional comments from [EMAIL PROTECTED] Thu Sep 18 14:32:59 + 2008 --- There are calls to xmlXPathEval but not to xmlXPathFreeObject on the result, i.e. valgrind trace of... ==4609== 1,672 (1,368 direct, 304 indirect) bytes in 19 blocks are definitely lost in loss record 181 of 272 ==4609==at 0x4A0739E: malloc (vg_replace_malloc.c:207) ==4609==by 0x3A41482BEE: xmlXPathWrapNodeSet (in /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x3A41490FD3: (within /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x3A4148F1E0: (within /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x3A4148F93E: (within /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x3A41491EAC: (within /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x3A41494E52: xmlXPathEval (in /usr/lib64/libxml2.so.2.7.1) ==4609==by 0x1CEE0D6F: (within /usr/lib64/openoffice.org/basis3.0/program/libunoxmllx.so) ==4609==by 0x1CEE01E4: (within /usr/lib64/openoffice.org/basis3.0/program/libunoxmllx.so) ==4609==by 0x1CEE0181: (within /usr/lib64/openoffice.org/basis3.0/program/libunoxmllx.so) ==4609==by 0x5EFF2D8: (anonymous namespace)::SfxDocumentMetaData::init(com::sun::star::uno::Referencecom::sun::star::xml::dom::XDocument) (SfxDocumentMetaData.cxx:1167) ==4609==by 0x5F01CDB: (anonymous namespace)::SfxDocumentMetaData::SfxDocumentMetaData(com::sun::star::uno::Referencecom::sun::star::uno::XComponentContext const) (SfxDocumentMetaData.cxx:1320) The following patch to use a boost shared_ptr with a xmlXPathFreeObject deallocator should do the trick. Seems to here anyway. - 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]
[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 User cmc changed the following: What|Old value |New value Attachment is patch| |Created an attachment (id= | |56612) sample patch --- Additional comments from [EMAIL PROTECTED] Thu Sep 18 14:33:22 + 2008 --- Created an attachment (id=56612) sample patch - 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]
[framework-issues] [Issue 94041] unoxml: leak in xpath code
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94041 User mba changed the following: What|Old value |New value Assigned to|mba |hbrinkm Target milestone|--- |OOo 3.1 --- Additional comments from [EMAIL PROTECTED] Thu Sep 18 15:24:12 + 2008 --- Thanks for the patch. Henning, please take over - 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]