Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99782 - KDE (and maybe GTK) apps crash after emerging scim-1.4.0/skim-1.4.0
Summary: KDE (and maybe GTK) apps crash after emerging scim-1.4.0/skim-1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 04:33 UTC by email_deleted_GqKU
Modified: 2005-08-17 09:49 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 email_deleted_GqKU 2005-07-21 04:33:03 UTC
I emerged scim-1.4.0 (from 1.3.3) and skim-1.4.0 (from 1.3.1) and after this, I
couldn't execute any KDE apps I tested (kate, kwrite, konsole, konqueror).
Already launched apps were, of course, fine.

kate gave me an "kate: ERROR: Communication problem with kate, it probably
crashed" error, while the others gave me an "Alarm clock" error... the kwrite
windows showed for some seconds, with most toolbar icons missing, before
crashing with the "Alarm clock" message (no other message printed).

I didn't have the time to test other apps, except NEdit, for which SCIM doesn't
work (neither a QT nor a GTK app), and which itself worked correctly.

I did remerge scim-qtimm (0.9.2) and scim-anthy (0.4.3) (the SCIM modules I
have), and even after a reboot (well, I'd like I could just restart X, but
ati-drivers won't let me use my computer as I wish), the same problem
appeared... KDE launched, as there is no use for SCIM at this point, but I
couldn't launch any other apps I tested... The skim program also crashed when I
opened the 'IMEngines' -> 'Global Setup' tab... (which doesn't feature a text
input element... well at least in the 1.3.1 version)

After unmerging everything (scim, scim-qtimm, scim-anthy and skim) and emerging
them back (using scim-1.3.3 and skim-1.3.1), everything worked again.

I don't know if it's only SCIM or skim related (maybe even scim-qtimm or
scim-anthy).

I didn't try to emerge scim-1.4.0 and skim-1.4.0 again.

I don't have much time to test things, but if you want more informations, I'll
do and answer what you ask...

Reproducible: Didn't try
Steps to Reproduce:
1. emerge =scim-qtimm-0.9.2 =scim-1.4.0 =scim-anthy-0.4.3 =skim-1.4.0
2. restart X
3. kwrite # or other apps like konqueror, kate, etc.

Actual Results:  
Launched apps crashed with "Alarm clock" error or for kate "kate: ERROR:
Communication problem with kate, it probably crashed"

Expected Results:  
Apps should Launch correctly.

Here's my 'emerge info':
################################################################

:[root@665334-net]::[/var/log/portage]: $ emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="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/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
/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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.sdv.fr
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.easynet.nl/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en fr ja de"
MAKEOPTS="-j3"
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 X a52 aac acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bzlib
cdr cjk clibpdf crypt ctype cups curl dba dbx dga directfb divx4linux dvd dvdr
emboss encode exif fam fbcon flac flash foomaticdb fortran freewnn ftp gd gdbm
ggi gif gmp gnutls gpm gtk gtk2 guile hal iconv imagemagick imlib innodb java
jikes jpeg kde kdeenablefinal kerberos krb4 ldap libg++ libwww lirc m17n-lib mad
mailwrapper matroska mbox memlimit mhash mikmod mime ming mmx mng motif mozilla
mp3 mpeg mysql nas ncurses nls nptl odbc ogg oggvorbis opengl oss pam pcre
pdflib perl php pic png posix ppds python qt quicktime readline ruby samba sasl
scanner sdl session simplexml sndfile soap sockets socks5 spell spl sse ssl svg
svga tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts
unicode usb vcd vhosts vorbis wmf xml xml2 xmms xpm xprint xsl xv xvid zlib
video_cards_radeon linguas_en linguas_fr linguas_ja linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

################################################################


The following USE flags were set as this:
################################################################

[ebuild     U ] app-i18n/scim-1.4.0 [1.3.3] +gtk -immqt +immqt-bc
[ebuild   R   ] app-i18n/scim-qtimm-0.9.2  -arts +nls
[ebuild   R   ] app-i18n/scim-anthy-0.4.3
[ebuild     U ] app-i18n/skim-1.4.0 [1.3.1] -arts -debug +kdeenablefinal -xinerama

################################################################


Other USE flags and package versions that might be useful:
################################################################

[ebuild   R   ] x11-libs/qt-3.3.4-r3  +cups -debug -doc -examples -firebird +gif
-immqt +immqt-bc -ipv6 +mysql +nas +odbc +opengl -postgres -sqlite -xinerama +zlib
kde-base/kate-3.4.1  -arts -debug +java +kdeenablefinal -kdexdeltas -xinerama
(other KDE apps should be mostly 3.4.1)

################################################################
Comment 1 Federico Zenith 2005-07-21 04:43:06 UTC
Hmm, maybe a silly question, but have you got:
------------
XMODIFIERS="@im=SCIM"
GTK_IM_MODULE="scim"
QT_IM_MODULE="scim"
------------
defined somewhere in /etc/env.d?
Comment 2 email_deleted_GqKU 2005-07-21 04:57:18 UTC
(In reply to comment #1)
> Hmm, maybe a silly question, but have you got:
> ------------
> XMODIFIERS="@im=SCIM"
> GTK_IM_MODULE="scim"
> QT_IM_MODULE="scim"
> ------------
> defined somewhere in /etc/env.d?

In my ~/.xprofile, loaded by my .xinitrc, yes (and they are correctly set under X).

SCIM/skim and everythig else worked perfectly before emerging scim-1.4.0 and
skim-1.4.0... (and they do now, as I downgraded back to scim-1.3.3 and skim-1.3.1).
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-07-21 07:15:09 UTC
Did you try scim-anthy-0.5.2? It works flawlessly on my box.
Don't forget to unmask scim-anthy if you are using scim-1.4.0, 
skim-1.4.0 and scim-qtimm-0.9.2 (~x86) under x86 environment.
Comment 4 email_deleted_GqKU 2005-07-21 08:00:41 UTC
(In reply to comment #3)
> Did you try scim-anthy-0.5.2? It works flawlessly on my box.
> Don't forget to unmask scim-anthy if you are using scim-1.4.0, 
> skim-1.4.0 and scim-qtimm-0.9.2 (~x86) under x86 environment.

Well, I thought I checked for scim-anthy new versions, but it seems I did not...
emerging scim-anthy-0.5.2 solved the problem... in facts, I tried to emerge
scim-anthy-0.4.3 after that (and rebooting) and seems to work without
problems... I don't know what exactly happened, and I don't have time to search
for an answer... If other people have the problem, you might as well use some
kind of dependency here.

Thanx for the info.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-07-21 15:46:16 UTC
Thanks for testing. I updated scim-anthy-0.4.{2,3}.ebuild to
not use it with  >scim-1.4. (scim-1.4 users can use scim-anthy-0.5.2
instead)
Comment 6 email_deleted_GqKU 2005-07-22 07:36:59 UTC
Ok, sorry for my lack of strictness about my bug report, but there is more to
it... I sure updated skim to version 1.4.0 but forgot to update scim to version
1.4.0... so it worked before, but don't now, as I updated again to scim-1.4.0...
I even removed all scim-related configuration files (/etc/scim/,
/etc/anthy-config, ~/.scim/, ~/.anthy/), unmerged and remerged eveything
(scim-1.4.0, scim-qtimm-0.9.2, scim-anthy-0.5.2 and skim-1.4.0), but it doesn't
work (kwrite, konqueror, kate, etc. crash at startup).

This time, I tested GTK apps (like pan or Firefox) and they works.

After all this, if I downgrade scim-1.4.0 to scim-1.3.3 (and even after
remerging scim-qtimm, scim-anthy and skim, and rebooting), all QT/KDE apps are
slow as hell... (and GTK apps don't work, waiting for konfig to load or
something like that -I'll copy the exact message when I finish this comment)... 

No slowness with scim-1.4.0, but as I said, most QT/KDE apps crash... some apps
like kig, kcalc, kalzium or kate, shows for some seconds with most icons missing
and then crash... the others just don't show at all... there doesn't seem to be
any problem with kicker (taskbar, system menu, etc.)... Some apps like kget or
klipper, appear normally in the systray, their menu work, but if I want, say,
open the configuration windows, they crash...

I'll try to isolate the problem a bit more...

Oh yes and yesterday, when I said everything worked, that was only with QT/KDE
apps... the skim input windows (OverTheSpot) wouldn't appear in GTK apps... (and
it was of course working perfectly before all this -emerging scim-1.4.0 and
skim-1.4.0)

There is obviously something wrong here, but it's hard to tell exactly where it
comes from :/ I'll start with unmerging everything again and going back to
packages versions I had before...
Comment 7 email_deleted_GqKU 2005-07-22 07:51:45 UTC
I can't reproduce the error message when launching GTK apps after downgrading
scim-1.4.0 to scim-1.3.3... However, in this configuration, if GTK apps aren't
slow, they seems a little less responsive... if it might be just an impression
for GTK apps, it's not the case for QT apps, which are awfully slow... if I type
a character in konsole or kwrite, there is a lag of half a second or something
like that... If I type fast, the text won't show before seconds...

As I said, I'll unmerge everything and revert back to the package versions I had
before.
Comment 8 email_deleted_GqKU 2005-07-22 10:20:32 UTC
Ok, here's what package versions I use now:
################################################################

[ebuild   R   ] app-i18n/anthy-6700b  -emacs +ucs4
[ebuild   R   ] app-i18n/scim-anthy-0.5.2
[ebuild   R   ] app-i18n/scim-qtimm-0.9.2  -arts +nls
[ebuild   R   ] app-i18n/scim-1.3.3  +gtk -immqt +immqt-bc
[ebuild   R   ] app-i18n/skim-1.3.1  -arts -debug +kdeenablefinal -xinerama

################################################################

With those versions, everything works perfectly... (either under QT apps or GTK
apps).

I don't want to break everything again, because I don't have the time to repair
it now... If no other have the problem, I'll do a bit more testing, but not now.

Bye the way, is there someone with running scim-1.4.0 and skim-1.4.0 compiled
with gcc-3.4.x? I recently upgraded to gcc-3.4.4 from gcc-3.3.5.20050130-r1...
If there is none,  I'll downgrade back to gcc-3.3.5.20050130-r1 (or use
gcc-config) and I'll compile scim-1.4.0 and skim-1.4.0 to see if that may not be
the problem... (we never know... 'heard about problems with gcc-3.4 and anthy...
but some people said it worked fine, so it might be resolved...).
Comment 9 email_deleted_GqKU 2005-07-22 13:02:56 UTC
Ok, I found the time to emerge scim-1.4.0 and skim-1.4.0 with
gcc-3.3.5.20050130-r1 and QT apps don't crash... After emerging skim-1.4.0, I
couldn't write in GTK apps using scim/skim (and still can't), but everything
else is fine, so it might be a configuration difference between skim-1.3.1 and
skim-1.4.0... (well if it's a bug, it doesn't matter for this bug report)

So it seems gcc-3.4.x (or at least gcc-3.4.4) might be the source of the
problem... I don't know what package has compilation problems with it (as I
said, I heard about problems with anthy and gcc-3.4, but some said they didn't
have any problem... so it might be any package related to scim/skim/anthy, or
even another one I emerged after upgrading to gcc-3.4.4 and which interacts with
scim/skim/anthy...)
Comment 10 LiuCougar 2005-08-08 10:34:18 UTC
try to upgrade to scim-qtimm 0.9.3 as well
Comment 11 email_deleted_GqKU 2005-08-11 07:49:59 UTC
(In reply to comment #10)
> try to upgrade to scim-qtimm 0.9.3 as well

Works great when compiled with gcc-3.3.5.20050130-r1... but I don't have enough
time to test with gcc-3.4.4... if someone is using anthy-6700b,
scim-anthy-0.6.0, scim-1.4.0, skim-1.4.0 and scim-qtimm-0.9.3, compiled with
gcc-3.4.4, and it works, then I'll test too, to see if there might be another
problem with my system... If it doesn't for them too, then there could be a
problem between at least one of those software and gcc-3.4.4 (at least). If it
works for everyone including me, then I guess there was some problem which was
resolved by upgrading other parts of my system, or something like that... :/

If no one tests this before the end of the week, I'll try to take some time to
do it...
Comment 12 email_deleted_GqKU 2005-08-12 11:58:55 UTC
Ok, 'found the time to test... and there really is some problem with gcc-3.4.4
and scim-1.4.0 (no problem with gcc-3.4.4 and scim-1.3.3... but I have to
recompile scim-qtimm-0.9.3 with gcc-3.4.4 else, at least QT apps input is really
slow). I get the "Alarm clock" crashing error with QT apps like kwrite...

If everyone have the problem with gcc-3.4.4 (or even 3.4.x), then there must be
some dependency set, until the problem is resolved... and a message for people
who compiled scim-1.3.3 with gcc-3.4.4 (or 3.4.x), for them to recompile
scim-qtimm with gcc-3.4.4, if it was compiled with gcc-3.3.x... (or something
like that...)

I can't help much to find any other details on the problem, sorry.

There may already be some discussions about the problem elsewhere, if it's
related to gcc-3.4.x.
Comment 13 LiuCougar 2005-08-17 09:00:09 UTC
all my system compiled with gcc 3.4.4

gcc 3.3.x and gcc 3.4.x have incompatible c++ ABI

so please use gcc 3.3.x to compile SCIM packages until you recompile all your
system with gcc 3.4.x

someone can close this bug IMO
Comment 14 email_deleted_GqKU 2005-08-17 09:49:39 UTC
(In reply to comment #13)
> so please use gcc 3.3.x to compile SCIM packages until you recompile all your
> system with gcc 3.4.x

Ok, I should have read http://gentoo-wiki.com/HOWTO_Migrate_to_GCC_3.4 (well, I
didn't really planned my GCC upgrading, that was to do some tests... but I
should have been more careful) :/ I'll ask for the link to be added to the
gcc-3.4.x ebuilds, as it should be there, so people don't waste hours working on
false problems (at least, I guess I won't do the same error twice...).

Sorry to have bothered you.