[Libreoffice-bugs] [Bug 139428] New: Libreoffice Calc freezes when copying a cell - poll([{fd=6, events=POLLIN} loop

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 5 15:13:01 UTC 2021


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

            Bug ID: 139428
           Summary: Libreoffice Calc freezes when copying a cell -
                    poll([{fd=6, events=POLLIN} loop
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mariobaldini at gmail.com

Created attachment 168706
  --> https://bugs.documentfoundation.org/attachment.cgi?id=168706&action=edit
strace full log

Hi all, 

Libreoffice Calc 7.0.4.2 keeps freezing after a cell copy (ctrl+c) is made. 

Steps to reproduce:
- In a basic document (5 sheets, no formula, just some cells filled with text
and font size change).
- select some cells and press ctrl+c
- Calc freezes and after a while the OS prompts for process kill or wait. 

Version: 7.0.4.2 (installed directly from OS repository, without extra plugins
or configs).
OS: Fedora 33 Linux ideapad 5.9.16-200.fc33.x86_64 #1 SMP Mon Dec 21 14:08:22
UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Plugins/extra configs: none


When running with strace I can see that Calc enters an infinite loop: 

``` 
strace /usr/lib64/libreoffice/program/soffice.bin --calc

(...)
poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 2 ([{fd=6, revents=POLLIN}, {fd=11, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 2 ([{fd=6, revents=POLLIN}, {fd=11, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 2 ([{fd=6, revents=POLLIN}, {fd=11, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
```

Full strace log attached.

Until lines ~43600 the execution is fine
poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 0 (Timeout)
poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 0 (Timeout)

these messages are constantly logged but Calc works fine. After selecting a
cell and copying it, the program freezes and keeps looping with the log:

poll([{fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=19, events=POLLIN}],
3, 0) = 2 ([{fd=6, revents=POLLIN}, {fd=11, revents=POLLIN}])
read(6, "\1\0\0\0\0\0\0\0", 16)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8


I am not sure how to help debug from now on, or what possibly may be causing
the issue.

Best regards,

Mario 


poll([{fd=6, events=POLLIN}

-- 
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/20210105/43da3862/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list