<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Libreoffice Calc freezes when copying a cell - poll([{fd=6, events=POLLIN} loop"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139428">139428</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Libreoffice Calc freezes when copying a cell - poll([{fd=6, events=POLLIN} loop
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mariobaldini@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168706" name="attach_168706" title="strace full log">attachment 168706</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168706&action=edit" title="strace full log">[details]</a></span>
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}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>