[Uim-bugs] [Bug 17282] uim-xim crash with XIM_CREATE_IC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 25 22:29:25 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=17282


Etsushi Kato <ek.kato at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Etsushi Kato <ek.kato at gmail.com>  2008-08-25 22:29:25 PST ---
Thanks for your detailed analysis.

It seems uim-xim destroys its IM when creating the IC fails.  I'll change the
behavior as you suggested.


Index: ximim.cpp
===================================================================
--- ximim.cpp   (revision 5520)
+++ ximim.cpp   (working copy)
@@ -126,7 +126,6 @@
     if (!ic) {
        mConn->push_error_packet(mID, icid,
                                 ERR_Style, "invalid im style");
-       mConn->terminate();
        return;
     }
     std::pair<C16, XimIC *> n(ic->get_icid(), ic);


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the uim-bugs mailing list