I have been using scim-1.0.2 before. Today I upgraded to scim-1.2.0 but since then f.i. gedit, anjuta, grip, mozilla and firefox won't start anymore. Some weeks ago I also tried scim-1.1.x, but with the same result. Those applications couldn't start anymore. mozilla and firefox just won't load (when starting from console the output is "segmentation fault"). Anjuta crashes after showing the splash. Gedit starts to show its GUI, but then crashes when the edit-field is beeing created. At first I thought all GTK apps were concerned, but there are also GTK apps that do work. So for example Gjiten (2.3) and GIMP (2.2.3) works. I use gtk+-2.6.4 (since today). I had the same problem before with gtk+-2.6.2 (and scim-1.1.x and scim-1.2.0). Reproducible: Always Steps to Reproduce: 1. emerge =scim-1.2.0 2. start one of the above mentioned programs Actual Results: The application just crashes. Expected Results: The application should start. (And inside of the application I should be able to use SCIM) Backtrace was generated from '/usr/bin/gedit' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1224980816 (LWP 16228)] 0xffffe410 in ?? () #0 0xffffe410 in ?? () #1 0xbfffd1d4 in ?? () #2 0x00000000 in ?? () #3 0xbfffd108 in ?? () #4 0xb7651663 in __waitpid_nocancel () from /lib/libpthread.so.0 #5 0xb7e7cb88 in libgnomeui_segv_handle () from /usr/lib/libgnomeui-2.so.0 #6 <signal handler called> #7 0xb705baa5 in free () from /lib/libc.so.6 #8 0xb5e9d761 in operator delete () from //usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.so.6 #9 0xb5e7ce35 in std::string::_Rep::_M_destroy () from //usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.so.6 #10 0xb5f2a2a2 in ?? () from /usr/lib/libscim-1.0.so.6 #11 0xb5f23e75 in ?? () from /usr/lib/libscim-1.0.so.6 #12 0xb5fd63c7 in gtk_im_context_scim_class_init () from /usr/lib/gtk-2.0/immodules/im-scim.so #13 0xb71ecd05 in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0 #14 0xb71d44b7 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #15 0xb71d483f in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #16 0xb71d494b in g_object_new () from /usr/lib/libgobject-2.0.so.0 #17 0xb5fcc8eb in gtk_im_context_scim_new () from /usr/lib/gtk-2.0/immodules/im-scim.so #18 0xb5fd9cac in im_module_create () from /usr/lib/gtk-2.0/immodules/im-scim.so #19 0xb741f059 in _gtk_im_module_create () from /usr/lib/libgtk-x11-2.0.so.0 #20 0xb741f7c5 in gtk_im_multicontext_get_slave () from /usr/lib/libgtk-x11-2.0.so.0 #21 0xb741f9f9 in gtk_im_multicontext_set_cursor_location () from /usr/lib/libgtk-x11-2.0.so.0 #22 0xb741d840 in gtk_im_context_set_cursor_location () from /usr/lib/libgtk-x11-2.0.so.0 #23 0xb74d75ef in gtk_text_view_update_im_spot_location () from /usr/lib/libgtk-x11-2.0.so.0 #24 0xb74d896e in gtk_text_view_value_changed () from /usr/lib/libgtk-x11-2.0.so.0 #25 0xb743e7da in _gtk_marshal_VOID__OBJECT_OBJECT () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xb71d0ed9 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0 #27 0xb71d0b3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #28 0xb71e6a5c in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0 #29 0x00000000 in ?? () #30 0x00000003 in ?? () #31 0xbfffe120 in ?? () #32 0xbfffdff8 in ?? () #33 0x080b494c in ?? () #34 0x0858d128 in ?? () #35 0xb7203640 in ?? () from /usr/lib/libgobject-2.0.so.0 #36 0x00000001 in ?? () #37 0x00000000 in ?? () #38 0xbfffe178 in ?? () #39 0xbfffdfd0 in ?? () #40 0xb7203964 in g__g_signal_mutex_lock () from /usr/lib/libgobject-2.0.so.0 #41 0x08593df8 in ?? () #42 0x0811e910 in ?? () #43 0xbfffdff0 in ?? () #44 0xb7124840 in check_action () from /lib/libc.so.6 #45 0xb764cfd7 in pthread_mutex_lock () from /lib/libpthread.so.0 ----------------------------------------------- io ~ # emerge --info Portage 2.0.51.19 (default-linux/x86/2004.2/gcc34, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.4-r2,dev-lang/python-2.3.4 [2.4 (#1, Mar 5 2005, 11:05:52)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.4-r2, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.10 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium-m -pipe -ffast-math" 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.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="-O3 -march=pentium-m -pipe -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks nostrip sandbox sfperms" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa anthy apm arts avi berkdb bitmap-fonts bonobo canna cdr cjk crypt cscope cups curl directfb doc dvd dvdr emboss encode esd fam fbcon flac font-server foomaticdb fortran freewnn gdbm ggi gif gimpprint glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib immqt-bc ipv6 jack java jpeg junit kde kdeenablefinal libg++ libwww lzw-tiff mad mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mozsvg mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pda pdflib perl plotutils png ppds python qt quicktime readline ruby samba scanner sdl skk slang speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wifi x86 xml xml2 xmms xprint xv xvid zlib linguas_de linguas_ja" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL ------------------------------------ important environment variables set (for SCIM): export LANG="de_DE.utf8" export LC_CTYPE="ja_JP.utf8" export GTK_IM_MODULE=scim export QT_IM_MODULE=scim export XIM_PROGRAM="scim -d -c kconfig" export XMODIFIERS=@im=SCIM
I have made a package of scim-1.2.0 and uploaded it. You can download it here -> http://www.hiroki.de/gentoo/packages/scim-1.2.0.tbz2 [Just in case someone asks, I also tried to compile with -O2 before. Before my CFLAGS were "-O2 -march=pentium-m -pipe", it also did not work back then.]
Please remerge all packages depending on scim, if you are upgrading from scim-1.0.x to scim-1.1.x or scim-1.2.x. Also, you might need to remove your ~/.scim.
Hi. Well, I already did remerge all scim-packages (like scim-skk, scim-pinyin etc.) But as you can see it did not help. As you suggested I also removed ~/.scim, but that did not help either. Any other suggestions? The weird thing is that not all GTK-apps are affected. Some still work, others (most GTK apps) don't work anymore.
OK. I found a bug report on SCIM's homepage that was about the same error (message) I had when I first tried to use scim-1.1. Although the problem/symptom is the same, the error message is (completely) different. So I followed the instructions there -> recompile several packages, be sure that all packages are compiled with the same compiler, libstdc++ and glibc. [although I did use the same versions of all those programs for compiling gedit, scim, etc. I had the error]. But then I had the idea to use gcc-3.3.5 instead of my standard compiler (3.4.3). And, hurray, now SCIM works. I used gcc-3.3.5 only for SCIM. The others are still compiled with gcc-3.4.3. So can I call this "resolved"? hm. I guess so. Just that I am now missing the option in SCIM (that was there before) to deactivate some languages/input methods. At the moment it shows all available languages... But that's a minor problem. Anyway -> using gcc-3.3.5 helps (at least for me)