Issue 117084 - Desktop::Main leaks Lockfile instance
Summary: Desktop::Main leaks Lockfile instance
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m100
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: issues@framework
Depends on:
Reported: 2011-02-25 15:51 UTC by Stephan Bergmann
Modified: 2017-05-20 10:32 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2011-02-25 15:51:23 UTC
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

406 (48 direct, 358 indirect) bytes in 1 blocks are definitely lost in loss record 4,058 of 4,873
   at 0x4C27878: malloc (vg_replace_malloc.c:236)
   by 0x4E9B7CC: rtl_allocateMemory (in opt/
   by 0x4013EE: allocate(unsigned long, (anonymous namespace)::AllocatorTraits const&) (in opt/openoffice.org3/program/soffice.bin)
   by 0x4014C5: operator new(unsigned long) (in opt/openoffice.org3/program/soffice.bin)
   by 0x527CAB7: desktop::Desktop::Main() (desktop/source/app/app.cxx:1629)
   by 0x99220AB: ImplSVMain() (in opt/
   by 0x99221E6: SVMain() (in opt/
   by 0x52A8077: soffice_main (in opt/
   by 0x401192: sal_main (in opt/openoffice.org3/program/soffice.bin)
   by 0x401177: main (in opt/openoffice.org3/program/soffice.bin)
Comment 1 Stephan Bergmann 2011-02-25 16:01:36 UTC
fixed as <>
Comment 2 Stephan Bergmann 2011-02-25 16:02:51 UTC
no, fixed as <>
Comment 3 Oliver-Rainer Wittmann 2012-06-13 12:26:42 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.