Page MenuHome

Using IME with number buttons leads to crash
Closed, ResolvedPublic


System Information
windows7 64bit
GeForce GTX 560

Blender Version
Broken:2.73 ed5df50, see splash screen

Short description of error
Got Abnormal End.
Exact steps for others to reproduce the error

Select a numerical value input field to switch to Japanese input.
Then, I exit from the input state.
I press something key in the 3D view.
Click on the numeric input part.
Then input column is funny.
When you press the margin to got Abnormal End

Clumsy it is not sorry in English.

Event Timeline

Ryota Shii (UNANA) updated the task description. (Show Details)
Ryota Shii (UNANA) raised the priority of this task from to Needs Triage by Developer.
Ryota Shii (UNANA) claimed this task.
Ryota Shii (UNANA) added a project: BF Blender.
Ryota Shii (UNANA) set Type to Bug.

Sounds like an issue with the new IME code for windows? Severin, do you have a way to check that (i.e. win machine with some Eastern locale installed)? Tamito, you may be able to help here too?

@Ryota Shii (UNANA) afaik, there are several different IME engines on windows, and only a few are compatible with Blender currently (see blender 2.73 release notes), can you please check and report which one you are using?

Bastien Montagne (mont29) triaged this task as Needs Information from User priority.Mar 7 2015, 2:53 PM
Bastien Montagne (mont29) removed Ryota Shii (UNANA) as the assignee of this task.
Tamito Kajiyama (kjym3) raised the priority of this task from Needs Information from User to Confirmed, Medium.EditedMar 7 2015, 4:33 PM

The reported problem was confirmed under 64-bit Windows 7 with the Microsoft Japanese IME and Blender 2.73.

Steps to reproduce the fatal error are:

  1. Click a numerical slider in the middle (e.g., Resolution X in the Render property window) so that it accepts typed numbers and letters.
  2. Enable the IME.
  3. Now move the mouse cursor and type some key (e.g., A).
  4. Go back to the numerical slider and click it in the middle again so that it accepts keyboard input. At this point of time, the slider will show the numbers followed by the candidate character corresponding to the letter typed in the 3D view (see the screen capture below).
  5. Move the mouse cursor back to the 3D view and click somewhere in the background, and Blender terminates abnormally.

@xueke pei (yuzukyo), @Leon Cheung (leon_cheung), @Dun Liang (randon) or any other Chinese IME users, could you guys also confirm the reported problem with Chinese IMEs? Please, feel free to add more testers.

This comment was removed by Tamito Kajiyama (kjym3).

Yes, typing asian characters accidentally in numerical slider will crash blender, tested in Windows 7 64bit, with Chinese IME.

Julian Eisel (Severin) renamed this task from Japanese input Fatal bug to Using IME with number buttons leads to crash.

IME should be disabled in those cases anyway, I think?

Yeah, maybe that's already the best solution. Would also like to see why it crashes though.

I can reproduce this bug, it is a severe bug, I'm going to find out the problem and release a patch ASAP.

Confirm this issue, windows 8 64bit ,and many chinese IMEs all fails, when not do confirm charactor input into the form and mouse click other place,Blender will crash,this problem was too unusual to find out.

It appears the UI release IME code(wm_window.c:1543, function wm_window_IME_end) is running ahead of the wm event process code (wm_event_system.c:3415), a simple if can fixes the bug.

Julian Eisel (Severin) closed this task as Resolved.

Closed by commit rB7d5d971dea5b.

Thanks for the patch @Dun Liang (randon)!

Note: Also committed rB573783259dcd8 which disables IME for number buttons/number sliders

Thank you guys! Really nice to see the collaborative testing and fixes!