Anting sometimes uses too much cpu
Submitted by John Denker
Link to original bug (#765165)
Description
Created attachment 326177 stack traces from loop 100% cpu
Recipe: Start a fresh copy of gnumeric. Click on the "A" column header, to select the whole column. (Select more than one column if you wish.) Type ^C to copy the region to the clipboard. Observe 100% CPU usage. Not good.
I'm not sure whether this should be classified "General" or "Main" or "Gui" or whatever, so I took a wild guess.
To obtain a possible hint about what's going on, I interrupted the loop using SIGUSR1. See attached file with stack traces.
Possible workaround / recovery: Do whatever you want with the copied stuff, then select some single cell and type ^C. CPU usage drops immediately.
Note: I rated it "minor" because this bug is not very important to me. That's because of the relatively simple and obvious workaround / recovery.
============ This bug has been around for ages, provably since 1.12.22 and almost certainly much longer than that. However this report is based on a freshly-pulled git version:
gnumeric version '1.12.29' datadir := '/usr/local/share/gnumeric/1.12.29' libdir := '/usr/local/lib/gnumeric/1.12.29'
commit 1a58d236 Date: Fri Apr 1 19:38:01 2016 -0400
uname -a Linux asclepias 3.18.0+ #4 SMP Mon Jul 6 15:51:42 MST 2015 x86_64 x86_64 x86_64 GNU/Linux
lsb_release LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Attachment 326177, "stack traces from loop 100% cpu":
loopy.logg
Version: git master