Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Thanks for the report. Reproduced on Ubuntu Lucid x86 (VMWare Player)

Actually here's a simpler repo step.

1. Type with SCIM-mozc
2. Focus out
3. kill mozc_server (execute killall mozc_server
4. Focus in and restart editing.

Let me explain the background of this bug.

Mozc client (e.g. SCIM-mozc, Mozc clients on TSF/IMKit) first creates a session 
(context) by calling CreateSession command. When a client no longer requires 
the session, the client has to call DeleteSession. However, it is not always 
guaranteed that all clients call DeleteSession method. For instance, 
DeleteSession might not be called when applications crash unexceptionally. When 
DeleteSession is not called, Zombie sessions remain in mozc_server heap memory, 
which causes a kind of memory leak.

To prevent such case, mozc server internally launches a watch dog thread 
(session/session_watch_dog.cc) and kills sessions that are not accessed for a 
fixed timeout (default timeout is  1 hour).  Mozc client library 
(client/session.cc) must be implemented so that the it works as expected even 
when the session is removed.

We have been working on allowing user to customize IME on/off key on Windows. 
This new feature causes a regression bug in the session management.
Similar issue is discovered in Google Japanese Input on Windows.  IME/On Off 
state is reset when session is killed.

http://www.google.co.jp/support/forum/p/ime/thread?tid=4e3f9d3a29e401d0&hl=ja


Original comment by [email protected] on 26 Jun 2010 at 2:51

from mozc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
I got it. Thanks for your detailed description.

I think this bug is more terrible than the issue occurring on Windows because 
there is no way to know that the session has been deleted until the incorrect 
text is input. Please fix it as soon as possible.

Original comment by [email protected] on 26 Jun 2010 at 5:25

from mozc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024

Original comment by [email protected] on 28 Jun 2010 at 1:20

  • Changed state: Started

from mozc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
@irieshinsuke

r31 has just been released. In the revision, the issue 17 should be fixed as 
well as other scim-mozc issues like state inconsistency on focus_out/reset 
events, Shift modifier problem on Kana input.

Could you check if they're fixed when you have time?

Original comment by [email protected] on 1 Jul 2010 at 2:30

from mozc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
I tested r31 just now. The issues I pointed out about scim-mozc seem to be 
resolved. Thanks!

Original comment by [email protected] on 1 Jul 2010 at 8:17

from mozc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Thanks for the quick confirmation! Closing the bug.

Original comment by [email protected] on 1 Jul 2010 at 8:33

  • Changed state: Fixed

from mozc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.