[Libreoffice-bugs] [Bug 114509] New: LibreOffice Calc may hang at 100 % CPU usage

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 17 10:23:47 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114509

            Bug ID: 114509
           Summary: LibreOffice Calc may hang at 100 % CPU usage
           Product: LibreOffice
           Version: 6.0.0.0.beta2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: federicoleva at tiscali.it

Description:
I have a rather big spreadsheet which sometimes hangs LibreOffice Calc forever.
CPU is maxed out at 100 %, while RAM is stable and GPU doesn't seem to be doing
anything (according to radeontop).

I'm collecting some of the information requested in bug 46468 now. The strace
has little output but it seems to show that nothing is really happening: most
of the lines are like

[pid  9317] futex(0x7efffc7e1040, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  9317] futex(0x7efffc7e12ac,
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 7791, {tv_sec=1513504177,
tv_nsec=959517000}, 0xffffffff) = -1 ETIMEDOUT (Connection timed out)

Steps to Reproduce:
1. Open a long table (in my case it's a CSV with ~500k lines, about 100 MB in
size)
2. Launch some operation, for instance a VLOOKUP over a few hundred thousands
lines (applying the formula with a whole column by e.g. ctrl-c ctrl-p as in
https://stackoverflow.com/a/31271467/1333493 )

Actual Results:  
After several hours, LibreOffice is still unresponsive (trying to switch to its
window will not bring up anything on the screen).

In the worst case, usually after working on the document for a bit, even the
smallest operation will hang libreoffice for a few minutes: for instance
clicking a cell, or typing one letter, or clicking a menu item. Parts of its
GUI may be stuck on the screen even when switching to other programs, until
it's done. This variant is usually temporary: by closing the document and
opening it again, the spreadsheet is again usable.

Expected Results:
LibreOffice should work hard for a while, probably consuming GPU resources as
well, and potentially be unresponsive, but eventually finish the job or crash.


Reproducible: Sometimes


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
$ libreoffice --version
LibreOffice 5.2.7.2 20(Build:2)
$ rpm -qa | grep libreoffice
libreoffice-ure-common-5.2.7.2-12.fc25.noarch
libreoffice-impress-5.2.7.2-12.fc25.x86_64
libreoffice-langpack-en-5.2.7.2-12.fc25.x86_64
libreoffice-5.2.7.2-12.fc25.x86_64
libreoffice-ure-5.2.7.2-12.fc25.x86_64
libreoffice-math-5.2.7.2-12.fc25.x86_64
libreoffice-gtk3-5.2.7.2-12.fc25.x86_64
libreoffice-opensymbol-fonts-5.2.7.2-12.fc25.noarch
libreoffice-x11-5.2.7.2-12.fc25.x86_64
libreoffice-graphicfilter-5.2.7.2-12.fc25.x86_64
libreoffice-emailmerge-5.2.7.2-12.fc25.x86_64
libreoffice-writer-5.2.7.2-12.fc25.x86_64
libreoffice-core-5.2.7.2-12.fc25.x86_64
libreoffice-langpack-it-5.2.7.2-12.fc25.x86_64
libreoffice-gtk2-5.2.7.2-12.fc25.x86_64
libreoffice-pdfimport-5.2.7.2-12.fc25.x86_64
libreoffice-calc-5.2.7.2-12.fc25.x86_64
libreoffice-draw-5.2.7.2-12.fc25.x86_64
libreoffice-base-5.2.7.2-12.fc25.x86_64
libreoffice-pyuno-5.2.7.2-12.fc25.x86_64
libreoffice-data-5.2.7.2-12.fc25.noarch
libreoffice-wiki-publisher-5.2.7.2-12.fc25.x86_64
$ uname -a
Linux a88x 4.13.11-100.fc25.x86_64 #1 SMP Thu Nov 2 19:58:50 UTC 2017 x86_64
x86_64 x86_64 GNU/Linux
$ lshw
[...]
     *-memory
          description: System memory
          physical id: 0
          size: 14GiB
     *-cpu
          product: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G
          vendor: Advanced Micro Devices [AMD]
[...]
        *-display
             description: VGA compatible controller
             product: Kaveri [Radeon R7 Graphics]
             vendor: Advanced Micro Devices, Inc. [AMD/ATI]
             physical id: 1
             bus info: pci at 0000:00:01.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=radeon latency=0
             resources: irq:44 memory:c0000000-cfffffff
memory:d0000000-d07fffff ioport:f000(size=256) memory:feb00000-feb3ffff
memory:c0000-dffff


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko/20100101
Firefox/56.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171217/eeba96ae/attachment-0001.html>


More information about the Libreoffice-bugs mailing list