http://openoffice.org/bugzilla/show_bug.cgi?id=117083
Issue Type: DEFECT
Summary: document window leaks framework::WindowCommandDispatch
instance
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
264 (136 direct, 128 indirect) bytes in 1 blocks are definitely lost in loss
record 3,944 of 4,878
at 0x4C27878: malloc (vg_replace_malloc.c:236)
by 0x4E9B7CC: rtl_allocateMemory (in
opt/openoffice.org/ure/lib/libuno_sal.so.3)
by 0x1C093812:
framework::Frame::initialize(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>
const&) (framework/source/services/frame.cxx:631)
by 0x1C0A9E7C:
framework::TaskCreatorService::implts_createFrame(com::sun::star::uno::Reference<com::sun::star::frame::XFrame>
const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&,
rtl::OUString const&) (in opt/openoffice.org/basis3.4/program/libfwklx.so)
by 0x1C0AB1DE:
framework::TaskCreatorService::createInstanceWithArguments(com::sun::star::uno::Sequence<com::sun::star::uno::Any>
const&) (in opt/openoffice.org/basis3.4/program/libfwklx.so)
by 0x1C018EDD: framework::TaskCreator::createTask(rtl::OUString const&,
unsigned char) (in opt/openoffice.org/basis3.4/program/libfwklx.so)
by 0x1C08AE29: framework::Desktop::findFrame(rtl::OUString const&, int) (in
opt/openoffice.org/basis3.4/program/libfwklx.so)
by 0x527DE3C: desktop::Desktop::Main() (in
opt/openoffice.org/basis3.4/program/libsofficeapp.so)
by 0x99220AB: ImplSVMain() (in
opt/openoffice.org/basis3.4/program/libvcllx.so)
by 0x99221E6: SVMain() (in opt/openoffice.org/basis3.4/program/libvcllx.so)
by 0x52A8077: soffice_main (in
opt/openoffice.org/basis3.4/program/libsofficeapp.so)
by 0x401192: sal_main (in opt/openoffice.org3/program/soffice.bin)
by 0x401177: main (in opt/openoffice.org3/program/soffice.bin)
every document window leaks a framework::WindowCommandDispatch instance;
"create WindowCommandDispatch; it is supposed to release itself at frame
destruction" (framework/source/services/frame.cxx:630) and "So we register us
at the XWindow as event listener also to be sure to live as long the
XWindow/VCLWindow lives."
(framework/source/inc/dispatch/windowcommanddispatch.hxx:72) are not true
--
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