Issue 45381 - OO crashes when saving a file which contains a special character in its file name
Summary: OO crashes when saving a file which contains a special character in its file ...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.0 Beta
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2005-03-18 11:02 UTC by argeo
Modified: 2005-04-05 10:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description argeo 2005-03-18 11:02:59 UTC
Version used: OO 2.0 Beta

When saving a new file, and the file name contains a special
character (ä,ü,ö the like), OO crashes completely.

Just to make sure there is no misunderstanding: the document
itself can contain these characters, but they can not be used
in the file name.

Kind regards,
Georg


System details:
System uname: 2.6.11-rc4-bk8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 18 2005, 13:09:58)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups
curl dvd emboss encode esd evo fam font-server foomaticdb fortran gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit ldap
libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell
sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb wmf xml
xml2 xmms xv zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 michael.ruess 2005-03-18 12:14:55 UTC
Framework issue.
Comment 2 flibby05 2005-03-18 19:31:43 UTC
works fine here with m86 on SuSE 9.2 x386

please give any more information that might be relevant,

thanks for supporting us!

Max
Comment 3 argeo 2005-03-18 19:57:40 UTC
Well, using m79 here... will update to m86 and post if the
error persists.

Which information do you care for?

I'm not sure where to start...


the kernel is a current 2.6.11-rc4-bk8 
gnome is 2.8.2

If this were a self compiled package, I would worry about
gcc version which is 3.3.5-r1.

How's about locales?
argeo@kira / $ locale
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=
argeo@kira / $


Anyway, I will come back to you after having tried
out the current beta.

Good night!
Georg
Comment 4 argeo 2005-03-18 20:29:38 UTC
update: just installed m84.

OO crashes no longer when saving files containing special characters
in its file name, but it's changing the filename in an unwanted way.

a document which would be saved as "übertrag.odt" is saved as
%FCbertrag.odt

Any ideas on this one?

Again: good night :)
Comment 5 flibby05 2005-03-21 22:30:17 UTC
Can you save files containing special characters with other applications on the
same partition. Is the partition mounted to support special characters?
Comment 6 argeo 2005-03-22 08:10:58 UTC
Hi Max,
thanks for your reply. Saving files containing special 
characters in their file names works for other applications.

Just tried it with OO 1.1.4 to be sure and it does good.

It's only OO 2.0 beta which has this "feature" (to be
honest, OO 1.1.4-ximian-edition has that very same bug).
File system is reiserfs, but doesn't work on other
file systems, too (tried reiserfs, vfat, smbfs, ext2).


Just to make sure we are talking about the same thing:
does it work out at your place? I mean, are you able to
save a file name being "Ãœbertrag.odt" for example?
(and does it still read "Ãœbertrag.odt" afterwards?)


Is your system configured for UTF-8? Mine isn't (yet)...
Comment 7 flibby05 2005-03-23 20:12:26 UTC
>> are you able to
>> save a file name being "Ãœbertrag.odt" for example?
>> (and does it still read "Ãœbertrag.odt" afterwards?)

works for me with m86 on SuSE 9.2.

1) this is the relevant part of my /etc/fstab:

/dev/hda6            /                    reiserfs   acl,user_xattr        1 1

2) my locale output:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


does changing locale variables solve the problem for you?
Comment 8 argeo 2005-03-26 16:43:55 UTC
Hi Max!
Now we are on the right track...
using UTF8, file names can contain special characters.

As far as I know, nearly all distros come in preconfigured using
UTF8, so I guess you can close this issue?

Regards,
Georg
P.S: Thanks for your help!!!
Comment 9 mci 2005-04-05 10:15:30 UTC
Hi argeo,

thanks for using and supporting OpenOffice.org...

As you suggested I close this issue now...
Comment 10 mci 2005-04-05 10:17:39 UTC
closing