http://openoffice.org/bugzilla/show_bug.cgi?id=117153
Issue Type: DEFECT
Summary: utl::Bootstrap leaks Impl
Classification: Code
Product: framework
Version: DEV300m100
Platform: All
OS/Version: All
Status: NEW
Priority: P3
Component: code
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
At least on DEV300_m101 based CWS sb140, unxlngx6 non-pro, running soffice
under valgrind --leak-check=full with an
org.openofice.test.OfficeConnection-based test that simply calls
OfficeConnection.setUp() immediately followed by OfficeConnection.tearDown(),
valgrind reports
> 88 bytes in 1 blocks are possibly lost in loss record 3,136 of 4,842
> at 0x4C27878: malloc
> (valgrind-3.6.1/coregrind/m_replacemalloc/vg_replace_malloc.c:236)
> by 0x4E9B7CC: rtl_allocateMemory (sal/rtl/source/alloc_global.c:305)
> by 0x4013EE: allocate(unsigned long, (anonymous namespace)::AllocatorTraits
> const&) (sal/cpprt/operators_new_delete.cxx:146)
> by 0x4014C5: operator new(unsigned long)
> (sal/cpprt/operators_new_delete.cxx:193)
> by 0x92D5145: utl::Bootstrap::data()
> (unotools/source/config/bootstrap.cxx:155)
> by 0x92D55EE: utl::Bootstrap::locateBaseInstallation(rtl::OUString&)
> (unotools/source/config/bootstrap.cxx:692)
> by 0x1C0A18E4:
> framework::SubstitutePathVariables::SetPredefinedPathVariables(framework::PredefinedPathVariables&)
> (framework/source/services/substitutepathvars.cxx:1164)
> by 0x1C0A4869:
> framework::SubstitutePathVariables::SubstitutePathVariables(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
> const&) (framework/source/services/substitutepathvars.cxx:612)
> by 0x1C0A4BFD:
> framework::SubstitutePathVariables::impl_createInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
> const&) (framework/source/services/substitutepathvars.cxx:593)
> by 0x6D60818:
> cppu::OSingleFactoryHelper::createInstanceEveryTime(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:183)
> by 0x6D5F9D0:
> cppu::OSingleFactoryHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:215)
> by 0x6D600C5:
> cppu::OFactoryComponentHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:495)
> by 0x6D61AF8:
> cppu::ORegistryFactoryHelper::createInstanceEveryTime(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:763)
> by 0x6D5F9D0:
> cppu::OSingleFactoryHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:215)
> by 0x6D60136:
> cppu::OFactoryComponentHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:499)
> by 0x15E24849:
> stoc_smgr::OServiceManager::createInstanceWithContext(rtl::OUString const&,
> com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (stoc/source/servicemanager/servicemanager.cxx:1250)
> by 0x15E2270D: stoc_smgr::OServiceManager::createInstance(rtl::OUString
> const&) (stoc/source/servicemanager/servicemanager.cxx:1360)
> by 0x1C09A5F9: framework::PathSettings::fa_getSubstitution()
> (framework/source/services/pathsettings.cxx:1113)
> by 0x1C09ACAC:
> framework::PathSettings::impl_subst(framework::PathSettings::PathInfo&,
> unsigned char) (framework/source/services/pathsettings.cxx:651)
> by 0x1C09C766: framework::PathSettings::impl_updatePath(rtl::OUString const&,
> unsigned char) (framework/source/services/pathsettings.cxx:414)
> by 0x1C09CADC: framework::PathSettings::impl_readAll()
> (framework/source/services/pathsettings.cxx:237)
> by 0x1C09D266:
> framework::PathSettings::impl_createInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
> const&) (framework/source/services/pathsettings.cxx:125)
> by 0x6D60818:
> cppu::OSingleFactoryHelper::createInstanceEveryTime(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:183)
> by 0x6D5F9D0:
> cppu::OSingleFactoryHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:215)
> by 0x6D600C5:
> cppu::OFactoryComponentHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:495)
> by 0x6D61AF8:
> cppu::ORegistryFactoryHelper::createInstanceEveryTime(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:763)
> by 0x6D5F9D0:
> cppu::OSingleFactoryHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:215)
> by 0x6D60136:
> cppu::OFactoryComponentHelper::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (cppuhelper/source/factory.cxx:499)
> by 0x15E24849:
> stoc_smgr::OServiceManager::createInstanceWithContext(rtl::OUString const&,
> com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
> const&) (stoc/source/servicemanager/servicemanager.cxx:1250)
> by 0x15E2270D: stoc_smgr::OServiceManager::createInstance(rtl::OUString
> const&) (stoc/source/servicemanager/servicemanager.cxx:1360)
> by 0x9330486: SvtPathOptions_Impl::SvtPathOptions_Impl()
> (unotools/source/config/pathoptions.cxx:481)
> by 0x933104E: SvtPathOptions::SvtPathOptions()
> (unotools/source/config/pathoptions.cxx:563)
> by 0x5288D52: desktop::Desktop::CreateTemporaryDirectory()
> (desktop/source/app/appinit.cxx:412)
> by 0x528A8D5:
> desktop::Desktop::RegisterServices(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&)
> (desktop/source/app/appinit.cxx:306)
> by 0x527CBE5: desktop::Desktop::Main() (desktop/source/app/app.cxx:1614)
> by 0x99220AB: ImplSVMain() (vcl/source/app/svmain.cxx:189)
> by 0x99221E6: SVMain() (vcl/source/app/svmain.cxx:226)
> by 0x52A827B: soffice_main (desktop/source/app/sofficemain.cxx:49)
> by 0x401192: sal_main (desktop/source/app/main.c:35)
> by 0x401177: main (desktop/source/app/main.c:34)
--
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject:
help
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help