[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2022-05-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

--- Comment #7 from Roman Kuznetsov <79045_79...@mail.ru> ---
still repro in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3a05acb8f0d94728ea6cbfd7a69dac6ffa7ffc68
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2021-05-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org

--- Comment #6 from Buovjaga  ---
Still repro, ends with general error dialog, though

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Terrence Enger  changed:

   What|Removed |Added

   Keywords|wantBacktrace   |haveBacktrace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

--- Comment #5 from Terrence Enger  ---
Created attachment 153762
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153762&action=edit
bt from one of many allocations of size 0x98

Over the course of about two hours I collected mtrace output from LO
opening calc-memory.xls before LO crashed.  The mtrace output is 13
GB, some 130 million lines.  Toward the end of the trace file, there
are millions of pairs of lines like (but with changing, apparently
increasing locations allocated) (lines rewrapped):

@ /usr/lib/x86_64-linux-gnu/libstdc++.so.6:(_Znwm+0x18)
[0x7fac2dc80fd8] + 0x557ef01fdb60 0x98
@ /usr/lib/x86_64-linux-gnu/libstdc++.so.6:(_Znwm+0x18)
[0x7fac2dc80fd8] + 0x557ef01fdc10 0x30

with only rare other heap operations.

The present attachment is a backtrace from one of the allocations of
size 0x98.  An allocation of size 0x30 is similar, the location in
ScDPResultDimension::AddMember having advanded from dptabres.cxx:3959
to line 3963 and there being 6 more call levels between there and
operator new.

LibreOffice in this case is a local build of source hash 7dcb5c65,
2019-08-19, configured:

CC=ccache /usr/bin/gcc
CXX=ccache /usr/bin/g++
CCFLAGS=-Wshadow
--with-jdk-home=/usr/lib/jvm/default-java
--enable-split-debug
--enable-gdb-index
--enable-ld=gold
--enable-option-checking=fatal
#--enable-dbgutil
--enable-debug
--without-system-postgresql
--without-myspell-dicts
--with-extra-buildid
--without-doxygen
--with-external-tar=/home/terry/lo_hacking/git/src
--without-package-format

built and running on debian-buster.  The installed RAM and swap space
allowed LO opening the same file in other tests to grow to 10 or 11 GB
before crashing.

I am removing keyword wantBacktrace and adding haveBacktrace.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Terrence Enger  changed:

   What|Removed |Added

 CC||ko...@libreoffice.org,
   ||lo_b...@iseries-guru.com
   Keywords|bibisectRequest |bibisected, bisected

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

--- Comment #4 from Terrence Enger  ---
Created attachment 153490
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153490&action=edit
tail of terminal output from bibisect in 44max repo

Working on debian-buster in bibisect-44max repository I find that the
growth in memory usage started between:

  commits-h   date
      ---
good  d6ae68ec  bfaf4401  2014-08-29 22:42:31
bad   41de0160  3b856f02  2014-08-29 22:24:32

The commit message is (rewrapped)

commit 3b856f028735d292c9b02168704d4a07e2f43cd5
Author: Kohei Yoshida 
Date:   Fri Aug 29 17:18:09 2014 -0400

Use the source dimension name when searching for a dimension.

Otherwise we might miss the right dimension object.  This
fixes the bug where the subtotal function of the second data
field was not set correctly when importing from xlsx.

Change-Id: Id6ecb07b86cf6803a3f6f7604267ce2f5f9a4067

I am removing keyword bibisectRequest, adding keyword bisected, and
adding Kohei to cc.

The increase in CPU usage happened somewhere before bibisect-44max
version oldest.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||122652


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=122652
[Bug 122652] [META] Memory problems in LibreOffice
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

--- Comment #3 from Julien Nabet  ---
Created attachment 153146
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153146&action=edit
perf flamegraph

On pc Debian x86-64 with master sources updated today, I retrieved a Flamegraph
perf.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Xisco Faulí  changed:

   What|Removed |Added

Version|5.2.5.1 release |4.3 all versions
   Keywords||bibisectRequest, regression
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Xisco Faulí  ---
I can reproduce it in

Version: 6.4.0.0.alpha0+
Build ID: 620fff54ca9cd04459cc5d963ef94d4438129fe4
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

For the test I used a timeout=120.

in

Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40

(oldest commit in bibisect-42max)

it takes

real1m29,586s
user1m20,011s
sys 0m1,822s

and in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

( oldest commit in bibisect-41max)

it takes

real0m24,596s
user0m11,709s
sys 0m0,832s

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Xisco Faulí  changed:

   What|Removed |Added

   Keywords||wantBacktrace
 CC||serval2...@yahoo.fr

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Xisco Faulí  changed:

   What|Removed |Added

   Keywords||perf
 CC||xiscofa...@libreoffice.org
 OS|Windows (All)   |All

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126710] fileopen: Calc can not open xlsx, consuming tens gigs of RAM (memory leak)

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126710

Michal  changed:

   What|Removed |Added

 CC||haje...@gmail.com

--- Comment #1 from Michal  ---
Created attachment 153143
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153143&action=edit
file which causes problem for me

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs