Issue 116910 - desktop::Acceptor leaks Thread_Impl
Summary: desktop::Acceptor leaks Thread_Impl
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m99
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 14:19 UTC by Stephan Bergmann
Modified: 2017-05-20 10:30 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 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>