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

Bug#482152: openoffice.org-writer2latex install eats all ram and kills box



Package: openoffice.org-writer2latex
Version: 0.5-6

Dist: sid x86_64
Libc: libc6          2.7-1        

I've tracked this down to this:

root      3200  0.1  0.9 268304 18628 pts/9    Tl   22:50   0:00              |       \_ /usr/lib/openoffice/program/unopkg.bin add --shared /usr/lib/openoffice/share/extension/install/writer2latex.uno.pkg -env:UserInstallation=file:////tmp/tmp.nZQMFn3199 -env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1

root      3213  1.9 14.7 534896 302956 pts/9   Tl   22:50   0:01              |           \_ /var/usr/lib/openoffice/program/uno.bin --quiet --singleaccept -u uno:pipe,name=3fbdcbe9238f877562f9f0f13b112f751085211b27bc892f3fcef497b72cce43;urp;uno.ComponentContext -env:INIFILENAME= -env:UserInstallation=file:////tmp/tmp.nZQMFn3199 -env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share

more specifically to the uno.bin binary from openoffice, which is
running rampant and never finishes. Its environment (minus termcap):

/var/usr/lib/openoffice/program/uno.bin --quiet --singleaccept -u uno:pipe,name=3fbdcbe9238f877562f9f0f13b112f751085211b27bc892f3fcef497b72cce43;urp;uno.ComponentContext -env:INIFILENAME= -env:UserInstallation=file:////tmp/tmp.nZQMFn3199 -env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 SSH_AGENT_PID=2815 SHELL=/bin/bash TERM=screen HISTSIZE=100000 DPMS=300 300 300 CVSROOT=/home/math/CVS WINDOWID=14680079 OLDPWD=/var/usr/lib/openoffice USER=root XTERM_SHELL=/bin/bash HISTFILESIZE=100000 LD_LIBRARY_PATH=/var/usr/lib/openoffice/program:/usr/lib/openoffice/program OPENOFFICE_MOZILLA_FIVE_HOME=/var/usr/lib/openoffice/program SSH_AUTH_SOCK=/tmp/ssh-mkNOSb2788/agent.2788
XTFN=-*-clean-medium-r-*-*-*-70-*-*-*-*-*-* COLUMNS=80 PATH=/var/usr/lib/openoffice/program:/usr/lib/openoffice/program:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 MAIL=/var/mail/root STY=3024.pts-1.ire PWD=/var/home/math EDITOR=/usr/bin/jove LANG= DOMAIN=ire TZ=EST5EDT LINES=93 SENT=/home/math/Mail/sent XTERM_VERSION=XTerm(222) HOME=/root SHLVL=5 SAL_ENABLE_FILE_LOCKING=1 LOGNAME=root VISUAL=/usr/bin/jove CVS_RSH=/usr/bin/ssh WINDOW=1 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XAkllhsvk7,guid=1e2bc93d6c93790ebf46530048338d1d LESSOPEN=| lesspipe %s DISPLAY=:0.0 XTFN2=-*-clean-medium-r-*-*-*-80-*-*-*-*-*-* URE_BOOTSTRAP=file:///var/usr/lib/openoffice/program/fundamentalrc

if left alone it will grow til you run out of swap, and ext3 journal runs
out of ram, crashes your root filesystem to read only and forces a manual
fsck, among other fun things (sigh).

for eg:

3335 root      22   0 2308m 1.5g  33m S   69 78.5   0:08.92   uno.bin    

i straced it as i installed it, the tar of all the forked straces
are here. The largest is obviously uno.bin operating on some filehandle.

D000040: checking dependencies of openoffice.org (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-core
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-writer
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-calc
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-impress
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-draw
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-math
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-base
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> ttf-dejavu
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-officebean
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-filter-binfilter
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-writer2latex
D000400:       unpacked/halfconfigured, defer
D000400:     found 1
D000400:   found 1 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-filter-mobiledev
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-java-common
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000040: ok 1 msgs >><<
D000040: checking dependencies of openoffice.org-writer2latex (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-core
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000400:   checking group ...
D000400:     checking possibility  -> openoffice.org-java-common
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0
D000040: ok 2 msgs >><<
Setting up openoffice.org-writer2latex (0.5-6) ...
D000002: fork/exec /var/lib/dpkg/info/openoffice.org-writer2latex.postinst ( con
figure  )
Adding extension /usr/lib/openoffice/share/extension/install/writer2latex.uno.pk
g...

which then runs uno* from openoffice and eats all ram and never completes.

Perhaps I have a special environment. Perhaps this is a repeat of
the other bug, which generated an exception for the lucky poster instead
of eating all ram on the whole system for him.

Tar of the strace fork logs at

http://sizone.org/~math/utils/bugs/openoffice.org-writer2latex.strace.tbz

/kc
--
Ken Chase - math@sizone.org Toronto CANADA.



Reply to: