Issue 116915 - osl_getSystemPathFromFileURL leaks rtl_uStrings
Summary: osl_getSystemPathFromFileURL leaks rtl_uStrings
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: DEV300m99
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 15:57 UTC by Stephan Bergmann
Modified: 2017-05-20 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2011-02-10 15:57:57 UTC
At least on DEV300_m99-based CWS sb140, unxlngi6 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

72 bytes in 1 blocks are definitely lost in loss record 3,645 of 4,972
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4085590: rtl_allocateMemory (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D707: rtl_uString_ImplAlloc (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D909: rtl_uString_new_WithLength (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070177: rtl_uStringbuffer_ensureCapacity (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070217: rtl_uStringbuffer_insert (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40716CE: (anonymous namespace)::writeUnicode(_rtl_uString**, long*,
unsigned short) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40717E9: (anonymous namespace)::writeUcs4(_rtl_uString**, long*,
unsigned long) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4072ADC: rtl_uriDecode (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x405B908: osl_getSystemPathFromFileURL (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x49BA017: osl::FileBase::getSystemPathFromFileURL(rtl::OUString const&,
rtl::OUString&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B7DE5: cppu::makeComponentPath(rtl::OUString const&, rtl::OUString
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B9019: cppu::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497C7D2: cppu::(anonymous
namespace)::defaultBootstrap_InitialComponentContext(rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497D39D: cppu::defaultBootstrap_InitialComponentContext() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4246DE6: desktop::Desktop::CreateApplicationServiceManager() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x4233F2F: desktop::Desktop::Init() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59C84E1:
InitVCL(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C886A: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C8A34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42664E3: soffice_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x8048E29: sal_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)
   by 0x8048E0A: main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)

72 bytes in 1 blocks are definitely lost in loss record 3,646 of 4,972
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4085590: rtl_allocateMemory (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D707: rtl_uString_ImplAlloc (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D909: rtl_uString_new_WithLength (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070177: rtl_uStringbuffer_ensureCapacity (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070217: rtl_uStringbuffer_insert (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40716CE: (anonymous namespace)::writeUnicode(_rtl_uString**, long*,
unsigned short) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40717E9: (anonymous namespace)::writeUcs4(_rtl_uString**, long*,
unsigned long) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4072ADC: rtl_uriDecode (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x405B908: osl_getSystemPathFromFileURL (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x49BA017: osl::FileBase::getSystemPathFromFileURL(rtl::OUString const&,
rtl::OUString&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B7DE5: cppu::makeComponentPath(rtl::OUString const&, rtl::OUString
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B9019: cppu::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497C8FA: cppu::(anonymous
namespace)::defaultBootstrap_InitialComponentContext(rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497D39D: cppu::defaultBootstrap_InitialComponentContext() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4246DE6: desktop::Desktop::CreateApplicationServiceManager() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x4233F2F: desktop::Desktop::Init() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59C84E1:
InitVCL(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C886A: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C8A34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42664E3: soffice_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x8048E29: sal_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)
   by 0x8048E0A: main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)

72 bytes in 1 blocks are definitely lost in loss record 3,647 of 4,972
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4085590: rtl_allocateMemory (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D707: rtl_uString_ImplAlloc (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D909: rtl_uString_new_WithLength (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070177: rtl_uStringbuffer_ensureCapacity (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070217: rtl_uStringbuffer_insert (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40716CE: (anonymous namespace)::writeUnicode(_rtl_uString**, long*,
unsigned short) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40717E9: (anonymous namespace)::writeUcs4(_rtl_uString**, long*,
unsigned long) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4072ADC: rtl_uriDecode (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x405B908: osl_getSystemPathFromFileURL (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x49BA017: osl::FileBase::getSystemPathFromFileURL(rtl::OUString const&,
rtl::OUString&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B7DE5: cppu::makeComponentPath(rtl::OUString const&, rtl::OUString
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B9019: cppu::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4963B9E: cppu::bootstrapInitialSF(rtl::OUString const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497C722: cppu::(anonymous
namespace)::defaultBootstrap_InitialComponentContext(rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497D39D: cppu::defaultBootstrap_InitialComponentContext() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4246DE6: desktop::Desktop::CreateApplicationServiceManager() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x4233F2F: desktop::Desktop::Init() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59C84E1:
InitVCL(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C886A: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C8A34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42664E3: soffice_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x8048E29: sal_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)
   by 0x8048E0A: main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)

72 bytes in 1 blocks are definitely lost in loss record 3,648 of 4,972
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4085590: rtl_allocateMemory (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D707: rtl_uString_ImplAlloc (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D909: rtl_uString_new_WithLength (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070177: rtl_uStringbuffer_ensureCapacity (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070217: rtl_uStringbuffer_insert (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40716CE: (anonymous namespace)::writeUnicode(_rtl_uString**, long*,
unsigned short) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40717E9: (anonymous namespace)::writeUcs4(_rtl_uString**, long*,
unsigned long) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4072ADC: rtl_uriDecode (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x405B908: osl_getSystemPathFromFileURL (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x49BA017: osl::FileBase::getSystemPathFromFileURL(rtl::OUString const&,
rtl::OUString&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B7DE5: cppu::makeComponentPath(rtl::OUString const&, rtl::OUString
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B9019: cppu::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4965856:
cppu::bootstrapInitialContext(com::sun::star::uno::Reference<com::sun::star::lang::XMultiComponentFactory>
const&,
com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry>
const&,
com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry>
const&, rtl::OUString const&, rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497CCF0: cppu::(anonymous
namespace)::defaultBootstrap_InitialComponentContext(rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497D39D: cppu::defaultBootstrap_InitialComponentContext() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4246DE6: desktop::Desktop::CreateApplicationServiceManager() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x4233F2F: desktop::Desktop::Init() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59C84E1:
InitVCL(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C886A: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C8A34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42664E3: soffice_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x8048E29: sal_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)
   by 0x8048E0A: main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)

576 bytes in 8 blocks are definitely lost in loss record 4,467 of 4,972
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4085590: rtl_allocateMemory (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D707: rtl_uString_ImplAlloc (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x406D909: rtl_uString_new_WithLength (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070177: rtl_uStringbuffer_ensureCapacity (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4070217: rtl_uStringbuffer_insert (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40716CE: (anonymous namespace)::writeUnicode(_rtl_uString**, long*,
unsigned short) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x40717E9: (anonymous namespace)::writeUcs4(_rtl_uString**, long*,
unsigned long) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x4072ADC: rtl_uriDecode (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x405B908: osl_getSystemPathFromFileURL (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x49BA017: osl::FileBase::getSystemPathFromFileURL(rtl::OUString const&,
rtl::OUString&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B7DE5: cppu::makeComponentPath(rtl::OUString const&, rtl::OUString
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x49B9019: cppu::loadSharedLibComponentFactory(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497C2CD: cppu::addFactories(char const* const*, rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiComponentFactory>
const&, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4963C52: cppu::bootstrapInitialSF(rtl::OUString const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497C722: cppu::(anonymous
namespace)::defaultBootstrap_InitialComponentContext(rtl::Bootstrap const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x497D39D: cppu::defaultBootstrap_InitialComponentContext() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppuhelpergcc3.so.3)
   by 0x4246DE6: desktop::Desktop::CreateApplicationServiceManager() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x4233F2F: desktop::Desktop::Init() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59C84E1:
InitVCL(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C886A: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59C8A34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42664E3: soffice_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x8048E29: sal_main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)
   by 0x8048E0A: main (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice.bin)

osl_getSystemPathFromFileURL in sal/osl/unx/file_url.cxx obviously can leak
rtl_uString instances.
Comment 1 Stephan Bergmann 2011-02-11 07:49:45 UTC
fixed as <http://hg.services.openoffice.org/cws/sb140/rev/0561c61ce0a9>:
"rewrote unx osl_getSystemPathFromFileURL to avoid mem leaks; introduced
sal/qa/osl/getsystempathfromfileurl tests; adapted w32
osl_getSystemPathFromFileURL to new tests"
Comment 2 Stephan Bergmann 2011-03-23 12:39:20 UTC
+ <http://hg.services.openoffice.org/cws/sb140/rev/b8203dc003ed>