Bug#636873: threads still active after leaving libreoffice... and eating lot of CPU

2015-11-01 Thread martin f krafft
also sprach Ben Finney  [2015-11-02 12:20 +1300]:
> Can you confirm that the bug is no longer present in later versions of
> libreoffice in Debian? When you do, please add to this bug report
> either a “found” or “fixed” field for the versions tested.

While I have plenty other performance issues with Libreoffice, this
particular problem has not been visible in a long time, certainly
not with v5.

-- 
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
"the human brain is like an enormous fish --
 it is flat and slimy
 and has gills through which it can see."
   -- monty python


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#636873: threads still active after leaving libreoffice... and eating lot of CPU

2015-11-01 Thread Ben Finney
Control: tags -1 - jessie moreinfo

On 06-Aug-2011, Jean-Luc Coulon (f5ibh) wrote:
> Package: libreoffice
> Version: 1:3.4.1-4

On 17-Aug-2011, martin f krafft wrote:
> This is exactly the same behaviour I am seeing, although I do not
> have to leave libreoffice. Just now, I was working in libreoffice
> when I noticed the fan going crazy, and checked top and strace to
> find oosplash doing the poll-ad-infinitum described in #636873.

Thanks to both of you for reporting this bug.

The Jessie release included libreoffice packages at version
“1:4.3.3-2”. That is much later than the latest “found” versions
reported for this bug. I am removing the “jessie” tag for now.

Can you confirm that the bug is no longer present in later versions of
libreoffice in Debian? When you do, please add to this bug report
either a “found” or “fixed” field for the versions tested.

-- 
 \ “Creativity can be a social contribution, but only in so far as |
  `\ society is free to use the results.” —Richard M. Stallman |
_o__)  |
Ben Finney 


signature.asc
Description: PGP signature


Bug#636873: threads still active after leaving libreoffice... and eating lot of CPU

2011-08-17 Thread martin f krafft
forcemerge 636873 637781
retitle 636873 libreoffice sometimes enters infinite poll-loop, high CPU load
thanks

also sprach Jean-Luc Coulon (f5ibh)  
[2011.08.06.1758 +0200]:
> After leavind libreoffice, I still have processes running an eating lot of 
> CPU.
[…]
> poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064, 
> revents=POLLNVAL}])

This is exactly the same behaviour I am seeing, although I do not
have to leave libreoffice. Just now, I was working in libreoffice
when I noticed the fan going crazy, and checked top and strace to
find oosplash doing the poll-ad-infinitum described in #636873.

Using lsof, I could not map the file descriptor to anything useful.

It seems that some condition — which we do not know yet — puts
libreoffice into an infinite loop. This loop has two consequences:

  1. While running, libreoffice remains usable while the loop churns
 the CPU and eats the battery.

  2. When shut down, the loop prevents libreoffice from exiting.

Hope this is useful additional information.

Cheers,

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"... doch warum sollte nicht jeder einzelne
 aus seinem leben ein kunstwerk machen koennen?"
-- michel foucault


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#636873: threads still active after leaving libreoffice... and eating lot of CPU

2011-08-06 Thread Jean-Luc Coulon (f5ibh)
Package: libreoffice
Version: 1:3.4.1-4
Severity: normal
Tags: sid

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

After leavind libreoffice, I still have processes running an eating lot of CPU.

  [jean-luc@tangerine] % ps | grep libreoffice
   2464 ?Sl 0:00 /usr/lib/libreoffice/program/soffice.bin -headless
   -norestore -nologo -norestore -nofirststartwizard
   -accept=socket,port=2002;urp;
   22534 ?S  0:00 /bin/sh /usr/bin/libreoffice --calc
   22536 ?Rl87:01 /usr/lib/libreoffice/program/oosplash.bin --calc

If I do a strace on the pids, I get:

[jean-luc@tangerine] % strace -p 22534
Process 22534 attached - interrupt to quit
wait4(-1, ^C 
Process 22534 detached

[jean-luc@tangerine] % strace -p 22536
Process 22536 attached - interrupt to quit)

poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
poll([{fd=9184064, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9184064,
revents=POLLNVAL}])
^CProcess 22536 detached

This is endless

Regards

Jean-Luc



- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-k8-1.1 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice depends on:
ii  liblucene2-java  2.9.4+ds1-2 Full-text search engine library fo
ii  libreoffice-base 1:3.4.1-4   office productivity suite -- datab
ii  libreoffice-calc 1:3.4.1-4   office productivity suite -- sprea
ii  libreoffice-core 1:3.4.1-4   office productivity suite -- arch-
ii  libreoffice-draw 1:3.4.1-4   office productivity suite -- drawi
ii  libreoffice-filter-mobiledev 1:3.4.1-4   office productivity suite -- mobil
ii  libreoffice-impress  1:3.4.1-4   office productivity suite -- prese
ii  libreoffice-java-common  1:3.4.1-4   office productivity suite -- arch-
ii  libreoffice-math 1:3.4.1-4   office productivity suite -- equat
ii  libreoffice-report-builder-b 1:3.4.1-4   LibreOffice extension for building
ii  libreoffice-writer   1:3.4.1-4   office productivity suite -- word 
ii  ttf-dejavu   2.33-1  Metapackage to pull in ttf-dejavu-
ii  ttf-sil-gentium-basic1.1-2   smart Unicode font families (Basic

Versions of packages libreoffice recommends:
ii  libpaper-utils   1.1.24+nmu1 library for handling paper charact
ii  ttf-liberation   1.07.0-1Fonts with the same metrics as Tim
ii  ttf-mscorefonts-installer3.3 Installer for Microsoft TrueType c

Versions of packages libreoffice suggests:
ii  cups-bsd   1.4.8-2   Common UNIX Printing System(tm) - 
ii  default-jre [java5-runtime 1:1.6-40  Standard Java or Java compatible R
ii  gcj-4.4-jre [java5-runtime 4.4.6-6   Java runtime environment using GIJ
ii  gcj-4.6-jre [java5-runtime 4.6.1-2   Java runtime environment using GIJ
ii  gcj-jre [java5-runtime]4:4.6.1-2 Java runtime environment using GIJ
ii  graphicsmagick-imagemagick 1.3.12-1.1image processing tools providing I
ii  gstreamer0.10-ffmpeg   1:0.10.11-4.1 FFmpeg plugin for GStreamer
ii  gstreamer0.10-plugins-bad  0.10.22-3 GStreamer plugins from the "bad" s
ii  gstreamer0.10-plugins-base 0.10.35-1 GStreamer plugins from the "base" 
ii  gstreamer0.10-plugins-good 0.10.30-1 GStreamer plugins from the "good" 
ii  gstreamer0.10-plugins-ugly 0.10.18-3 GStreamer plugins from the "ugly" 
ii  hunspell-fr [hunspell-dict 1:3.3.0-3 French dictionary for hunspell
ii  hyphen-fr [hyphen-hyphenat 1:3.3.0-3 French hyphenation patterns for Li
ii  icedove5.0-1 mail/news client with RSS and inte
ii  iceweasel  6.0~b4-1  Web browser based on Firefox
ii  libgl1-mesa-glx [libgl1]   7.11~0-2  free implementation of the OpenGL 
ii  libldap-2.4-2  2.4.25-1.1OpenLDAP libraries
ii  libreoffice-filter-binfilt 1:3.4.1-4 office productivity suite -- legac
ii  libreoffice-gnome  1:3.4.1-4 office productivity suite -- GNOME
ii  libreoffice-help-fr [libre 1:3.4.1-4 office productivity suite -- Frenc
ii  libreoffice-l10n-fr [libre 1:3.4.1-4 office productivity suite -- Frenc
ii  libreoffice-officebean 1:3.4.1-4