Issue 116910

Summary: desktop::Acceptor leaks Thread_Impl
Product: General Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: Stephan Bergmann <stephan.bergmann.secondary>
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m99   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2011-02-10 14:19:42 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

88 bytes in 1 blocks are definitely lost in loss record 3,734 of 4,965
   at 0x4025F20: malloc (vg_replace_malloc.c:236)
   by 0x4049E6D: osl_thread_construct_Impl (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x404A1E9: osl_thread_create_Impl (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0x404A33A: osl_createThread (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
   by 0xA2B89CC:
desktop::Acceptor::initialize(com::sun::star::uno::Sequence<com::sun::star::uno::Any>
const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/liboffaccli.so)
   by 0x4248AB4: desktop::Desktop::createAcceptor(rtl::OUString const&) (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x42498BA:
desktop::Desktop::RegisterServices(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&)
(in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x423AFC7: desktop::Desktop::Main() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libsofficeapp.so)
   by 0x59CA895: ImplSVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x59CAA34: SVMain() (in
/cws/sb140_m99/DEV300/unxlngi6/installation/opt/openoffice.org/basis3.4/program/libvclli.so)
   by 0x42684E3: 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)
Comment 1 Stephan Bergmann 2011-02-10 14:29:24 UTC
fixed as <http://hg.services.openoffice.org/cws/sb140/rev/9f286ed29e19>