Bugzilla – Bug 556834
Inkscape crashes upon using the Text object tool
Last modified: 2012-07-31 20:26:54 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Upon selecting the Text object tool and clicking into the page in order to insert text into the page, a dialog window appears, saying "Inkscape encountered an internal error and will close now." - Clicking the 'Close' button closes Inkscape. When started from a console, the following is being printed (from starting Inkscape until the crash): >inkscape (inkscape:5319): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated (inkscape:5319): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated [the warning above appears many times] ** Gdk:ERROR:gdkinput-xfree.c:337:_gdk_input_grab_pointer: assertion failed: (input_window != NULL) Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. Aborted Reproducible: Always Steps to Reproduce: 1. Open Inkscape 2. Press F8 or click the Text object tool button on the left (the one with the big A) 3. Click into the page Actual Results: Inkscape crashes Expected Results: Being able to use the text object tool without a crash
It seems this is related to using an input method. I am using scim for entering Chinese text. When trying to get scim to work, I found various tips saying the following environment variables should be set: export XMODIFIERS=@im=SCIM export GTK_IM_MODULE=xim export QT_IM_MODULE=xim With these set, scim works in all applications I tried. But the GTK_IM_MODULE=xim seems to cause a conflict with Inkscape. On https://bugs.launchpad.net/inkscape/+bug/406036 I read that unsetting that variable would help, but it doesn't - the crash still happens (although only on attempting to leave the text area, by clicking somewhere else - it's actually possible to type something before the crash). But when setting GTK_IM_MODULE=scim Inkscape doesn't crash. So, since GTK_IM_MODULE=xim was my own doing, this is probably not a bug that many others will experience.
Confirmed here on 11.2, 64bit. But changing the variables doesn't help, so Inkscape is unusable.
However, setting GTK_IM_MODULE=gtk-im-context-simple makes Inkscape work (see https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/406036/comments/34)
Hmm, Can't reproduce this on my 32 bit 11.2 box. Which version are you using?
Sorry, this bug did not get the attention it deserved. Not likely, you have already upgraded to newer versions of openSUSE, which had a lot more bug fixes. We believe that this specific bug has been fixed during one of the release cycles; as such, I close the bug as 'FIXED'. Should you be able to reproduce this issue on a newer openSUSE version, please feel to report it again.