Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119979 - app-office/openoffice-2.0.x crash (locale?)
Summary: app-office/openoffice-2.0.x crash (locale?)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 14:03 UTC by Andreas Volz
Modified: 2006-03-16 13:36 UTC (History)
0 users

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 Andreas Volz 2006-01-22 14:03:28 UTC
OO.org is crashing here and I think it's a locale problem. It's crashing by saving into some directories others not. Here is the gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 196615 (LWP 9090)]
0xb69519e3 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0xb69519e3 in strlen () from /lib/libc.so.6
#1  0xae14d907 in ?? ()
from /usr/lib/openoffice/program/fps_gnome.uno.so #2  0xae14e393 in ??
() from /usr/lib/openoffice/program/fps_gnome.uno.so #3  0xb2a2efc8 in
sfx2::PickerThread_Impl::run ()
from /usr/lib/openoffice/program/libsfx680li.so #4  0xb72c9604 in
vos::_cpp_OThread_WorkerFunction ()
from /usr/lib/openoffice/program/libvos3gcc3.so #5  0xb72c95df in
_OThread_WorkerFunction ()
from /usr/lib/openoffice/program/libvos3gcc3.so #6  0xb7074dbd in
osl_getTextEncodingFromLocale ()
from /usr/lib/openoffice/program/libuno_sal.so.3 #7  0xb6bab18e in
pthread_start_thread () from /lib/libpthread.so.0 #8  0xb6bab334 in
pthread_start_thread_event () from /lib/libpthread.so.0 #9  0xb699faaa
in clone () from /lib/libc.so.6

Here my 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=de_DE@euro


Here my emerge info:

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3-1 i686)
=================================================================
System uname: 2.6.13-gentoo-r3-1 i686 AMD Duron(tm) Gentoo Base System
version 1.6.14 ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/
ftp://gentoo.inode.at/source/" LANG="de_DE@euro" LC_ALL="de_DE@euro"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apm athena audiofile avi berkdb
bitmap-fonts bonobo bzip2 cairo cdr crypt cups curl dga dmx dnd dv dvd
eds emboss encode esd exif expat f77 faad fam fbcon ffmpeg foomaticdb
fortran freetype gd gdbm ggi gif glut gmp gnome gnomedb gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 java
joystick jpeg jpeg2k lcms libcaca libg++ libsamplerate libwww lua mad
maildir mbox mikmod mmx mng mozilla moznoirc moznomail mozp3p mozsvg
mp3 mpeg mule nas ncurses neXt nls nvidia objc ogg oggvorbis openal
opengl oss pam pcre pdflib perl plotutils png povray python qt
quicktime readline ruby sasl scanner sdk sdl slang spell sqlite sse ssl
stencil-buffer svg tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts udev unicode usb vorbis wmf xface xine xinerama xml xml2
xmms xprint xrandr xv xvid zlib linguas_de userland_GNU kernel_linux
elibc_glibc" Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS


How I build OO.org:

[ebuild   R   ] app-office/openoffice-2.0.1  -binfilter +curl +eds
+gnome +gtk +java -kde -ldap +mozilla +xml2 +zlib 0 kB 

I tried 2.0.0 and 2.0.1 and both have the same crash bug. Interesting is that if I use the -bin version of OO.org the crash doesn't occur.

On the mailing list are some more people with a similar crash. Do you need more information? Should I switch to the -bin version or is there an easy workaround?
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-22 22:25:15 UTC
Hmmm, looks like a bug in the gnome file selector, never experienced that myself, though. Just to make sure, could you de-activate the GNOME file selector (in Tools > Options > OpenOffice.org > General activate "Use OpenOffice.org dialogs" and try again?

Is there some special setup which could create this, are the directories where this happen on a NFS share or something like that?
Comment 2 Andreas Volz 2006-01-23 05:05:46 UTC
(In reply to comment #1)
> Hmmm, looks like a bug in the gnome file selector, never experienced that
> myself, though. Just to make sure, could you de-activate the GNOME file
> selector (in Tools > Options > OpenOffice.org > General activate "Use
> OpenOffice.org dialogs" and try again?

Yes, if I acivate OO.org dialogs it works without problems.

> Is there some special setup which could create this, are the directories where
> this happen on a NFS share or something like that?

No, a directory in my home dir. No special chars included.
Comment 3 Andreas Volz 2006-01-23 05:14:19 UTC
Ok, it was this file that crash with the non-OO.org save dialog:

/home/andreas/fh-fulda/ws2002/VertSys/Zusammenfassung.odt

It I save the same document as

/home/andreas/Zusammenfassung.otd

all works great.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-23 12:37:50 UTC
Might be a problem with some special sign, maybe only showing up, when not using UTF-8.

Just to make sure: Try saving to

/home/andreas/fh-fulda/

and to a new dir called

/home/andreas/fhfulda/

and see what happens.

Can't reproduce here, even with the weirdest and longest dir-names / levels
Comment 5 Andreas Volz 2006-01-23 13:11:21 UTC
This does also crash. I didn't understand why this happens. I tested it again and not it works in /home/andreas/Documents/test.odt, but crash in /home/andreas/test.odt with the gnome file selector.

I hope someone else could reproduce this bug.

Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-23 13:21:46 UTC
(In reply to comment #5)
> This does also crash. I didn't understand why this happens. I tested it again
> and not it works in /home/andreas/Documents/test.odt, but crash in
> /home/andreas/test.odt with the gnome file selector.

Hmm, that are not really results which help to narrow it down ;) Are they reproducible, so if you close and restart OOo, do you get the same problem?

Another guess: Try to rebuild gtk+ and gnome-vfs, maybe something is broken there.

If that doesn't help start OOo with

LC_ALL="C" oowriter2

and see if that changes anything
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-29 04:38:14 UTC
@Andreas: I really would need some input here, see my last comment
Comment 8 Andreas Volz 2006-01-29 07:50:54 UTC
(In reply to comment #6)
> Hmm, that are not really results which help to narrow it down ;) Are they
> reproducible, so if you close and restart OOo, do you get the same problem?

Yes, I could reproduce it as often as needed. But only with some directories.

> Another guess: Try to rebuild gtk+ and gnome-vfs, maybe something is broken
> there.

I've done this. Doesn't change anything.

> If that doesn't help start OOo with
> 
> LC_ALL="C" oowriter2
> 
> and see if that changes anything


Doesn't change anything. The Gnome save dialog do still crash OO.org. But I noticed that only the file chooser is in english language. The OO.org user interface is still german? Is this a problem?

If I start it with LC_ALL="C" some directories aren't displayed correct. (e.g. B
Comment 9 Andreas Volz 2006-01-29 07:50:54 UTC
(In reply to comment #6)
> Hmm, that are not really results which help to narrow it down ;) Are they
> reproducible, so if you close and restart OOo, do you get the same problem?

Yes, I could reproduce it as often as needed. But only with some directories.

> Another guess: Try to rebuild gtk+ and gnome-vfs, maybe something is broken
> there.

I've done this. Doesn't change anything.

> If that doesn't help start OOo with
> 
> LC_ALL="C" oowriter2
> 
> and see if that changes anything


Doesn't change anything. The Gnome save dialog do still crash OO.org. But I noticed that only the file chooser is in english language. The OO.org user interface is still german? Is this a problem?

If I start it with LC_ALL="C" some directories aren't displayed correct. (e.g. Bücher). But as the crash directory hasn't umlauts I don't think this is the problem.

Sorry, that I didn't answer fast. At the moment I'm very busy with my exams...
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2006-02-02 11:22:32 UTC
(In reply to comment #8)
> Doesn't change anything. The Gnome save dialog do still crash OO.org. But I
> noticed that only the file chooser is in english language. The OO.org user
> interface is still german? Is this a problem?

It could be. Do you use german only for OOo not for Gnome? If yes: Why? 
 
Also: Could you try with openoffice-bin and see if this bug is there for you too?

If you don't want to rebuild openoffice again, package it before unmerging:

quickpkg openoffice

this way you can get it back quickly by doing

emerge -k openoffice

after you tried out (and removed again) openoffice-bin.
Comment 11 Andreas Proschofsky (RETIRED) gentoo-dev 2006-02-21 03:06:22 UTC
Another little pingy to remind you that I need some input here...
Comment 12 Andreas Volz 2006-02-24 03:05:47 UTC
> It could be. Do you use german only for OOo not for Gnome? If yes: Why? 

No, I use german for Gnome and OOo. What I said is that if I start it with

LC_ALL="C" oowriter2

_then_ the OOo user interface language isn't changed to english, only the gnome dialogs language.

> Also: Could you try with openoffice-bin and see if this bug is there for you
> too?

I tried openoffice-bin and it crash also. I'm not sure what else I could try to hunt this bug. Currently I'm happy with the native dialogs, but it would be nice to have the gnome dialogs.

Sorry, for not answering so long time on this bug report. I was very busy with my thesis, but now I'm finished. :-)
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-16 13:36:52 UTC
If openoffice-bin is also crashing, you should report that upstream:

http://qa.openoffice.org/issue_handling/pre_submission.html

Unfortunately, there is nothing more we can do here.