Bug 118633 - MacOS: memory leaks memory with multiple invocations when accessing table properties
Summary: MacOS: memory leaks memory with multiple invocations when accessing table pro...
Status: RESOLVED DUPLICATE of bug 119158
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.1 rc
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-09 12:08 UTC by Telesto
Modified: 2018-08-27 11:38 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Screenshot of mallocs (218.44 KB, image/png)
2018-07-31 07:38 UTC, Alex Thurgood
Details
Video screen capture scrolling through mallocs (8.39 MB, video/quicktime)
2018-07-31 08:05 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-07-09 12:08:38 UTC
Description:
MacOS: memory leaks memory with multiple invocations when accessing table properties

Steps to Reproduce:
1. Start the Instruments
2. Choose Memory Leak profile tool
3. Select LibreOffice.app in instdir as target process
4. Click on the record button, LODev is started by the profiling tool
5. Wait for the StartCenter to load.
6. Click on the new Writer document icon to open a blank Writer document.
7. Insert a 2x2 table
8. Table -> Properties -> table tab
9. Select "Left" and check relative 
10. Press OK -> Leak

Actual Results:
Multiple (small) leaks

Expected Results:
No leaks



Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.0.1
Build ID: 378e26bd4f22a135cef5fa17afd5d4171d8da21a
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded
Comment 1 Telesto 2018-07-09 12:13:56 UTC
Similar type of leak when Opening/closing the Edit -> Paste Special dialog
Comment 2 Alex Thurgood 2018-07-31 07:38:05 UTC
Created attachment 143835 [details]
Screenshot of mallocs

Enclosing a screenshot of the mallocs identified by the Instruments.app - there seems to be a lot of allocations for stuff in 

rtl_string2UString_status 

and 

bool insertItems<ListBox>
Comment 3 Alex Thurgood 2018-07-31 07:40:11 UTC
I don't see these when the table property is changed though, rather afterwards when LibreOffice isn't doing much else just before I shut down the LO process.
Comment 4 Alex Thurgood 2018-07-31 08:05:53 UTC
Created attachment 143836 [details]
Video screen capture scrolling through mallocs

I made a video screen capture (using the QuickTime utility) scrolling through each malloc, with the code calls used displayed on the right.
Comment 5 Alex Thurgood 2018-08-27 10:48:26 UTC
Isn't this a duplicate of 119158 ?
Comment 6 Telesto 2018-08-27 11:38:24 UTC

*** This bug has been marked as a duplicate of bug 119158 ***