incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120078] New: When opening a docx file, there is a lot of leaks on property strings stored in OOXMLPropertySetImpl
Date Mon, 25 Jun 2012 07:59:15 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120078

          Priority: P3
            Bug ID: 120078
          Assignee: ooo-issues@incubator.apache.org
           Summary: When opening a docx file, there is a lot of leaks on
                    property strings stored in OOXMLPropertySetImpl
          Severity: major
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: zhangjf@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO350
         Component: open-import
           Product: word processor

The call stack of the allocating of the leaked objects,

ntdll!RtlUlonglongByteSwap+00000B52
MSVCR90!malloc+00000079
MSVCR90!operator new+0000001F
writerfilter!writerfilter::ooxml::OOXMLFastContextHandlerProperties::OOXMLFastContextHandlerProperties+0000005F
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
1255)
writerfilter!writerfilter::ooxml::OOXMLFastHelper<writerfilter::ooxml::OOXMLFastContextHandlerProperties>::createAndSetParentAndDefine+00000052
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfasthelper.hxx, 117)
writerfilter!writerfilter::ooxml::OOXMLFactory::createFastChildContextFromFactory+0000020B
(e:\aooblds\builds\r1352383\writerfilter\wntmsci12.pro\misc\ooxmlfactory_generated.cxx,
85)
writerfilter!writerfilter::ooxml::OOXMLFactory::createFastChildContext+000000DE
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfactory.cxx, 273)
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::lcl_createFastChildContext+00000067
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
291)
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::createFastChildContext+0000004C
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
276)
fastsax.uno!sax_fastparser::FastSaxParser::callbackStartElement+00000F57
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 819)
    fastsax.uno!call_callbackStartElement+0000001A
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 118)
    fastsax.uno!XML_Parse+0000236F
    fastsax.uno!XML_Parse+000028B4
    fastsax.uno!XML_ParseBuffer+00000058
    fastsax.uno!XML_Parse+000000EF
    fastsax.uno!sax_fastparser::FastSaxParser::parse+000000C2
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 646)
    fastsax.uno!sax_fastparser::FastSaxParser::parseStream+000004FE
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 476)
    writerfilter!writerfilter::ooxml::OOXMLDocumentImpl::resolve+0000033F
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmldocumentimpl.cxx,
343)
    writerfilter!WriterFilter::filter+00000B73
(e:\aooblds\builds\r1352383\writerfilter\source\filter\importfilter.cxx, 120)
    sfx!SfxObjectShell::ImportFrom+00000899
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 2448)
    sfx!SfxObjectShell::DoLoad+00000BF5
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 738)
    sfx!SfxBaseModel::load+00000299
(e:\aooblds\builds\r1352383\sfx2\source\doc\sfxbasemodel.cxx, 1877)
    sfx!SfxFrameLoader_Impl::load+000006E0
(e:\aooblds\builds\r1352383\sfx2\source\view\frmload.cxx, 607)
    fwk!framework::LoadEnv::impl_loadContent+00000A71
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 1201)
    fwk!framework::LoadEnv::startLoading+000000F2
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 429)
    fwk!framework::LoadEnv::loadComponentFromURL+000000C6
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 203)
    fwk!framework::Desktop::loadComponentFromURL+000000E9
(e:\aooblds\builds\r1352383\framework\source\services\desktop.cxx, 655)


        sal3!rtl_allocateMemory+0000000D
(e:\aooblds\builds\r1352383\sal\rtl\source\alloc_global.c, 301)
    sal3!rtl_uString_ImplAlloc+0000001C
(e:\aooblds\builds\r1352383\sal\rtl\source\strtmpl.c, 945)
    sal3!rtl_string2UString_status+0000016E
(e:\aooblds\builds\r1352383\sal\rtl\source\ustring.c, 615)
    sal3!rtl_string2UString+0000001F
(e:\aooblds\builds\r1352383\sal\rtl\source\ustring.c, 725)
    sax!rtl::OStringToOUString+00000065
(e:\aooblds\builds\r1352383\solver\350\wntmsci12.pro\inc\rtl\ustring.hxx, 1503)
    sax!sax_fastparser::FastAttributeList::getValue+000000DC
(e:\aooblds\builds\r1352383\sax\source\tools\fastattribs.cxx, 128)
    writerfilter!writerfilter::ooxml::OOXMLFactory::attributes+000003FE
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfactory.cxx, 175)
   
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::attributes+0000005C
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
363)
   
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::startFastElement+00000018
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
200)
    fastsax.uno!sax_fastparser::FastSaxParser::callbackStartElement+00001180
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 827)
    fastsax.uno!call_callbackStartElement+0000001A
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 118)
    fastsax.uno!XML_Parse+0000236F
    fastsax.uno!XML_Parse+000028B4
    fastsax.uno!XML_ParseBuffer+00000058
    fastsax.uno!XML_Parse+000000EF
    fastsax.uno!sax_fastparser::FastSaxParser::parse+000000C2
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 646)
    fastsax.uno!sax_fastparser::FastSaxParser::parseStream+000004FE
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 476)
    writerfilter!writerfilter::ooxml::OOXMLDocumentImpl::resolve+0000033F
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmldocumentimpl.cxx,
343)
    writerfilter!WriterFilter::filter+00000B73
(e:\aooblds\builds\r1352383\writerfilter\source\filter\importfilter.cxx, 120)
    sfx!SfxObjectShell::ImportFrom+00000899
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 2448)
    sfx!SfxObjectShell::DoLoad+00000BF5
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 738)
    sfx!SfxBaseModel::load+00000299
(e:\aooblds\builds\r1352383\sfx2\source\doc\sfxbasemodel.cxx, 1877)
    sfx!SfxFrameLoader_Impl::load+000006E0
(e:\aooblds\builds\r1352383\sfx2\source\view\frmload.cxx, 607)
    fwk!framework::LoadEnv::impl_loadContent+00000A71
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 1201)
    fwk!framework::LoadEnv::startLoading+000000F2
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 429)
    fwk!framework::LoadEnv::loadComponentFromURL+000000C6
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 203)


    MSVCR90!operator new+0000001F
   
writerfilter!writerfilter::ooxml::OOXMLFastContextHandlerProperties::newProperty+00000042
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
1304)
   
writerfilter!writerfilter::ooxml::OOXMLFastHelper<writerfilter::ooxml::OOXMLIntegerValue>::newProperty+00000102
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfasthelper.hxx, 199)
    writerfilter!writerfilter::ooxml::OOXMLFactory::attributes+000005ED
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfactory.cxx, 190)
   
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::attributes+0000005C
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
363)
   
writerfilter!writerfilter::ooxml::OOXMLFastContextHandler::startFastElement+00000018
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmlfastcontexthandler.cxx,
200)
    fastsax.uno!sax_fastparser::FastSaxParser::callbackStartElement+00001180
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 827)
    fastsax.uno!call_callbackStartElement+0000001A
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 118)
    fastsax.uno!XML_Parse+0000236F
    fastsax.uno!XML_Parse+000028B4
    fastsax.uno!XML_ParseBuffer+00000058
    fastsax.uno!XML_Parse+000000EF
    fastsax.uno!sax_fastparser::FastSaxParser::parse+000000C2
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 646)
    fastsax.uno!sax_fastparser::FastSaxParser::parseStream+000004FE
(e:\aooblds\builds\r1352383\sax\source\fastparser\fastparser.cxx, 476)
    writerfilter!writerfilter::ooxml::OOXMLDocumentImpl::resolve+0000033F
(e:\aooblds\builds\r1352383\writerfilter\source\ooxml\ooxmldocumentimpl.cxx,
343)
    writerfilter!WriterFilter::filter+00000B73
(e:\aooblds\builds\r1352383\writerfilter\source\filter\importfilter.cxx, 120)
    sfx!SfxObjectShell::ImportFrom+00000899
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 2448)
    sfx!SfxObjectShell::DoLoad+00000BF5
(e:\aooblds\builds\r1352383\sfx2\source\doc\objstor.cxx, 738)
    sfx!SfxBaseModel::load+00000299
(e:\aooblds\builds\r1352383\sfx2\source\doc\sfxbasemodel.cxx, 1877)
    sfx!SfxFrameLoader_Impl::load+000006E0
(e:\aooblds\builds\r1352383\sfx2\source\view\frmload.cxx, 607)
    fwk!framework::LoadEnv::impl_loadContent+00000A71
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 1201)
    fwk!framework::LoadEnv::startLoading+000000F2
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 429)
    fwk!framework::LoadEnv::loadComponentFromURL+000000C6
(e:\aooblds\builds\r1352383\framework\source\loadenv\loadenv.cxx, 203)
    fwk!framework::Desktop::loadComponentFromURL+000000E9
(e:\aooblds\builds\r1352383\framework\source\services\desktop.cxx, 655)

    ......

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message