As noted in malone bug #2246, GTK_IM_MODULE=scim can cause problems if scim is loaded in an app linked to libstdc++5. GTK_IM_MODULE=xim would be a workaround.
Also XMODIFIERS=@im=scim is WRONG and useless. The correct way to specify XMODIFIERS for scim is XMODIFIERS=@im=SCIM, uppercase. (This is clearly documented in /usr/share/doc/scim/README.Debian.gz by the way, whatever doc you get this setting from should be fixed.)
As noted in malone bug #2246, GTK_IM_MODULE=scim can cause problems if scim is loaded in an app linked to libstdc++5. GTK_IM_MODULE=xim would be a workaround.
Also XMODIFIERS=@im=scim is WRONG and useless. The correct way to specify XMODIFIERS for scim is XMODIFIERS= @im=SCIM, uppercase. (This is clearly documented in /usr/share/ doc/scim/ README. Debian. gz by the way, whatever doc you get this setting from should be fixed.)