Bug 69259

Summary: UI: soffice.bin hangs when resizing graph with lots of data
Product: LibreOffice Reporter: Mirar <libreoffice>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: libreoffice, reisi007
Priority: medium    
Version: 4.0.2.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: gdb backtraces (two) where soffice.bin hanged
test document: libreoffice --calc fft1.csv will prepare the test case
libreoffice hangs when *opening* this document

Description Mirar 2013-09-12 09:27:22 UTC
Created attachment 85703 [details]
gdb backtraces (two) where soffice.bin hanged

Problem description: 

Steps to reproduce:
1. get a large table (reproduced with 6000 lines)
2. generate a graph (reproduced with Line: Lines only)
3. resize the graph

Current behavior:

soffice.bin hangs, no system calls but 100% cpu, does not recover in a minute at least; X gets unresponsive as well, which is strange since there are no system calls (checked with strace), but switching console works

Expected behavior:

resized graph

More info:

% libreoffice --version    
LibreOffice 4.0.2.2

Attaching two gdb backtraces of soffice.bin when it's hanged and using 100% cpu. Two different runs of soffice.bin, but same data.
Operating System: Ubuntu
Version: 4.0.2.2 release
Comment 1 Florian Reisinger 2013-09-25 18:28:22 UTC
Could you please provide a test document
Comment 2 Mirar 2013-09-26 14:14:41 UTC
(In reply to comment #1)
> Could you please provide a test document

It seems I cannot. I can't reproduce it with any test cases now,
but when I filed the report it hanged for *any* document with 6000 lines
turned into a diagram. I tried now with a few hundred thousand lines,
and I can't reproduce... :} 

I suppose the bug - whatever it was - was not in Libreoffice but some
other library that is now updated.

Sorry.
Comment 3 Mirar 2013-10-07 16:16:44 UTC
I can now repeat the problem. It's not as simple as getting a table -

The trick is:

1. generate a large csv-ish file that can be imported (I use ASCII numbers, with spaces and first line titles, but titles or not doesn't seem to matter), 8192 lines seems to do it
2. run libreoffice --calc yourfile.csv
3. create a graph (Line: Lines only or XY: lines seems to work fine)
4. resize the graph

Saving the document first as ODS prevents the hang.
Comment 4 Mirar 2013-10-07 16:18:30 UTC
Created attachment 87248 [details]
test document: libreoffice --calc fft1.csv will prepare the test case
Comment 5 Mirar 2013-10-13 15:41:36 UTC
Created attachment 87558 [details]
libreoffice hangs when *opening* this document

I found a testcase that I could save. Libreoffice now hangs for me when I try to open this file, in very much the same way as above, except that it just stops re-drawing and X still works fine.
Comment 6 QA Administrators 2014-06-01 21:30:47 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 7 Mirar 2014-06-09 10:50:13 UTC
I'm happy to take suggestions on what other info could possibly be possible.
Comment 8 Mirar 2014-06-09 10:50:52 UTC
Marking as unconfirmed. Didn't realize that was my job?
Comment 9 Florian Reisinger 2014-06-13 09:14:45 UTC
WFM with Version: 4.4.0.0.alpha0+
Build ID: c0190efe9e2e27bd60fbf7e35a698e1e3c4ef77c
TinderBox: Win-x86@39, Branch:master, Time: 2014-06-02_07:51:43 on Win7 x64