Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242020 - app-office/openoffice-3.0.0 freezes on random occasion
Summary: app-office/openoffice-3.0.0 freezes on random occasion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL: http://www.openoffice.org/issues/show...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 13:28 UTC by inode77
Modified: 2009-01-11 19:57 UTC (History)
16 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inode77 2008-10-14 13:28:28 UTC
Openoffice-3 freezes during use in a timeframe from 10sec to 2min.
I know this bug report is as general as it can be, so I try to give an example:

I open a new spreadsheet, click into the first cell and openoffice freezes.
I open a text document, it freezes on load.
I create a new text document, it freezes while I'm writing the 2nd sentece.

Useflags:
binfilter cups dbus gstreamer gtk java ldap linguas_de linguas_en opengl pam xulrunner

Java:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

2.4.1 works like a charm without freezes or other problems.

Reproducible: Always




Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r2 i686)
=================================================================
System uname: 2.6.26-gentoo-r2 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz
Timestamp of tree: Tue, 14 Oct 2008 05:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="USB X aac acl acpi aio alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo ccache cdr cjk cli cracklib crypt cscope cups curl dbus dri dvd dvdr dvdread encode evo exif expat fam ffmpeg gdbm gif gnutls gpm gstreamer gtk hal iconv idn ipv6 java java5 java6 jpeg kerberos lcms ldap libnotify logrotate mad midi mikmod mmap mmx mmxext mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png ppds python qt3support qt4 quicktime readline reflection samba sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb userlocales vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xattr xml xorg xosd xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse ps2mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-14 16:27:44 UTC
Do I get this right: It freezes an comes back after some time? Is there something running in parallel? Anyway: Can't reproduce this one, works fine here, not too sure this is actually an OOo problem...
Comment 2 Paul Moore 2008-10-16 13:03:30 UTC
I am seeing something similar where openoffice hangs shortly after startup and never returns; I have to 'killall -9 ...' to get rid of the process.  I have not been able to identify a particular trigger but I do see the following errors when running from a terminal (memory map output trimmed):

*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: malloc(): memory corruption: 0x0924ed90 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7cab5a6]
/lib/libc.so.6[0xb7cad8b1]
/lib/libc.so.6(__libc_malloc+0x8d)[0xb7caf46d]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_allocateMemory+0x19)[0xb7f09db6]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:02 400421     /usr/lib/openoffice/program/soffice.bin
0804a000-0804b000 r--p 00001000 08:02 400421     /usr/lib/openoffice/program/soffice.bin
0804b000-0804c000 rw-p 00002000 08:02 400421     /usr/lib/openoffice/program/soffice.bin
086d9000-095b9000 rw-p 086d9000 00:00 0          [heap]
a83ac000-a8492000 rw-p a83ac000 00:00 0

If you have any debugging suggestions please let me know, if I can't fix this in a day or two I'm going to have to revert to the 2.4.x releases as I need a working openoffice installation.
Comment 3 inode77 2008-10-16 15:49:11 UTC
Example:
$ ooffice 
$ error - missing word count in dictionary file
Hash Manager Error : 4
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: free(): invalid pointer: 0x09509060 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7c10414]
/lib/libc.so.6(cfree+0x9c)[0xb7c11d6c]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_freeMemory+0x18)[0xb7e74c2e]
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-16 19:56:33 UTC
There have been some fixes in the recent ooo-build-patchset update (3.0.0.3.5), could you please try to rebuild and see if that helps with your problems?
Comment 5 Paul Moore 2008-10-17 00:44:28 UTC
Just sync'd my portage tree and I'm rebuilding openoffice, I'll report back later.
Comment 6 inode77 2008-10-17 06:25:30 UTC
I resynced and rebuilt over night but in the morning the endresult is still the same.

error - missing word count in dictionary file
Hash Manager Error : 4
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: free(): invalid pointer: 0x09f67a20 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7bdb414]
/lib/libc.so.6(cfree+0x9c)[0xb7bdcd6c]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_freeMemory+0x18)[0xb7e3fc2e]
Comment 7 Paul Moore 2008-10-17 10:44:38 UTC
I'm still seeing problems as well ...

# oowriter
error: line 1: missing or bad word count in the dic file
Hash Manager Error : 4
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: malloc(): memory corruption: 0x09159aa8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7bf65a6]
/lib/libc.so.6[0xb7bf88b1]
/lib/libc.so.6(__libc_malloc+0x8d)[0xb7bfa46d]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_allocateMemory+0x19)[0xb7e54db6]
Comment 8 Jan Schubert 2008-10-18 12:43:28 UTC
same here, freezes in the first 10sec and never comes back, never had probs with ooo before

seems to be something more general...
Comment 9 Jan Schubert 2008-10-18 12:47:12 UTC
may be related to spreadsheets, if i use writer only it seems to work (or needs longer to freeze?)

on command line I also get this dict error:

$ soffice
$ error: line 1: missing or bad word count in the dic file
Hash Manager Error : 4
Comment 10 Alon Bar-Lev 2008-10-18 15:44:27 UTC
Here too.

I can reproduce this in spreadsheet:

$ error - missing word count in dictionary file
Hash Manager Error : 4
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: free(): invalid pointer: 0x0904eaf0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7bd4770]
/lib/libc.so.6(cfree+0x89)[0xb7bd6459]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_freeMemory+0x18)[0xb7e36632]

I can sometimes reproduce this in writer, but no messages there.

$ emerge --info
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.7-r2, 2.6.27-gentoo i686)
=================================================================
System uname: Linux-2.6.27-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.80GHz-with-glibc2.0
Timestamp of tree: Fri, 17 Oct 2008 01:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/var/gentoo/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox webrsync-gpg"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.osuosl.org"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en he"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/gentoo/portage"
PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/ase /usr/local/portage/alon-barlev-portage /var/gentoo/layman/java-overlay /var/gentoo/layman/wschlich-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 arts audit bidi bluetooth bzip2 cairo caps cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox gif gpm gstreamer gtk iconv ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kerberos ldap libnotify logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf plasma png ppds pppd qt3 qt3support qt4 readline reflection samba sdl session smartcard spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis wifi x86 xcomposite xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_user dav dir env expires mime" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

app-office/openoffice-3.0.0  USE="cups dbus gstreamer gtk java kde ldap opengl pam -debug -eds -gnome -mono -nsplugin -odk -templates" LINGUAS="en he -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
Comment 11 José María Fernández González 2008-10-18 21:58:04 UTC
(In reply to comment #10)
> Here too.
> 
> I can reproduce this in spreadsheet:
> 
> $ error - missing word count in dictionary file

I can also reproduce it, but with OpenOffice Writer and Impress documents. They worked flawlessly with 2.4.1, but they break 3.0.0 (with patchset 3.0.0.3.5). On the other hand, the OpenOffice installation in my 64-bit workstation has not shown the bug (yet).

$ emerge --info

Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo i686)
=================================================================
System uname: 2.6.27-gentoo i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Fri, 17 Oct 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.7-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -falign-functions=64 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -falign-functions=64 -pipe"
DISTDIR="/usr/local/portoverlay/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en es es_ES en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/local/portoverlay/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/nouveau /usr/portage/local/layman/clark-parsia /usr/local/portoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr amrnb amrwb arts audiofile avahi berkdb bluetooth branding browserplugin bzip2 cairo cdparanoia cdr cli cracklib crypt cups daap dbus dga divx4linux dri dts dv dvb dvd dvdr dvdread emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flash foomaticdb fortran fpx gd gdbm gif glut gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib isdnlog jack java java5 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ladcca lapack lcms ldap libnotify libsamplerate logrotate mad metric midi mikmod mmx mng motif mozilla mp3 mpeg mudflap ncurses networkmanager nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcmcia pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang sndfile sox spell spl sse sse2 ssl startup-notification svg sysfs syslog tcltk tcpd tetex threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis webkit wifi win32codecs wmf x264 x86 xcomposite xine xinerama xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES en_US en_GB" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

app-office/openoffice-3.0.0  USE="cups dbus gstreamer gtk java kde ldap nsplugin opengl pam -debug -eds -gnome -mono -odk -templates" LINGUAS="en en_GB en_US es -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_ZA -eo -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu"
Comment 12 inode77 2008-10-20 14:14:21 UTC
After the resync today I rebuilt once more openoffice-3.0. Upon completion it freezed during opening a word document. After removing .ooo3 directory it works now flawlessly during 5 minutes.
So I reenabled the "PDF Import" extension and *poof* it happens again.
For me this is what caused the random lockups. Extension installed from the local openoffice extesion directory. Sorry to not check before, if the extensions or something related to them were to blame.
Comment 13 Jan Schubert 2008-10-20 14:22:56 UTC
Please reopen, removing .ooo3 will not help on my side!
Comment 14 Denis Dupeyron (RETIRED) gentoo-dev 2008-10-21 07:21:30 UTC
Reopening. It's not an extension issue as I've never used any. Also I have rebuild openoffice and removed my user's .ooo3 directory and it still freezes in seconds after loading documents.

Denis.
Comment 15 Arseny Solokha 2008-10-21 08:19:19 UTC
Hm. Why only OOo 3.0? I can reproduce it with with 2.4.0. I consider we are all speaking about different bugs. Some of them are probably caused with memory corruption, but I think at least some freezes are caused by incorrect gcc code generation. It can be an concequence of incorrect optimization, for example.
But I cannot proof or break this version.

% emerge --info
Portage 2.2_rc12 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26.3-rt3 i686)
=================================================================
System uname: Linux-2.6.26.3-rt3-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Wed, 15 Oct 2008 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://unix.glanet.ru/gentoo ftp://mirror.yandex.ru/gentoo-distfiles ftp://ftp.corbina.ru/pub/Linux/gentoo http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pro-audio /usr/local/portage/layman/soor-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl alsa berkdb bzip2 cli cracklib crypt cups dri gdbm gpm iconv isdnlog mad midi mmx mmxext mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl pppd python readline reflection session spl sse ssl sysfs tcpd threads unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


% genlop -i openoffice
 * app-office/openoffice


   Total builds: 1
   Global build time: 10 hours, 30 minutes and 59 seconds.

   Info about currently installed ebuild:

   * app-office/openoffice-2.4.0
   Install date: Tue Jun 10 12:49:20 2008
   USE="cups dbus kde opengl pam -binfilter -debug -eds -firefox -gnome -gstreamer -gtk -ldap -mono -odk -seamonkey -webdav -xulrunner"
   CFLAGS="-pipe -march=athlon-xp -DGL_GLEXT_PROTOTYPES"
Comment 16 Aaron James 2008-10-21 11:02:58 UTC
No real additional detail, but I just wanted to say I'm experiencing this problem too with OO 3.0 writer. 2.4 worked fine for me.

It is very random when the hang happens, but the hang _always_ happens, it's just a matter of when (always within 2-3 minutes of starting application).

Emerge Info:

Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo i686)
=================================================================
System uname: Linux-2.6.27-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-glibc2.0
Timestamp of tree: Tue, 21 Oct 2008 10:01:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.4.8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/webapps-experimental /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl curlwrappers dbus dpms dri dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick ipod isdnlog java javascript jpeg kerberos ldap libnotify logrotate mad midi mikmod mmx mono mozilla mp3 mpeg mudflap mysql mysqli ncurses network networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcntl pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection rtc samba sdl session sftplogging smp spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog tcpd threads tiff truetype unicode usb userlocales vim vim-pager vim-with-x vorbis wifi win32codecs wma x86 xine xml xml2 xorg xscreensaver xslt xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Arseny Solokha 2008-10-21 11:18:50 UTC
So it'll be great if somebody with fast machine rebuild OOo with debug info.
I've just inspected other open bugs in Gentoo Bugzilla related to OOo. They often can be explained with thread issues. Investigating is needed.
Comment 18 Hanno Zysik (geki) 2008-10-21 12:11:30 UTC
The error

  error: line 1: missing or bad word count in the dic file
  Hash Manager Error : 4

looks like broken myspell dictionaries.
I guess they are an unrelated issue/do not cause the freeze...

I would like to debug, though, I cannot reproduce these on amd64.
A strace log maybe helps to get an idea what is going wrong.
Comment 19 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-21 12:17:26 UTC
(In reply to comment #18)
> The error
> 
>   error: line 1: missing or bad word count in the dic file
>   Hash Manager Error : 4
> 
> looks like broken myspell dictionaries.
> I guess they are an unrelated issue/do not cause the freeze...

Yes, this is definately unrelated, I get the same (and no freeze)
Comment 20 Aaron James 2008-10-21 12:48:35 UTC
(In reply to comment #17)
> So it'll be great if somebody with fast machine rebuild OOo with debug info.
> I've just inspected other open bugs in Gentoo Bugzilla related to OOo. They
> often can be explained with thread issues. Investigating is needed.
> 

I don't have a fast PC but I'm rebuilding oo with USE=debug and removing the fomit-frame-pointer CFLAG.

I'll try my best to get some more detailed information about the malloc() fail for you all.
Comment 21 Denis Dupeyron (RETIRED) gentoo-dev 2008-10-21 13:52:45 UTC
(In reply to comment #15)
> Hm. Why only OOo 3.0? I can reproduce it with with 2.4.0.

I never had this with openoffice 2.4.x.

> I consider we are all speaking about different bugs.

Let me clarify, then. What I'm getting is the exact same malloc memory corruption error as described in comment #3. This occurs while opening the file or at most a few seconds after.

> Some of them are probably caused with memory
> corruption, but I think at least some freezes are caused by incorrect gcc code
> generation. It can be an concequence of incorrect optimization, for example.
> But I cannot proof or break this version.

My CFLAGS are pretty conservative:
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"

I could post my emerge info (and will if requested) but I'm guessing what this bug needs right now is somebody with enough time to recompile and trace the issue, which Aaron seems to be wiling to do. Thank you Aaron.

Denis.
Comment 22 Arseny Solokha 2008-10-21 18:32:01 UTC
(In reply to comment #21)
> Let me clarify, then. What I'm getting is the exact same malloc memory
> corruption error as described in comment #3. This occurs while opening the file
> or at most a few seconds after.
I also have freezes while opening the file or a few seconds after or when I'm doing somewhat else, for example switching between tabs in dialogs. But my OOo doesn't crashes, just freezes.

> My CFLAGS are pretty conservative:
> CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
Yeah, my too. I just use -march=athlon-xp instead of -march-prescott. You can find my build options in one of messages above.


OK, let's talk about the issue. I've ran
% strace -fF `which soffice.bin`
right now and then made OOo freeze. It's enough to click "Help" button on toolbar in my case. While OOo has been in freeze, strace were returning following:
(it's not from the beginning. Calls exactly like following were repeated about 3 minutes. It's possible to see something like loops here).
########### TRIMMED ###########
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611868, 410269}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611869, 411269}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000 <unfinished ...>
[pid   387] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid   387] gettimeofday({1224611869, 590601}, NULL) = 0
[pid   387] futex(0xb7689bf0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid   387] clock_gettime(CLOCK_REALTIME, {1224611869, 590779160}) = 0
[pid   387] futex(0xb7689d54, FUTEX_WAIT_PRIVATE, 33, {9, 999821840} <unfinished ...>
[pid   381] <... poll resumed> )        = 0 (Timeout)
[pid   381] gettimeofday({1224611870, 412280}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611871, 413269}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611872, 414265}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611873, 415269}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611874, 416266}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611875, 417267}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611876, 418263}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611877, 419266}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611878, 420265}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611879, 421267}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000 <unfinished ...>
[pid   387] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid   387] gettimeofday({1224611879, 590921}, NULL) = 0
[pid   387] futex(0xb7689bf0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid   387] clock_gettime(CLOCK_REALTIME, {1224611879, 591435110}) = 0
[pid   387] futex(0xb7689d54, FUTEX_WAIT_PRIVATE, 35, {9, 999485890} <unfinished ...>
[pid   381] <... poll resumed> )        = 0 (Timeout)
[pid   381] gettimeofday({1224611880, 422278}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611881, 423267}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000) = 0 (Timeout)
[pid   381] gettimeofday({1224611882, 424263}, NULL) = 0
[pid   381] poll([{fd=20, events=POLLIN}], 1, 1000 <unfinished ...>
[pid   384] <... connect resumed> )     = -1 ETIMEDOUT (Connection timed out)
########### TRIMMED ###########
It's the end of freeze. OOo returns alive here. Then:
[pid   384] close(22)                   = 0
[pid   384] socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
[pid   384] _exit(0)                    = ?
Process 384 detached
[pid   378] <... futex resumed> )       = 0
[pid   378] lstat64("/SGENPRT", 0xbfa385ac) = -1 ENOENT (No such file or directory)
[pid   378] open("/SGENPRT", O_RDONLY)  = -1 ENOENT (No such file or directory)
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", {st_mode=S_IFREG|0755, st_size=25206, ...}) = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", O_RDONLY) = 22
[pid   378] lseek(22, 0, SEEK_SET)      = 0
[pid   378] lseek(22, 0, SEEK_CUR)      = 0
[pid   378] read(22, "*PPD-Adobe: \"4.0\"\n*%\n*%\n*%   Open"..., 1024) = 1024
[pid   378] close(22)                   = 0
[pid   378] stat64("/usr/lib/openoffice/program/../share/psprint/psprint.conf", {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint/psprint.conf", O_RDONLY|O_LARGEFILE) = 22
[pid   378] fstat64(22, {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] read(22, "[__Global_Printer_Defaults__]\n; C"..., 4322) = 4322
[pid   378] access("/usr/lib/openoffice/program/../share/psprint/psprint.conf", F_OK) = 0
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/psprint.conf", {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] close(22)                   = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 22
[pid   378] fstat64(22, {st_mode=S_IFDIR|0755, st_size=24, ...}) = 0
[pid   378] close(22)                   = 0
[pid   378] access("/usr/lib/openoffice/program/../share/psprint/psprint.conf", F_OK) = 0
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/psprint.conf", {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] stat64("/usr/lib/openoffice/program/../share/psprint/psprint.conf", {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint/psprint.conf", O_RDONLY|O_LARGEFILE) = 22
[pid   378] fstat64(22, {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] read(22, "[__Global_Printer_Defaults__]\n; C"..., 4322) = 4322
[pid   378] access("/usr/lib/openoffice/program/../share/psprint/psprint.conf", F_OK) = 0
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/psprint.conf", {st_mode=S_IFREG|0755, st_size=4322, ...}) = 0
[pid   378] close(22)                   = 0
[pid   378] lstat64("/SGENPRT", 0xbfa385ac) = -1 ENOENT (No such file or directory)
[pid   378] open("/SGENPRT", O_RDONLY)  = -1 ENOENT (No such file or directory)
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", {st_mode=S_IFREG|0755, st_size=25206, ...}) = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", O_RDONLY) = 22
[pid   378] lseek(22, 0, SEEK_SET)      = 0
[pid   378] lseek(22, 0, SEEK_CUR)      = 0
[pid   378] read(22, "*PPD-Adobe: \"4.0\"\n*%\n*%\n*%   Open"..., 1024) = 1024
[pid   378] close(22)                   = 0
[pid   378] open("/home/arseny/.ooo-2.0/user/psprint", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 22
[pid   378] fstat64(22, {st_mode=S_IFDIR|0770, st_size=24, ...}) = 0
[pid   378] close(22)                   = 0
[pid   378] access("/home/arseny/.ooo-2.0/user/psprint/psprint.conf", F_OK) = -1 ENOENT (No such file or directory)
[pid   378] stat64("/home/arseny/.ooo-2.0/user/psprint/psprint.conf", 0xbfa38670) = -1 ENOENT (No such file or directory)
[pid   378] lstat64("/SGENPRT", 0xbfa38c1c) = -1 ENOENT (No such file or directory)
[pid   378] open("/SGENPRT", O_RDONLY)  = -1 ENOENT (No such file or directory)
[pid   378] lstat64("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", {st_mode=S_IFREG|0755, st_size=25206, ...}) = 0
[pid   378] open("/usr/lib/openoffice/program/../share/psprint/driver/SGENPRT.PS", O_RDONLY) = 22
[pid   378] lseek(22, 0, SEEK_SET)      = 0
[pid   378] lseek(22, 0, SEEK_CUR)      = 0
[pid   378] read(22, "*PPD-Adobe: \"4.0\"\n*%\n*%\n*%   Open"..., 1024) = 1024
[pid   378] close(22)

Something wrong with futex. Bugs #228927 and #234198 resembles this, aren't they?

But it's true that I've tested version 2.4.0, but this ticket is about 3.0.0, and freezes can have different origin.
Comment 23 Hanno Zysik (geki) 2008-10-21 19:45:23 UTC
@Arseny
Just a wild guess:
Does it still happen if you comment out your IPv6 config in /etc/hosts?
Some bogus IPv6 timeout?!
Maybe another cups freeze?! (bug 234198)

Otherwise, the beginning would be interesting as well. :)
Comment 24 Eli Venter 2008-10-21 21:00:15 UTC
I get the same error on file load in either oowriter or oocalc. Looks like everyone has both -fomit-frame-pointer in CFLAGS and  -Wl,-O1 in LDFLAGS. Anyone get it without either or both of these set?
Comment 25 Jan Schubert 2008-10-21 21:51:15 UTC
> Does it still happen if you comment out your IPv6 config in /etc/hosts?

Yes, it does. I did not had any IP6 related in entries in my /etc/hosts ever.

CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

# emerge --info
Portage 2.2_rc12 (default-linux/x86/2007.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-i686-Genuine_Intel-R-_CPU_T2600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Mon, 20 Oct 2008 20:07:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ "
LDFLAGS=""
LINGUAS="en en_US en_GB de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/wschlich /usr/local/portage/layman/wschlich-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi alsa amr apache2 audiofile berkdb binfilter bitmap-fonts bluetooth bzip2 cairo cddb cdr cli cracklib crypt cups dbus dga directfb divx dri dvd dvdr dvdread eds emboss encode ethereal evo exif extra-cardsets fam fbcon fbsplash ffmpeg firefox flac fortran gd gdbm gif gmedia gnome graphviz gstreamer gtk hal iconv imagemagick irmc isdnlog jpeg kde kerberos lame ldap libcaca live loop-aes mad matroska midi mikmod mmx mmxext mozcaledar mp3 mp4 mpeg mpeg-2 mpeg2 mplayer mudflap mysql ncurses netpbm nls nntp nptl nptlonly nsplugin oci8-instant-client ogg oggvorbis opengl openmp oracle pam pcmcia pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime raw readline real realmedia reflection reiserfs sdl session sockets spell spl sqlite sse sse2 ssl svg tcpd theora tiff tk truetype truetype-fonts trusted type1-fonts unicode unzip usb vim vim-pager vim-with-x vorbis wifi win32codecs wma wmf wmp wmv x86 xanim xine xml xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m        maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 26 Reuben Martin 2008-10-22 04:48:28 UTC
I tried to run it with the debugger and ran into the following problem:

linux-nat.c:1152: internal-error: linux_nat_resume: Assertion `lp != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

and the command line read:

Inconsistency detected by ld.so: dl-open.c: 260: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!


This seems to keep leading back to glibc. I'm wondering if this might be something to do with the fact that ooffice was built with a newer version of gcc than glibc. (glibc hasn't been updated since june) So perhaps there is a hiccup with ld.so when trying to do dynamic linking.

It's just a hunch, but I'm rebuilding glibc to see if that helps anything.
Comment 27 Arseny Solokha 2008-10-22 05:39:38 UTC
(In reply to comment #23)
> Does it still happen if you comment out your IPv6 config in /etc/hosts?
> Some bogus IPv6 timeout?!

I've never had any IPv6-related entries in my /etc/hosts, so it's not a reason.

I wonder if anybody here has built OOo with Sun's dev-lang/sunstudioexpress, not with gcc?
Can anybody test OOo on Solaris?
Is it possible to have both sunstudioexpress and gcc in same system?

Now we even can't localize the problem, we don't know whether it is just compiler-specific or it has been caused by third-party components, such as cups, glibc or so.
Comment 28 Yevgen Pronenko 2008-10-22 07:05:06 UTC
The same story just after start. OO 3.0.0
In console I can see memory corruption:

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
/openoffice/program/soffice.bin: malloc(): memory corruption: 0x088e9998 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7b49a00]
/lib/libc.so.6[0xb7b4bcbb]
/lib/libc.so.6(__libc_malloc+0x7e)[0xb7b4d30e]
/usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3(rtl_allocateMemory+0x1a)[0xb7d9e4a7]
/usr/lib/openoffice/program/soffice.bin(__gxx_personality_v0+0x1a9)[0x8048e29]
/usr/lib/openoffice/program/soffice.bin(_Znwj+0x26)[0x8048f58]
/usr/lib/libhunspell-1.2.so.0(_ZN7FileMgrC1EPKcS1_+0x92)[0xad203ec2]
/usr/lib/libhunspell-1.2.so.0(_ZN7HashMgr11load_configEPKcS1_+0x3f)[0xad1f4a9f]
/usr/lib/libhunspell-1.2.so.0(_ZN7HashMgrC1EPKcS1_S1_+0xa8)[0xad1f5698]
/usr/lib/libhunspell-1.2.so.0(_ZN8HunspellC1EPKcS1_S1_+0x73)[0xad1f7203]
/usr/lib/openoffice/program/../basis-link/program/libspellli.so[0xad2239e7]
/usr/lib/openoffice/program/../basis-link/program/libspellli.so[0xad223cfc]
/usr/lib/openoffice/program/../basis-link/program/liblngli.so(_ZN22SpellCheckerDispatcher12isValid_ImplERKN3rtl8OUStringEsRKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEEh+0x59a)[0xaf7dd664]
/usr/lib/openoffice/program/../basis-link/program/liblngli.so(_ZN22SpellCheckerDispatcher7isValidERKN3rtl8OUStringEsRKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEE+0x9d)[0xaf7ddbd9]
/usr/lib/openoffice/program/../basis-link/program/libsvxli.so(_ZN15SpellDummy_Impl7isValidERKN3rtl8OUStringEsRKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEE+0x3a)[0xb07f59ea]
/usr/lib/openoffice/program/../basis-link/program/libsvxli.so(_ZN13ImpEditEngine16DoOnlineSpellingEP11ContentNodehh+0x296)[0xb07ecf72]
/usr/lib/openoffice/program/../basis-link/program/libsvxli.so(_ZN10EditEngine22CompleteOnlineSpellingEv+0x51)[0xb07b3dd9]
/usr/lib/openoffice/program/../basis-link/program/libscli.so(_ZN10ScDocument18OnlineSpellInRangeERK7ScRangeR9ScAddresst+0x36a)[0xb166c29a]
/usr/lib/openoffice/program/../basis-link/program/libscli.so(_ZN10ScDocument22ContinueOnlineSpellingEv+0xd1)[0xb166c683]
/usr/lib/openoffice/program/../basis-link/program/libscli.so(_ZN8ScModule11IdleHandlerEP5Timer+0x9e)[0xb1381df2]
/usr/lib/openoffice/program/../basis-link/program/libscli.so(_ZN8ScModule19LinkStubIdleHandlerEPvS0_+0x1d)[0xb1381ebd]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_ZNK4Link4CallEPv+0x1b)[0xb6578e6f]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_ZN5Timer7TimeoutEv+0x1f)[0xb65868bb]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_ZN5Timer21ImplTimerCallbackProcEv+0x7b)[0xb6586a05]
/usr/lib/openoffice/basis3.0/program/libvclplug_genli.so(_ZN8SalTimer12CallCallbackEv+0x12)[0xb48e6f04]
/usr/lib/openoffice/basis3.0/program/libvclplug_genli.so(_ZNK10X11SalData7TimeoutEv+0x2a)[0xb48e6d16]
/usr/lib/openoffice/basis3.0/program/libvclplug_genli.so(_ZN7SalXLib12CheckTimeoutEb+0x81)[0xb48e58a9]
/usr/lib/openoffice/basis3.0/program/libvclplug_genli.so(_ZN7SalXLib5YieldEbb+0x213)[0xb48e6289]
/usr/lib/openoffice/basis3.0/program/libvclplug_genli.so(_ZN14X11SalInstance5YieldEbb+0x2f)[0xb48f2129]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_ZN11Application5YieldEb+0x5e)[0xb65814ce]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_ZN11Application7ExecuteEv+0x2b)[0xb6581597]
/usr/lib/openoffice/program/../basis-link/program/libsofficeapp.so[0xb7d35578]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_Z10ImplSVMainv+0x49)[0xb65860dd]
/usr/lib/openoffice/program/../basis-link/program/libvclli.so(_Z6SVMainv+0x2d)[0xb65861f3]
/usr/lib/openoffice/program/../basis-link/program/libsofficeapp.so(soffice_main+0xaa)[0xb7d619e2]
/usr/lib/openoffice/program/soffice.bin(main+0x20)[0x8048d84]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7af9fdc]
/usr/lib/openoffice/program/soffice.bin(__gxx_personality_v0+0x61)[0x8048ce1]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:06 491043     /usr/lib/openoffice/program/soffice.bin
0804a000-0804b000 r--p 00001000 08:06 491043     /usr/lib/openoffice/program/soffice.bin
0804b000-0804c000 rw-p 00002000 08:06 491043     /usr/lib/openoffice/program/soffice.bin
0804c000-0891a000 rw-p 0804c000 00:00 0          [heap]
ad1c3000-ad1d5000 r-xp 00000000 08:06 494013     /usr/lib/openoffice/basis3.0/program/libhyphenli.so
ad1d5000-ad1d6000 r--p 00011000 08:06 494013     /usr/lib/openoffice/basis3.0/program/libhyphenli.so
ad1d6000-ad1d7000 rw-p 00012000 08:06 494013     /usr/lib/openoffice/basis3.0/program/libhyphenli.so
ad1d7000-ad216000 r-xp 00000000 08:06 460893     /usr/lib/libhunspell-1.2.so.0.0.0
ad216000-ad217000 r--p 0003e000 08:06 460893     /usr/lib/libhunspell-1.2.so.0.0.0
ad217000-ad21b000 rw-p 0003f000 08:06 460893     /usr/lib/libhunspell-1.2.so.0.0.0
ad21c000-ad22c000 r-xp 00000000 08:06 493960     /usr/lib/openoffice/basis3.0/program/libspellli.so
ad22c000-ad22d000 r--p 0000f000 08:06 493960     /usr/lib/openoffice/basis3.0/program/libspellli.so
ad22d000-ad22e000 rw-p 00010000 08:06 493960     /usr/lib/openoffice/basis3.0/program/libspellli.so
ad22e000-ad247000 r-xp 00000000 08:06 494005     /usr/lib/openoffice/basis3.0/program/libsrtrs1.so
ad247000-ad248000 r--p 00019000 08:06 494005     /usr/lib/openoffice/basis3.0/program/libsrtrs1.so
ad248000-ad249000 rw-p 0001a000 08:06 494005     /usr/lib/openoffice/basis3.0/program/libsrtrs1.so
ad249000-ad377000 r-xp 00000000 08:06 456970     /usr/lib/libcrypto.so.0.9.8
ad377000-ad37f000 r--p 0012d000 08:06 456970     /usr/lib/libcrypto.so.0.9.8
ad37f000-ad38d000 rw-p 00135000 08:06 456970     /usr/lib/libcrypto.so.0.9.8
ad38d000-ad390000 rw-p ad38d000 00:00 0 
ad390000-ad3d1000 r-xp 00000000 08:06 456984     /usr/lib/libssl.so.0.9.8
ad3d1000-ad3d2000 r--p 00040000 08:06 456984     /usr/lib/libssl.so.0.9.8
ad3d2000-ad3d5000 rw-p 00041000 08:06 456984     /usr/lib/libssl.so.0.9.8
ad3d5000-ad408000 r-xp 00000000 08:06 460870     /usr/lib/libcups.so.2
ad408000-ad409000 r--p 00033000 08:06 460870     /usr/lib/libcups.so.2
ad409000-ad40a000 rw-p 00034000 08:06 460870     /usr/lib/libcups.so.2
ad40a000-ad41b000 r-xp 00000000 08:06 494014     /usr/lib/openoffice/basis3.0/program/liblnthli.so
ad41b000-ad41c000 r--p 00011000 08:06 494014     /usr/lib/openoffice/basis3.0/program/liblnthli.so
ad41c000-ad41d000 rw-p 00012000 08:06 494014     /usr/lib/openoffice/basis3.0/program/liblnthli.so
ad41d000-ad43f000 r-xp 00000000 08:06 494067     /usr/lib/openoffice/basis3.0/program/libucppkg1.so
ad43f000-ad440000 r--p 00022000 08:06 494067     /usr/lib/openoffice/basis3.0/program/libucppkg1.so
ad440000-ad441000 rw-p 00023000 08:06 494067     /usr/lib/openoffice/basis3.0/program/libucppkg1.so
ad441000-ad471000 r-xp 00000000 08:06 460954     /usr/lib/libxslt.so.1.1.24
ad471000-ad472000 r--p 00030000 08:06 460954     /usr/lib/libxslt.so.1.1.24
ad472000-ad473000 rw-p 00031000 08:06 460954     /usr/lib/libxslt.so.1.1.24
ad473000-ad589000 r-xp 00000000 08:06 457197     /usr/lib/libdb-4.5.so
ad589000-ad58b000 r--p 00115000 08:06 457197     /usr/lib/libdb-4.5.so
ad58b000-ad58d000 rw-p 00117000 08:06 457197     /usr/lib/libdb-4.5.so
ad599000-ad59e000 r-xp 00000000 08:06 493967     /usr/lib/openoffice/basis3.0/program/ucpexpand1.uno.so
ad59e000-ad59f000 r--p 00005000 08:06 493967     /usr/lib/openoffice/basis3.0/program/ucpexpand1.uno.so
ad59f000-ad5a0000 rw-p 00006000 08:06 493967     /usr/lib/openoffice/basis3.0/program/ucpexpand1.uno.so
ad5a0000-ad5c0000 r-xp 00000000 08:06 493946     /usr/lib/openoffice/basis3.0/program/libhelplinkerli.so
ad5c0000-ad5c1000 r--p 0001f000 08:06 493946     /usr/lib/openoffice/basis3.0/program/libhelplinkerli.so
ad5c1000-ad5c2000 rw-p 00020000 08:06 493946     /usr/lib/openoffice/basis3.0/program/libhelplinkerli.so
ad5c2000-ad5e9000 r-xp 00000000 08:06 493958     /usr/lib/openoffice/basis3.0/program/libdeploymentmiscli.so
ad5e9000-ad5ea000 r--p 00026000 08:06 493958     /usr/lib/openoffice/basis3.0/program/libdeploymentmiscli.so
ad5ea000-ad5eb000 rw-p 00027000 08:06 493958     /usr/lib/openoffice/basis3.0/program/libdeploymentmiscli.so
ad5eb000-ad668000 r-xp 00000000 08:06 493972     /usr/lib/openoffice/basis3.0/program/deploymentli.uno.so
ad668000-ad66d000 r--p 0007d000 08:06 493972     /usr/lib/openoffice/basis3.0/program/deploymentli.uno.so
ad66d000-ad66e000 rw-p 00082000 08:06 493972     /usr/lib/openoffice/basis3.0/program/deploymentli.uno.so
ad66e000-ad66f000 rw-p ad66e000 00:00 0 
ad66f000-ad691000 r--s 00000000 08:06 127523     /usr/share/fonts/corefonts/verdanab.ttf
ad691000-ad6b4000 r--s 00000000 08:06 127517     /usr/share/fonts/corefonts/verdana.ttf
ad6b4000-ad6cd000 r-xp 00000000 08:06 493979     /usr/lib/openoffice/basis3.0/program/fsstorage.uno.so
ad6cd000-ad6ce000 r--p 00018000 08:06 493979     /usr/lib/openoffice/basis3.0/program/fsstorage.uno.so
ad6ce000-ad6cf000 rw-p 00019000 08:06 493979     /usr/lib/openoffice/basis3.0/program/fsstorage.uno.so
ad6cf000-ad6da000 r-xp 00000000 08:06 493915     /usr/lib/openoffice/basis3.0/program/libevtatt.so
ad6da000-ad6db000 r--p 0000b000 08:06 493915     /usr/lib/openoffice/basis3.0/program/libevtatt.so
ad6db000-ad6dc000 rw-p 0000c000 08:06 493915     /usr/lib/openoffice/basis3.0/program/libevtatt.so
ad6dc000-ad6f9000 r-xp 00000000 08:06 497655     /usr/lib/openoffice/ure/lib/introspection.uno.so
ad6f9000-ad6fa000 r--p 0001d000 08:06 497655     /usr/lib/openoffice/ure/lib/introspection.uno.so
ad6fa000-ad6fb000 rw-p 0001e000 08:06 497655     /usr/lib/openoffice/ure/lib/introspection.uno.so
ad6fb000-ad8cc000 r-xp 00000000 08:06 493959     /usr/lib/openoffice/basis3.0/program/libfrmli.so
ad8cc000-ad8ea000 r--p 001d0000 08:06 493959     /usr/lib/openoffice/basis3.0/program/libfrmli.so
ad8ea000-ad8ed000 rw-p 001ee000 08:06 493959     /usr/lib/openoffice/basis3.0/program/libfrmli.so
ad8ed000-ad8ef000 rw-p ad8ed000 00:00 0 
ad8ef000-ad8fe000 r--s 00000000 08:06 599853     /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
ad8fe000-ad8ff000 ---p ad8fe000 00:00 0 
ad8ff000-ae0ff000 rw

my system:
 $ emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gen
too-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Tue, 21 Oct 2008 05:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /
etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms stri
ct unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ http://mirror.cambrium.nl/pub
/os/linux/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.u
twente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru uk"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa bash-completion berkdb bzip2 cddb cdr cli cracklib
 crypt cups directfb doc dri dvd dvdr examples exif ffmpeg firefox flac fortran 
ftp gdbm gif gimp gpm iconv icq ipod isdnlog jabber jpeg jpeg2k latex mad midi m
p3 mplayer mudflap ncurses nls nptl nptlonly nsplugin openmp pam pcre perl pppd 
python raw readline reflection samba session spell spl sse sse2 ssl ssse3 sysfs 
tcpd tetex threads unicode vim-syntax x86 xml xorg zlib" ALSA_CARDS="ali5451 als
4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es
1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82x
x via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoo
p empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mu
law multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias
 auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache fil
ter headers include info log_config logio mem_cache mime mime_magic negotiation 
rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="
glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru uk" USER
LAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PO
RTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLA
Y

Comment 29 Aaron James 2008-10-22 08:05:48 UTC
(In reply to comment #24)
> I get the same error on file load in either oowriter or oocalc. Looks like
> everyone has both -fomit-frame-pointer in CFLAGS and  -Wl,-O1 in LDFLAGS.
> Anyone get it without either or both of these set?
> 

Yeah it does, I compiled expressly without -fomit-frame-pointer (I used -march=native -O2 -pipe) and the crash still happens.
Comment 30 Hanno Zysik (geki) 2008-10-22 08:46:14 UTC
Hmm, just to note, the only gdb linux-nat.c error found on google is this:
http://ubuntuforums.org/showthread.php?t=745882

ATI/fglrx gfx card / powernowd problem.
Comment 31 Arseny Solokha 2008-10-22 08:51:49 UTC
(In reply to comment #28)
> The same story just after start. OO 3.0.0
> In console I can see memory corruption:

Can valgrind help you in 
Comment 32 Arseny Solokha 2008-10-22 08:53:09 UTC
(In reply to comment #28)
> The same story just after start. OO 3.0.0
> In console I can see memory corruption:

Can valgrind help you in finding more detailed info about this memory corruption?
Comment 33 José María Fernández González 2008-10-22 10:04:33 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > The error
> > 
> >   error: line 1: missing or bad word count in the dic file
> >   Hash Manager Error : 4
> > 
> > looks like broken myspell dictionaries.
> > I guess they are an unrelated issue/do not cause the freeze...
> 
> Yes, this is definately unrelated, I get the same (and no freeze)
> 

I'm sorry, but you are wrong. I have been hunting the bug, and it is completely related to OpenOffice 3 usage of hunspell and dictionaries installed in /usr/share/myspell. And I have found a way to avoid it.

Compiled OpenOffice 3 looks for system installed dictionaries in /usr/share/myspell, but it blindly looks for *.dic files. When it finds the hyphenation files (for instance hyph_es_ES.dic), the messages "error - missing word count in dictionary file" and "Hash Manager Error : 4" are fired, and an OpenOffice crash is very probable in that point.

How have I avoided it? Well, I have created a directory /usr/share/myspell/hyphenation, I have moved all the hyph_*.dic files there, and then I have edited dictionary.lst.* files, so they can reach hyphenation files in their new location. For instance, a line like

HYPH en US hyph_en_US

would become

HYPH en US hyphenation/hyph_en_US

So, it seems there is a bug inside OpenOffice 3 when it tries handling ill-formed dictionary files through hunspell. The problem does not arise with binary installation (because it does not use myspell locally installed dictionaries), where it is forced to use its own dictionaries. A way to avoid the problem is changing the dictionary layout generated by myspell dictionaries installers to something similar to the above explanation.
Comment 34 Hanno Zysik (geki) 2008-10-22 10:15:23 UTC
(In reply to comment #33)
> Compiled OpenOffice 3 looks for system installed dictionaries in
> /usr/share/myspell, but it blindly looks for *.dic files. When it finds the
> hyphenation files (for instance hyph_es_ES.dic), the messages "error - missing
> word count in dictionary file" and "Hash Manager Error : 4" are fired, and an
> OpenOffice crash is very probable in that point.

I have hyph_de_DE.dic there and do not get the error.
Comment 35 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-22 10:21:23 UTC
Well that is a most interesting observation, as actually OOo 3.0 shouldn't use
the dictionary.lst.* files at all anymore, we now just specify default
directories, where the dictionaries files are, so no need for those. And I
checked - it really doesn't need them, if they are not there (spell checking
works fine here). But obviously they DO interfere if they are there, so
basically if I have those files in /usr/share/myspell, I get "missing or bad
word count" error, but if I delete the dictionary.lst.* files, this message
goes away.

So I'd ask you to just try to delete all the dictionary.lst* files in
/usr/share/myspell and see if that helps.
Comment 36 Jan Schubert 2008-10-22 12:38:18 UTC
(Re)Moving the hyph files helped on my site.

Thx a lot José!
Comment 37 Reuben Martin 2008-10-22 13:29:10 UTC
No help recompiling glibc. So much for that idea. GDB is proving to be pretty much useless here.

But, on the positive side, moving the hyphenation files worked here. :)
Comment 38 Paul Moore 2008-10-22 13:53:03 UTC
Has anyone tried removing just the dictionary.lst.* file(s) as suggested by comment #35?  I can't try it until later today as I've downgraded to 2.4.1 and can't remerge 3.0.0 until I'm done working (I need openoffice today for work).
Comment 39 José María Fernández González 2008-10-22 13:59:42 UTC
(In reply to comment #35)
> Well that is a most interesting observation, as actually OOo 3.0 shouldn't use
> the dictionary.lst.* files at all anymore, we now just specify default
> directories, where the dictionaries files are, so no need for those. And I
> checked - it really doesn't need them, if they are not there (spell checking
> works fine here). But obviously they DO interfere if they are there, so
> basically if I have those files in /usr/share/myspell, I get "missing or bad
> word count" error, but if I delete the dictionary.lst.* files, this message
> goes away.
> 
> So I'd ask you to just try to delete all the dictionary.lst* files in
> /usr/share/myspell and see if that helps.
> 

No, the changes in dictionary.lst.* files are only needed to avoid a breakage
in system dictionaries usage when the hyphenation files are moved. If
OpenOffice were reading those dictionary.lst.* files, it should know how to
distinguish whether a *.dic file is a dictionary or a hyphenation file.

(In reply to comment #38)
> Has anyone tried removing just the dictionary.lst.* file(s) as suggested by
> comment #35?  I can't try it until later today as I've downgraded to 2.4.1 and
> can't remerge 3.0.0 until I'm done working (I need openoffice today for work).
> 

I have tested it, and removing dictionary.lst.* files doesn't work. It only works when hiphenation files are (re)moved.
Comment 40 Denis Dupeyron (RETIRED) gentoo-dev 2008-10-22 15:02:19 UTC
(In reply to comment #35)
> So I'd ask you to just try to delete all the dictionary.lst* files in
> /usr/share/myspell and see if that helps.

Removing the dictionary.lst* files didn't help here. Removing the the hyph* files did.

Since (In reply to comment #33)
> How have I avoided it? Well, I have created a directory
> /usr/share/myspell/hyphenation, I have moved all the hyph_*.dic files there,
> and then I have edited dictionary.lst.* files, so they can reach hyphenation
> files in their new location. For instance, a line like
> 
> HYPH en US hyph_en_US
> 
> would become
> 
> HYPH en US hyphenation/hyph_en_US

This fixed the freezing at startup but then hyphenation doesn't work any more. And I double checked the edits in dictionary.lst.* to be sure.

Denis.
Comment 41 José María Fernández González 2008-10-22 16:44:16 UTC
(In reply to comment #40)
> 
> This fixed the freezing at startup but then hyphenation doesn't work any more.
> And I double checked the edits in dictionary.lst.* to be sure.
> 

The changes on dictionary.lst.* files are for applications which know about and trust on them. I can infer from what you have seen that OpenOffice is not reading those files at all and it is looking for the dictionaries and the hyphenation files in the same directory.

I can confirm that because I have just extracted the build environment running

ebuild /usr/portage/app-office/openoffice/openoffice-3.0.0.ebuild unpack

and then, doing a grep for myspell on /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo, I have found that the default distro config for Gentoo (which is extracted at /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/distro-configs/Gentoo.conf.in) points to the same directory for dictionaries, hyphenation files and thesauri: /usr/share/myspell.

The real solution is finding and fixing the bug in OpenOffice or hunspell sources, but the (not so) easy workaround is configuring/compiling OpenOffice to look for hyphenation files in a different location, and changing the installation routine of all myspell-* packages so they install hyphenation files in that different location.
Comment 42 Peter Volkov (RETIRED) gentoo-dev 2008-10-23 18:29:16 UTC
Confirmed, if I move /usr/share/myspell directory somewhere, freeze disappears. Andreas does there exist upstream bug report on this issue?

And here is backtrace when it freezes:
(gdb) thread apply all bt

Thread 5 (Thread 0xb257fb90 (LWP 21581)):
#0  0x42566982 in ?? () from /lib/ld-linux.so.2
#1  0x4312a7ae in ?? () from /lib/libc.so.6
#2  0x430c752d in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb1d7eb90 (LWP 21582)):
#0  0x42566982 in ?? () from /lib/ld-linux.so.2
#1  0x4311f728 in accept () from /lib/libc.so.6
#2  0xb7d6d9f3 in osl_acceptPipe (pPipe=0x81ca598) at pipe.c:422
#3  0xb6db70e1 in vos::OPipe::accept (this=0x81c0364, Connection=@0x81c0378)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vos/source/pipe.cxx:227
#4  0xb7d31527 in desktop::OfficeIPCThread::run (this=0x81c0350)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/desktop/source/app/officeipcthread.cxx:640
#5  0xb6db290c in vos::threadWorkerFunction_impl (pthis=0x81c0350)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vos/source/thread.cxx:43
#6  0xb7d65ea1 in osl_thread_start_Impl (pData=0x81c2ff0) at thread.c:266
#7  0x431c217b in start_thread () from /lib/libpthread.so.0
#8  0x4311ea2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xafbe9b90 (LWP 21583)):
#0  0x42566982 in ?? () from /lib/ld-linux.so.2
#1  0x431c8bbe in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0x431c4a53 in _L_mutex_lock_110 () from /lib/libpthread.so.0
#3  0x431c44c4 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x4312a626 in pthread_mutex_lock () from /lib/libc.so.6
#5  0xb7d64df0 in osl_acquireMutex (Mutex=0x544f) at mutex.c:139
#6  0xb6dae49c in vos::OMutex::acquire (this=0x80536f0)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vos/source/mutex.cxx:63
#7  0xb5eb093c in SalYieldMutex::acquire (this=0x80536f0)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/source/app/salinst.cxx:68
#8  0xb74ff1a2 in TransferableClipboardListener::changedContents (this=0x89e60f8, rEventObject=@0xafbe9268)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngi6.pro/inc/vos/mutex.hxx:130
#9  0xafbf3213 in x11::X11Clipboard::fireChangedContentsEvent (this=0x8c96768)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/dtrans/source/X11/X11_clipboard.cxx:123
#10 0xafbf32bd in x11::X11Clipboard::fireContentsChanged (this=0x8c96768)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/dtrans/source/X11/X11_clipboard.cxx:251
#11 0xafbff05e in x11::SelectionManager::run (pThis=0x85d4df0)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/dtrans/source/X11/X11_selection.cxx:3745
#12 0xafbff10d in call_SelectionManager_run (pMgr=0x85d4df0)
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/dtrans/source/X11/X11_selection.cxx:96
#13 0xb7d65ea1 in osl_thread_start_Impl (pData=0x85df020) at thread.c:266
#14 0x431c217b in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#15 0x4311ea2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaed32b90 (LWP 21584)):
#0  0x42566982 in ?? () from /lib/ld-linux.so.2
#1  0x431156f7 in poll () from /lib/libc.so.6
#2  0xb5eb2190 in ICEConnectionWorker ()
    at /vt/portage/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/source/app/sm.cxx:626
#3  0xb7d65ea1 in osl_thread_start_Impl (pData=0x86f8258) at thread.c:266
#4  0x431c217b in start_thread () from /lib/libpthread.so.0
#5  0x4311ea2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb66dd6d0 (LWP 21580)):
#0  0x42566982 in ?? () from /lib/ld-linux.so.2
#1  0x4312a7ae in ?? () from /lib/libc.so.6
#2  0x430c752d in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
#0  0x42566982 in ?? () from /lib/ld-linux.so.2

May be it helps to find issue...
Comment 43 Alon Bar-Lev 2008-10-23 21:30:20 UTC
Confirmed, if I move /usr/share/myspell directory somewhere, freeze disappears.
Comment 44 Peter Volkov (RETIRED) gentoo-dev 2008-10-24 08:41:34 UTC
Well, I've reported bug upstream, but they are not much interested in this report, until we find solution. BTW openoffice-bin works for me, so this could be workaround.
Comment 45 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 08:47:03 UTC
(In reply to comment #44)
> Well, I've reported bug upstream, but they are not much interested in this
> report, until we find solution. BTW openoffice-bin works for me, so this could
> be workaround.
> 

How can using openoffice-bin - which has no system-spell integration whatsoever - be a workaround? If anything openoffice-bin is way more broken in this respect...

Thanks for reporting upstream, though, didn't find time to do it myself until now, stuffed with other things atm
Comment 46 Jan Schubert 2008-10-24 09:21:36 UTC
So please vote for this issue at the OOO issue tracker ;)
Comment 47 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 09:29:51 UTC
(In reply to comment #46)
> So please vote for this issue at the OOO issue tracker ;)
> 

Well the difficulty here is, that we can't be really sure, whose fault it is, this could also be caused by some patches in ooo-build. But as Sun hardcodes the system spell-dictionary paths this is quite difficult to prove.
Comment 48 José María Fernández González 2008-10-24 13:30:16 UTC
As I explained in comment #33 , there is a possible workaround, changing the path where OpenOffice is looking for hyphenation files. I have created a couple of configuration patches, and my laptop is just compiling the OpenOffice patched package. If the patched version works, I'm attaching them here.

More (good or bad) news in a few hours.
Comment 49 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 13:35:22 UTC
(In reply to comment #48)
> As I explained in comment #33 , there is a possible workaround, changing the
> path where OpenOffice is looking for hyphenation files. I have created a couple
> of configuration patches, and my laptop is just compiling the OpenOffice
> patched package. If the patched version works, I'm attaching them here.
> 
> More (good or bad) news in a few hours.
> 
Well, I'm quite aware that we just could change the hyphenation path in OOo to something bog, the problem is: This would break hyphenation ;) So that's no really feasible fix...
Comment 50 José María Fernández González 2008-10-24 14:30:16 UTC
(In reply to comment #49)
> (In reply to comment #48)
> > As I explained in comment #33 , there is a possible workaround, changing the
> > path where OpenOffice is looking for hyphenation files. I have created a couple
> > of configuration patches, and my laptop is just compiling the OpenOffice
> > patched package. If the patched version works, I'm attaching them here.
> > 
> > More (good or bad) news in a few hours.
> > 
> Well, I'm quite aware that we just could change the hyphenation path in OOo to
> something bog, the problem is: This would break hyphenation ;) So that's no
> really feasible fix...
> 

I'm just recompiling OpenOffice so it looks for hyphenation files just at /usr/share/myspell/hyphenation, the place where I moved them some days ago. Once the compilation has finished, I'm going to check whether the hyphenation files are properly detected and used by OpenOffice.

If it works, then it would be time to know whether Gentoo gurus accept/like such a change, and the affected Gentoo packages. But first my test should work...
Comment 51 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 15:45:12 UTC
(In reply to comment #50)
> I'm just recompiling OpenOffice so it looks for hyphenation files just at
> /usr/share/myspell/hyphenation, the place where I moved them some days ago.
> Once the compilation has finished, I'm going to check whether the hyphenation
> files are properly detected and used by OpenOffice.
> 
> If it works, then it would be time to know whether Gentoo gurus accept/like
> such a change, and the affected Gentoo packages. But first my test should
> work...
> 

I guess its quite safe to say that this will work (why shouldn't it?), but the problem here is another one: The app-dict-herd would have to alter each and every myspell dictionary on the system (and the way it is referenced), then it would have to be tested and after that stabilized. I really don't think this is a short-term solution. If OOo crashes with all the files in the same dir, this is still a OOo bug, and that's the one that we should fix, after that we can still talk about moving around stuff...
Comment 52 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 15:57:26 UTC
Just to note here: There is now some discussion going on about this in the upstream bug (and even a patch which I'll test now)
Comment 53 José María Fernández González 2008-10-24 19:00:04 UTC
(In reply to comment #51)
> 
> I guess its quite safe to say that this will work (why shouldn't it?), but the
> problem here is another one: The app-dict-herd would have to alter each and
> every myspell dictionary on the system (and the way it is referenced), then it
> would have to be tested and after that stabilized. I really don't think this is
> a short-term solution. If OOo crashes with all the files in the same dir, this
> is still a OOo bug, and that's the one that we should fix, after that we can
> still talk about moving around stuff...
> 

I completely agree with you, the bug is from OpenOffice, and they should fix it ASAP. But as it seemed OOo people was not worried about it, I wanted to know whether the workaround worked or not (and it worked as you expected). Now we know from comment #52 that OOo guys are considering the bug, it is useless.

A unrelated issue is that thesaurus dictionaries from Gentoo are not being recognized in OpenOffice 3. I have just realized about that, and I have just learned that OpenOffice 3 uses a new format for thesaurus files.
Comment 54 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-24 19:09:51 UTC
I've just commited the upstream fix to our ebuild. At least for me the "missing or bad word count in the dic file" messages went away now. Please test (after the mirrors are synced, ebuild version is 1.15) and report if the freezes are fixed for you, as I've never got them it's a bit difficult for me to be sure about that ;)
Comment 55 Jeroen Roeper 2008-10-25 11:13:45 UTC
(In reply to comment #54)
> I've just commited the upstream fix to our ebuild. At least for me the "missing
> or bad word count in the dic file" messages went away now. Please test (after
> the mirrors are synced, ebuild version is 1.15) and report if the freezes are
> fixed for you, as I've never got them it's a bit difficult for me to be sure
> about that ;)

This works for me, previously it froze in the first five seconds now I was actually  able to open a document and edit it.
Comment 56 Alon Bar-Lev 2008-10-25 15:48:14 UTC
Confirmed. The patch fixed the issue at my configuration.
Comment 57 Matt Whitlock 2008-10-26 02:07:06 UTC
(In reply to comment #54)
> I've just commited the upstream fix to our ebuild. At least for me the "missing
> or bad word count in the dic file" messages went away now. Please test (after
> the mirrors are synced, ebuild version is 1.15) and report if the freezes are
> fixed for you, as I've never got them it's a bit difficult for me to be sure
> about that ;)
> 

Ebuild version 1.15 did not fix the bug for me.  Writer still freezes after typing a few characters.  Still works fine if I move the hyphenation dictionaries to some place other than /usr/share/myspell.
Comment 58 José María Fernández González 2008-10-26 20:19:56 UTC
It is also working for me.
Comment 59 Audiodef 2008-10-27 16:36:11 UTC
I have the same problem, and it has forced me to downgrade to 2.4.1. 

It just randomly freezes and I have to kill -9. 
Comment 60 Aaron James 2008-10-28 09:49:11 UTC
(In reply to comment #58)
> It is also working for me.
> 

Worked for me also - thanks very much!
Comment 61 Bob Johnson 2008-10-29 02:10:00 UTC
(In reply to comment #54)
The fix also works here (x86). I did an emerge -1v myspell-en to put the hyphenation dictionaries back, and the Hash Manager Error is gone, as is the freeze on startup. Hyphenation seems to be working as well.
Comment 62 Serge Gavrilov 2008-11-19 18:01:14 UTC
Works for me now, too. Thanks!
Comment 63 frank 2008-12-10 19:23:12 UTC
"Package revision numbers should be incremented by Gentoo Linux developers when the ebuild has changed to the point where users would want to upgrade. Typically, this is the case when fixes are made to an ebuild that affect the resultant installed files, but the ebuild uses the same source tarball as the previous release."
Is this not the case? IMHO users whom installed openoffice3 when it became stable should know this issue was fixed...

Comment 64 Denis Dupeyron (RETIRED) gentoo-dev 2008-12-11 14:13:12 UTC
(In reply to comment #63)
> Is this not the case? IMHO users whom installed openoffice3 when it became
> stable should know this issue was fixed...

You're perfectly right. However there are exceptions to this rule and among them the case of a package which is big enough and requires a significant enough time to build. No strict limits here, but openoffice is definitely one of them. In such cases the developer is trusted to make the right decision which involves weighing how bad the situation is against the annoyance of rebuilding the whole package. Common sense is the metric. I'm not saying that the right or wrong decision was made here, just saying that there are exceptions.

Denis.
Comment 65 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-11 19:57:58 UTC
Closing as the original bug report is fixed. About revision bumping: I agree that might have been the better way in this case, my fault, sorry about that. But as OOo 3.0.1 is around the corner, I don't think a bump makes sense anymore. I'll try to be faster next time around.