JDK-4291784 : Access Violation in ATOK12 IME on switching IME with the key "shift+alt"
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.3.0
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_98
  • CPU: x86
  • Submitted: 1999-11-16
  • Updated: 1999-11-23
  • Resolved: 1999-11-23
Related Reports
Relates :  
Relates :  
Description
===========================================================================
This was occuerd during validationg the fixes for bugid 4283280.

1. Configration
   OS  : Windows98(Japanese)
   IME : MS-IME98, and Atok12
   JDK : Kestrel build-o

   Note)
     - Not happened on WinNT4.0.

2. Reproduction

  (1) Go to the demo\jfc\Swingset directory.
  (2) Type "java -classic -jar SwingSet.jar"(Run Swingset demo)
      -> SwingSet will window show up      
  (3) Open some modal dialogues and close it
      (I opended the JfileChooser included in SwingSet)
  (4) Click the MS-IME Palette with the left button of mouse.
      -> Window border of the palette is highlighted while clicking the window. 
         The window focus still remains the same in SwingSet     
  (6) Shift + alt (Push about ten times)
      -> Then the SwingSet window will disappear
         and the message window appears.
  (6) click the button to show the detail information
      -> Then the following messages shows up
         (The Messages is displayed in Japanese)
     
      Access Violation of JAVA
      Module : ATOK12W.IME    Address : 015f:5f3b283d
      Registers:
      EAX=00000000 CS=015f EIP=5f3b283d EFLGS=00010212
      EBX=04f3face SS=0167 ESP=04f3fa1c EBP=04f3fa94
      ECX=00000000 DS=0167 ESI=000003e3 FS=488f
      EDX=00000000 ES=0167 EDI=04f3fa34 GS=0000
      Bytes at CS:EIP:
      8b 48 08 85 c9 76 46 8d 0c 49 8d 04 88 8b 48 2c
      Stack dump:
      8acc50c7 00000000 5f3876aa 000003e3 00000000 00000167
      00013310 00000000 00000000 00000000 00000000 00000000
      00000000 0041c2a4 00510ce8 00000000

3. Others

  (1)  Please "See Also". 
  (2)  If the issue does not occured with the process of reproduction,
       Please Open and close many modal dialog boxes at the 3rd step
       of reproduction.
  (3)  This issue is found with only the case of IME98 and ATOK12.

 
tbaba@japan 1999-11-16
===============================================================================

Corrected the following:

- In Reproduction step (4), there was a result as "SwingSet window will be released from "focus", but this was corrected by fixing 4283280.

- Corrected the module name from ATOK1W.EXE to ATOK12W.IME.

naoto.satoh@eng 1999-11-16

Comments
EVALUATION I could reproduce exactly the same access violation using the native Windows program. It seems that if the program creates its own input context and attaches it to its window, this problem occurs. The following is the environment that I could reproduce this using native program. The test case I used: MULTIUI sample which is buidled in Visual C++ 6.0. IMEs used: MSIME98 and ATOK12 (MSIME is the default IME) Windows version: Windows 98 Japanese (4.10.1998, MSDN Jul/1998 version) Reproduce procedure: I could not establish it. It occured intermittently. What I did were, start MUTIUI sample and click any window of 6, turn on/off IME, press alt+shift quickly for many times. If the problem does not occur, click on another window and do the same thing. During this testing, I noticed that sometimes the access violation happened in IMEJP98.IME, so the problem may not be related with ATOK. naoto.satoh@eng 1999-11-22 Here is the info from Justsystem what is happening inside their module (in Japanese) �������������������������������������������������������������������������������������������� ����IME���������������������������������������������������������������������������� ���������������������������������������������������������������������������������������������������� �������������������������������������������������������� ������������������������ ������������������������������������������������������������������������������������������������������������ ����IME����������������������������������������������������������������(MSIME->ATOK12, ����ATOK12->MSIME ������������) ����IMM��������ATOK12���������������� ����NotifyIME( HIMC , ������������) ���� NI_COMPOSITIONSTR , CPS_CANCEL ������������������������������������������������ ���������������������������������������������������������������������������������������������������� ����ATOK12�������������������������������������������������������������������������������������������� ������������������������������������������������������������������������ ����// ���������������������������������������������������������������������������������������� ����LPINPUTCONTEXT lpIMC; LPCANDIDATEINFO lpCandInfo = ( LPCANDIDATEINFO )ImmLockIMCC( lpIMC->hCandInfo ); ������������������������ lpCandInfo->dwOffset[0] ����������������0 ������������ ����������������������������������������ATOK���������������������������������������������������������������� ( lpCandInfo ������������������������������������������������������������������������) ������������������������������������IME����ATOK���������������������������������������������������������������� ����ImeSelect ���������������������������������������������������������������������������������������������������� �������������������������������������������������������������������� naoto.satoh@eng 1999-11-23
23-11-1999