Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137585 - OpenOffice (oowriter2) crashes when saving files w/ space in filename
Summary: OpenOffice (oowriter2) crashes when saving files w/ space in filename
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 07:02 UTC by Rodolphe Keller
Modified: 2006-06-22 12:25 UTC (History)
2 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 Rodolphe Keller 2006-06-22 07:02:02 UTC
Hi, people.

I'm experiencing a strange behaviour of OOo (only tried oowriter2, and I'm using OOo version 2.0.2, in the binary version (openoffice-bin-2.0.2)).

When I open a file, change something in it, OOo crashes when i try to save it. That only happens on "old" files. I mean, I noticed that i can create a new file, save it ... close it, reopen it, and save it as i want, without problems. But with *all* the other files (created before i noticed the bug), I have the same problem (OOo crashes).

Starting oowriter2 from a term let me see that message: 
keikoz@kgentoo ~ $ oowriter2

Fatal exception: Signal 8
Stack:
/usr/lib/openoffice/program/libuno_sal.so.3[0xb7428628]
/usr/lib/openoffice/program/libuno_sal.so.3[0xb7428752]
/usr/lib/openoffice/program/libuno_sal.so.3[0xb74287ff]
[0xffffe420]
/usr/lib/openoffice/program/soffice: line 233:  6400 Abandon                 "$sd_prog/$sd_binary" "$@"



Here are my emerge --infos:
Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts cdr cli crypt cups dri dvd dvdr eds emacs emboss encode firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww lm_sensors mad mikmod motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


I tried to re-emerge it, but the problem stands. Tried to erase /~stuffs , but the problem is still here...
Comment 1 Rodolphe Keller 2006-06-22 07:15:46 UTC
I made some tests, and have to rectifie what i told. It doesn't crashes on "old" files, it just crashes on *all* files, when they have white-spaces. The "new" files that i created to test, had no spaces, that's why i made the mistake.

So, all files where i put spaces are crashing when saving them.

That'squiteboringnobodycouldunderstandwhati'mwritinglikethat:/
Comment 2 Andrew Gaydenko 2006-06-22 08:26:56 UTC
It is interesting from some (unknown) update (at ~x86) I have problem in saving _any_ not empty file with any filename. More interesting, I have tried last ooo-bin RC and have got the same effect. There was long period I have not used OOo and plenty updates were emerged, so I have no idea who is this side effect causer. 

glibc with (new added) locale-gen?
Comment 3 Andrew Gaydenko 2006-06-22 08:36:10 UTC
Rodolphe's experience with spaces :-) inspired me to play with spaces _inside_ a document. Indeed, spaces do matter: without them a file may be saved without problem.

???
Comment 4 Andrew Gaydenko 2006-06-22 09:51:58 UTC
Probably, I must add at my case a console output is:

KCrash: Application 'soffice.bin' crashing...
X IO Error
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2006-06-22 10:42:20 UTC
Any chance you are using less common fonts (or only have them installed). In the past broken fonts could cause problems. You could try updating freetype and fontconfig as they've been inproved to be more tollerant and openoffice uses them.
Comment 6 Andrew Gaydenko 2006-06-22 11:05:20 UTC
(In reply to comment #5)
> Any chance you are using less common fonts (or only have them installed). In
> the past broken fonts could cause problems. You could try updating freetype and
> fontconfig as they've been inproved to be more tollerant and openoffice uses
> them.
> 

Font under use changing and freetype/fontconfig reemerging don't help :-(
Comment 7 Rodolphe Keller 2006-06-22 11:24:31 UTC
I always used same fonts, and I didn't change anything about it in last times.

Anyway, it doesn't work using the default font of OOo (the one used when creating a new doc).

But:

Some days ago, making an emerge -uDNav world, i emerged freetype-2.2.1 (seemed to be unmasked). Some hours after, i did a new emerge -uDNav world, and i had to downgrade freetype. Probably the problem is related to freetype.

Now, some minutes ago there was a new freetype upgrade, from freetype-2.1.10-r1,  to -r2 and everything *works* now.

For me the problem is solved. Hope that it will work for you Andrew.
Comment 8 Andrew Gaydenko 2006-06-22 11:54:33 UTC
(In reply to comment #7)
> Now, some minutes ago there was a new freetype upgrade, from
> freetype-2.1.10-r1,  to -r2 and everything *works* now.
> 
> For me the problem is solved. Hope that it will work for you Andrew.
> 

Thanks! The same!
Comment 9 Rodolphe Keller 2006-06-22 12:01:05 UTC
Ok, i mark it as fixed since it seems that upgrading freetype ... fixes it !
Comment 10 Tristan Heaven (RETIRED) gentoo-dev 2006-06-22 12:25:50 UTC
Also, X crashed(!) when selecting a font.

Seems to be okay now, with freetype-2.1.10-r2.