Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61358 - Mozilla doesn't start under xorg-x11 if LANG=sk_SK.ISO8859-2
Summary: Mozilla doesn't start under xorg-x11 if LANG=sk_SK.ISO8859-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 04:28 UTC by norbert kamenicky
Modified: 2004-09-15 15:15 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 norbert kamenicky 2004-08-23 04:28:42 UTC
On properly working system (and fully functional mozilla) I unmerged xfree-4.3.0-r6 and emerged xorg-x11-6.7.0-r1.
After updating all config files, modify files in /etc/fonts, /etc/X11/fs
and copy XF86Config-4 to xorg.conf my new "X" started successfully, KDE,
Konsole and even OpenOffice.org v1.1.2SK works properly (national chars
from ISO8859-2 are properly displayed), but mozilla fails to start.

Command "mozilla" crashes with this error:

No running windows found   <<< AFAIK this is normal ...
/usr/bin/mozilla: line 388:  5707 Chyba segment
Comment 1 norbert kamenicky 2004-08-23 04:28:42 UTC
On properly working system (and fully functional mozilla) I unmerged xfree-4.3.0-r6 and emerged xorg-x11-6.7.0-r1.
After updating all config files, modify files in /etc/fonts, /etc/X11/fs
and copy XF86Config-4 to xorg.conf my new "X" started successfully, KDE,
Konsole and even OpenOffice.org v1.1.2SK works properly (national chars
from ISO8859-2 are properly displayed), but mozilla fails to start.

Command "mozilla" crashes with this error:

No running windows found   <<< AFAIK this is normal ...
/usr/bin/mozilla: line 388:  5707 Chyba segmentácie       $mozbin "$@"

which means:
/usr/bin/mozilla: line 388:  5707 Segmentation failed     $mozbin "$@"

If I start mozilla in this way:

LANG=en_US mozilla

it starts properly, but fails, if I open http://www.ipex.sk
(i.e.  M$hit encoded page "charset=windows-1250")
about one second after properly displaying it.

Mail component is working, but if I switch keyboard to slovak, some chars
are displayed properly, but if press z-caron (or t-caron) cursor disapears
and later pressed chars are invisible.
(probably the problem is in chars, which do not have the same code
in ios8859-2 and win-1250).

If I rename ~/.mozilla, then mozilla browser starts (with empty page), 
also with LANG=sk_SK.ISO8859-2 (without mozilla Mail).
Therefore I think LANG=sk_SK.ISO8859-2 is making trouble to Mail component
during start (I always have some emails written in slovak in Inbox,
with various encodings - UTF-8, ISO8859-2, win-1250)


Reproducible: Always
Steps to Reproduce:
1.unmerge xfree86
2.emerge xorg-x11
3.start mozilla
4.opening http://www.ipex.sk or any other in charset=windows-1250


Actual Results:  
mozilla crashes

Expected Results:  
working browser

Tested in kde-3.2.3

xorg started in this way: LANG=sk_SK.ISO8859-2  startx

Troubles with us - sk keyboard switching see 
[Bug 61347] International keyboard switching problem with xorg-x11

emerge info:
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.27)
=================================================================
System uname: 2.4.27 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail
/var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi alsa apache2 arts audiofile avi bonobo cdr crypt
cups dga directfb doc dvd encode esd ethereal evo fbcon flash foomaticdb freetds
gd gdbm ggi gif gpm gps gtk gtk2 gtkhtml guile icc-pgo imap imlib innodb java
jikes jpeg junit kde ladcca lcms libwww linguas_sk lirc mad maildir mikmod mmx
motif mozilla mpeg mpi mule mysql nas ncurses nls oav odbc oggvorbis opengl oss
pam pcmcia pdflib perl plotutils png pnp python qt quicktime readline sasl
scanner sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype
trusted usb video_cards_radeon wavelan wmf x86 xface xml xml2 xmms xv zeo zlib"
Comment 2 norbert kamenicky 2004-09-15 15:15:16 UTC
I added new user to system, started X as that user ...
and found, that mozilla crashing disapeared.

So the problem is not in xorg or mozilla itself, but in old/existing
config files (which worked under xfree).
Surprisingly the problem was not in xorg, but in KDE
config files in ~/.kde, because after removing it mozilla 
works properly.