Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320721 - scim-bridge crashes when opening any firefox 3..6.3 dialogue
Summary: scim-bridge crashes when opening any firefox 3..6.3 dialogue
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 12:55 UTC by Sam Iam
Modified: 2016-07-01 00:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/gtk-2.0/x86_64-pc-linux-gnu/gtk.immodules (gtk.immodules,1.93 KB, text/plain)
2010-05-21 15:11 UTC, Sam Iam
Details
/etc/gtk-2.0/gtk.immodules (~x86 system) (gtk.immodules,1.98 KB, text/plain)
2010-08-12 03:01 UTC, Joshua Rich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Iam 2010-05-20 12:55:09 UTC
When using scim-bridge, firefox starts up fine. But every time you try to open any of the dialogue windows (e.g. Tools->Add ons), you get a blank window and firefox freezes. There is a log message saying scim-bridge crashed:

May 20 08:39:36 kelani kernel: scim-bridge[16014]: segfault at c ip b77f0ac4 sp bff68a1c error 4 in libscim-1.0.so.8.2.4[b7793000+c9000]

When I start firefox in a window, I see the following:
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_change_focus ()
An IOException occurred at scim_bridge_client_imcontext_focus_out ()

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 20 May 2010 01:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4                                                                                                 
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com http://adelie.polymtl.ca http://distfiles.gentoo.org http://www.ibiblio.o rg/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en si"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm hal iconv jpeg kde kdehiddenvisibility lcms ldap libnotify lzma mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en si" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam Iam 2010-05-20 12:56:42 UTC
Work arround is to start firefox with scim instead of scim-bridge

$ GTK_IM_MODULE=scim firefox

Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2010-05-21 10:10:12 UTC
Could you put your /etc/gtk-2.0/gtk.immodules here?
Comment 3 Sam Iam 2010-05-21 15:11:04 UTC
Created attachment 232363 [details]
/etc/gtk-2.0/x86_64-pc-linux-gnu/gtk.immodules

My gtk.immodules file
Comment 4 Joshua Rich 2010-08-12 02:59:36 UTC
I can confirm this problem on ~x86.  Currently the system is set up with a file in /etc/env.d with the following contents:

XMODIFIERS='@im=SCIM'
GTK_IM_MODULE='scim-bridge'
QT_IM_MODULE='scim-bridge'
QT4_IM_MODULE='scim-bridge'

scim is started on user login with a .desktop file in /etc/xdg/autostart:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=SCIM Input Daemon
Exec=scim -d
Terminal=false

I'm using scim-bridge to have scim support in both QT and GTK apps installed on the system.  Is mixing and matching scim and scim-bridge a no-no?

Regards,

Josh

Comment 5 Joshua Rich 2010-08-12 03:01:01 UTC
Created attachment 242515 [details]
/etc/gtk-2.0/gtk.immodules (~x86 system)
Comment 6 Benda Xu gentoo-dev 2016-06-02 01:49:09 UTC
We have scim-1.4.17 in tree.  It should have fixed this bug.

Not scim-bridge has been renamed to scim-im-agent.
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2016-07-01 00:01:03 UTC
Clearing the NEEDINFO flag to get this bug out of the NEEDINFO list.