Apache OpenOffice (AOO) Bugzilla – Issue 119939
memory leak in api OpenDirectory() of sal module
Last modified: 2012-09-15 13:18:55 UTC
The leak happens for many time when opening any document. The leaked piece of memory is created with below call stack. sal3!rtl_allocateMemory+0000000D (e:\aooblds\builds\r343539\sal\rtl\source\alloc_global.c, 301) sal3!OpenDirectory+0000007C (e:\aooblds\builds\r343539\sal\osl\w32\file_dirvol.cxx, 418) sal3!osl_openFileDirectory+000000F7 (e:\aooblds\builds\r343539\sal\osl\w32\file_dirvol.cxx, 601) sal3!osl_openDirectory+0000009B (e:\aooblds\builds\r343539\sal\osl\w32\file_dirvol.cxx, 834) utl!utl::ensuredir+0000009A utl!utl::ConstructTempDir_Impl+000001DF utl!utl::TempFile::TempFile+00000048 utl!OTempFileService::OTempFileService+000000CC utl!XTempFile_createInstance+0000002F cppuhelper3MSC!cppu::OSingleFactoryHelper::createInstanceEveryTime+00000048 (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 170) cppuhelper3MSC!cppu::OSingleFactoryHelper::createInstanceWithContext+00000043 (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 211) cppuhelper3MSC!cppu::OFactoryComponentHelper::createInstanceWithContext+000000FE (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 495) cppuhelper3MSC!cppu::ORegistryFactoryHelper::createInstanceEveryTime+0000014B (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 759) cppuhelper3MSC!cppu::OSingleFactoryHelper::createInstanceWithContext+00000043 (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 211) cppuhelper3MSC!cppu::OFactoryComponentHelper::createInstanceWithContext+000000FE (e:\aooblds\builds\r343539\cppuhelper\source\factory.cxx, 495) bootstrap.uno!stoc_smgr::OServiceManager::createInstanceWithContext+0000033B (e:\aooblds\builds\r343539\stoc\source\servicemanager\servicemanager.cxx, 1246) bootstrap.uno!stoc_smgr::OServiceManager::createInstance+0000004B (e:\aooblds\builds\r343539\stoc\source\servicemanager\servicemanager.cxx, 1356) utl!utl::UcbLockBytes::setInputStream_Impl+000000D0 utl!utl::UcbLockBytes::CreateInputLockBytes+00000071 utl!utl::UcbStreamHelper::CreateStream+0000001F utl!utl::UcbStreamHelper::CreateStream+000000EE sw!SwGrfNode::_GetStreamForEmbedGrf+00000273 sw!SwGrfNode::SwapGraphic+000000DB sw!SwGrfNode::LinkStubSwapGraphic+0000000E ...
Created attachment 78215 [details] patch for file sal\osl\w32\file_dirvol.cxx
delivered to trunk by revision r1348543.
verified