[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#435373: openoffice.org: Openoffice.org makes Xorg consume memory while scrolling document



Package: openoffice.org
Version: 2.2.1-6
Severity: important

I've been facing a particular situation after upgrading to 2.2 series.

The use case is as follow:
- Open a document[0]
- Edit it's content, move around, add content, delete content
At some point, either while scrolling or editing and using shortcuts
to move around (like home, ctrl+shift, ctrl+left) the program
starts to be slow and unresponsive for a very long time.
This situation continues until I either kill X, or killall soffice.bin
if I'm still able to open a terminal to do so, or oom-killer
kills openoffice process.

At that time, while looking memory consumption Xorg process is
no more than 65% on memory usage and it continues to grow.

I've been trying to debug this but I was unable to get much
information about the situation but this.


Program received signal SIGINT, Interrupt.
[Switching to Thread -1246909840 (LWP 19848)]
0xb593d94b in X11SalFrame::Dispatch ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
(gdb) backtrace
#0  0xb593d94b in X11SalFrame::Dispatch ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#1  0xb596f23c in SalX11Display::Dispatch ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#2  0xb59729a5 in SalX11Display::Yield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#3  0xb5971a13 in DisplayYield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#4  0xb596b4f4 in SalXLib::Yield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#5  0xb597a907 in X11SalInstance::Yield ()
   from /usr/lib/openoffice/program/libvclplug_gen680li.so
#6  0xb7cd4d09 in Application::Yield ()
   from /usr/lib/openoffice/program/libvcl680li.so
#7  0xb7cd4e1c in Application::Execute ()
   from /usr/lib/openoffice/program/libvcl680li.so
#8  0x0806da22 in desktop::Desktop::Main ()
#9  0xb7cda64c in ImplSVMain () from /usr/lib/openoffice/program/libvcl680li.so
#10 0xb7cda755 in SVMain () from /usr/lib/openoffice/program/libvcl680li.so
#11 0x0805f426 in main ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y

I've ran the program from gdb and follow the debug instructions.
I had to ctrl+c when it started to use memory.

This bug seems related to this other[1] in Archlinux. There's
other related[2] at OpenOffice BTS.

I'm also attaching a previous debug I ran. And also
valgrind output. This is all I could collect to debug this
issue, I might spend some more time to get more information
if requested.

regards

0- Something like this one:
   http://bugs.archlinux.org/task/6935?getfile=1267
1- http://bugs.archlinux.org/task/6935
2- http://www.openoffice.org/issues/show_bug.cgi?id=72498

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=es_PE.UTF-8, LC_CTYPE=es_PE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org depends on:
ii  openoffice.org-base           2.2.1-6    OpenOffice.org office suite - data
ii  openoffice.org-calc           2.2.1-6    OpenOffice.org office suite - spre
ii  openoffice.org-core           2.2.1-6    OpenOffice.org office suite archit
ii  openoffice.org-draw           2.2.1-6    OpenOffice.org office suite - draw
ii  openoffice.org-filter-binfilt 2.2.1-6    Legacy filters (e.g. StarOffice 5.
ii  openoffice.org-filter-mobiled 2.2.1-6    Mobile Devices Filters for OpenOff
ii  openoffice.org-impress        2.2.1-6    OpenOffice.org office suite - pres
ii  openoffice.org-java-common    2.2.1-6    OpenOffice.org office suite Java s
ii  openoffice.org-math           2.2.1-6    OpenOffice.org office suite - equa
ii  openoffice.org-writer         2.2.1-6    OpenOffice.org office suite - word

openoffice.org recommends no packages.

Versions of packages openoffice.org-core depends on:
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  fontconfig              2.4.2-1.2        generic font configuration library
ii  libc6                   2.6-5            GNU C Library: Shared libraries
ii  libcairo2               1.4.10-1         The Cairo 2D vector graphics libra
ii  libcurl3-gnutls         7.16.4-1         Multi-protocol file transfer libra
ii  libdb4.4                4.4.20-8         Berkeley v4.4 Database Libraries [
ii  libexpat1               1.95.8-4         XML parsing C library - runtime li
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2.1-1        GCC support library
ii  libglib2.0-0            2.12.13-1        The GLib library of C routines
ii  libgstreamer-plugins-ba 0.10.13-2        GStreamer libraries from the "base
ii  libgstreamer0.10-0      0.10.13-2        Core GStreamer libraries and eleme
ii  libgtk2.0-0             2.10.13-1        The GTK+ graphical user interface 
ii  libhunspell-1.1-0       1.1.8-2          spell checker and morphological an
ii  libice6                 2:1.0.3-3        X11 Inter-Client Exchange library
ii  libicu36                3.6-3            International Components for Unico
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libldap2                2.1.30-13.4      OpenLDAP libraries
ii  libneon25               0.25.5.dfsg-6    An HTTP and WebDAV client library
ii  libnspr4-0d             4.6.7-1          NetScape Portable Runtime Library
ii  libnss3-0d              3.11.7-1         Network Security Service libraries
ii  libpam0g                0.79-4           Pluggable Authentication Modules l
ii  libpango1.0-0           1.16.5-1         Layout and rendering of internatio
ii  libportaudio2           19+svn20070125-1 Portable audio I/O - shared librar
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libsndfile1             1.0.17-3         Library for reading/writing audio 
ii  libstartup-notification 0.9-1            library for program launch feedbac
ii  libstdc++6              4.2.1-1          The GNU Standard C++ Library v3
ii  libstlport4.6c2         4.6.2-3          STLport C++ class library
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxaw7                 1:1.0.3-3        X11 Athena Widget library
ii  libxcursor1             1:1.1.8-2        X cursor management library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.1.1-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxml2                 2.6.29.dfsg-1    GNOME XML library
ii  libxrandr2              2:1.2.1-1        X11 RandR extension library
ii  libxrender1             1:0.9.2-1        X Rendering Extension client libra
ii  libxslt1.1              1.1.21-2         XSLT processing library - runtime 
ii  libxt6                  1:1.0.5-3        X11 toolkit intrinsics library
ii  openoffice.org-common   2.2.1-6          OpenOffice.org office suite archit
ii  ttf-opensymbol          2.2.1-6          The OpenSymbol TrueType font
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages openoffice.org-writer depends on:
ii  libc6                   2.6-5            GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.1-1        GCC support library
ii  libicu36                3.6-3            International Components for Unico
ii  libstdc++6              4.2.1-1          The GNU Standard C++ Library v3
ii  libstlport4.6c2         4.6.2-3          STLport C++ class library
ii  libwpd8c2a              0.8.10-1         Library for handling WordPerfect d
ii  libwps-0.1-1            0.1.0-4          Works text file format import filt
ii  libxml2                 2.6.29.dfsg-1    GNOME XML library
ii  openoffice.org-core     2.2.1-6          OpenOffice.org office suite archit
ii  python-uno              2.2.1-6          Python interface for OpenOffice.or
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages openoffice.org-calc depends on:
ii  libc6                         2.6-5      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-1  GCC support library
ii  libstdc++6                    4.2.1-1    The GNU Standard C++ Library v3
ii  libstlport4.6c2               4.6.2-3    STLport C++ class library
ii  libsuitesparse                3.0.0-6.1  collection of libraries for comput
ii  lp-solve                      5.5.0.10-5 Solve (mixed integer) linear progr
ii  openoffice.org-core           2.2.1-6    OpenOffice.org office suite archit

Versions of packages openoffice.org-base depends on:
ii  gij-4.1 [java2-runtime]       4.1.2-14   The GNU Java bytecode interpreter
ii  java-gcj-compat               1.0.76-2   Java runtime environment using GIJ
ii  libc6                         2.6-5      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-1  GCC support library
ii  libhsqldb-java                1.8.0.7-3  Java SQL database engine
ii  libstdc++6                    4.2.1-1    The GNU Standard C++ Library v3
ii  libstlport4.6c2               4.6.2-3    STLport C++ class library
ii  openoffice.org-core           2.2.1-6    OpenOffice.org office suite archit
ii  openoffice.org-java-common    2.2.1-6    OpenOffice.org office suite Java s
ii  sun-java5-jre [java2-runtime] 1.5.0-12-2 Sun Java(TM) Runtime Environment (

Versions of packages openoffice.org-impress depends on:
ii  libc6                         2.6-5      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-1  GCC support library
ii  libstdc++6                    4.2.1-1    The GNU Standard C++ Library v3
ii  libstlport4.6c2               4.6.2-3    STLport C++ class library
ii  openoffice.org-core           2.2.1-6    OpenOffice.org office suite archit
ii  openoffice.org-draw           2.2.1-6    OpenOffice.org office suite - draw

Versions of packages openoffice.org-math depends on:
ii  libc6                         2.6-5      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-1  GCC support library
ii  libstdc++6                    4.2.1-1    The GNU Standard C++ Library v3
ii  libstlport4.6c2               4.6.2-3    STLport C++ class library
ii  openoffice.org-core           2.2.1-6    OpenOffice.org office suite archit

-- no debconf information
Start it from the beginning? (y or n) y
Starting program: /usr/lib/openoffice/program/soffice.bin
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1247233456 (LWP 5361)]
warning: Lowest section in /usr/lib/libicudata.so.36 is .hash at 000000b4
[New Thread -1277174896 (LWP 5362)]
[New Thread -1285653616 (LWP 5363)]
[New Thread -1295717488 (LWP 5364)]
[New Thread -1318515824 (LWP 5365)]
[New Thread -1327490160 (LWP 5366)]
[Thread -1327490160 (LWP 5366) exited]
[New Thread -1327490160 (LWP 5378)]
[New Thread -1375564912 (LWP 5379)]
[New Thread -1383957616 (LWP 5380)]
[Thread -1383957616 (LWP 5380) exited]
[Thread -1375564912 (LWP 5379) exited]
[New Thread -1375564912 (LWP 5381)]
[Thread -1375564912 (LWP 5381) exited]
[New Thread -1375564912 (LWP 5384)]
[Thread -1375564912 (LWP 5384) exited]
[New Thread -1375564912 (LWP 5385)]
[Thread -1375564912 (LWP 5385) exited]
[New Thread -1375564912 (LWP 5815)]
[Thread -1375564912 (LWP 5815) exited]
[New Thread -1375564912 (LWP 6245)]
[Thread -1375564912 (LWP 6245) exited]
[New Thread -1375564912 (LWP 6246)]
[Thread -1375564912 (LWP 6246) exited]
[New Thread -1375564912 (LWP 6258)]
[Thread -1375564912 (LWP 6258) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread -1247233456 (LWP 5361)]
0xb7894d80 in Ruler::SetPagePos () from /usr/lib/openoffice/program/libsvt680li.so
(gdb) quit
The program is running.  Exit anyway? (y or n) y

==14427== More than 100 errors detected.  Subsequent errors
==14427== will still be recorded, but in less detail than before.
==14427==
==14427== ERROR SUMMARY: 1442 errors from 100 contexts (suppressed: 237 from 1)
==14427== malloc/free: in use at exit: 10,963,135 bytes in 95,004 blocks.
==14427== malloc/free: 561,307 allocs, 466,303 frees, 59,266,803 bytes allocated.
==14427== For counts of detected errors, rerun with: -v
==14427== searching for pointers to 95,004 not-freed blocks.
==14427== checked 48,779,348 bytes.
==14427==
==14427== LEAK SUMMARY:
==14427==    definitely lost: 31,456 bytes in 1,085 blocks.
==14427==      possibly lost: 386,382 bytes in 1,595 blocks.
==14427==    still reachable: 10,545,297 bytes in 92,324 blocks.
==14427==         suppressed: 0 bytes in 0 blocks.
==14427== Rerun with --leak-check=full to see details of leaked memory.
jane%


Reply to: