Open Bug 1337426 Opened 4 years ago Updated 8 months ago

[TSF] Crash in CCompartmentMgr::GetCompartment


(Core :: DOM: UI Events & Focus Handling, defect, P3)

50 Branch



Tracking Status
firefox-esr45 --- affected
firefox51 --- affected
firefox52 --- wontfix
firefox-esr52 --- affected
firefox53 --- affected
firefox54 --- ?


(Reporter: philipp, Unassigned, NeedInfo)


(Keywords: crash, inputmethod, Whiteboard: [ele:1b])

Crash Data

This bug was filed from the Socorro interface and is 
report bp-0ba1c928-372b-495c-b742-662622170207.
Crashing Thread (0)
Frame 	Module 	Signature 	Source
0 	msctf.dll 	CCompartmentMgr::GetCompartment(_GUID const&, ITfCompartment**) 	
1 	msctf.dll 	CThreadInputMgr::_SetFocus(CDocumentInputManager*, int) 	
2 	msctf.dll 	CThreadInputMgr::AssociateFocus(HWND__*, ITfDocumentMgr*, ITfDocumentMgr**) 	
3 	xul.dll 	mozilla::widget::TSFTextStore::CreateAndSetFocus(nsWindowBase*, mozilla::widget::InputContext const&) 	widget/windows/TSFTextStore.cpp:4805
4 	xul.dll 	mozilla::widget::TSFTextStore::OnFocusChange(bool, nsWindowBase*, mozilla::widget::InputContext const&) 	widget/windows/TSFTextStore.cpp:4740
5 	xul.dll 	mozilla::widget::IMEHandler::NotifyIME(nsWindow*, mozilla::widget::IMENotification const&) 	widget/windows/WinIMEHandler.cpp:258

crashes with this signature started taking off around the beginning of 2017 - they affect 32bit versions of win7 and upwards (but mostly windows 10).

correlations for this signature primarily hint at the IME module "wnTSF.ime" and other parameters that might be typical for chinese users...

Correlations for Firefox Release
(96.35% in signature vs 00.10% overall) Module "wnTSF.ime" = true
(100.0% in signature vs 08.41% overall) Module "GdiPlus.dll" = true
(91.78% in signature vs 01.65% overall) useragent_locale = zh-CN
(82.19% in signature vs 01.36% overall) Addon "China Edition Addons Manager" = true
(100.0% in signature vs 25.38% overall) platform_pretty_version = Windows 10
(80.82% in signature vs 01.34% overall) Addon "China Edition Firefox Home Page" = true
(79.00% in signature vs 01.30% overall) Addon "China Edition Tab Tweak" = true
(100.0% in signature vs 18.25% overall) Module "WindowsCodecs.dll" = true [100.0% vs 27.88% if platform_version = 10.0.14393]
(77.63% in signature vs 01.25% overall) Addon "火狐修复工具" = true
(77.63% in signature vs 01.42% overall) Addon "Easy Screenshot" = true
(75.34% in signature vs 01.19% overall) Addon "China Online Banking Assistant" = true
(73.52% in signature vs 01.21% overall) Addon "微信网页版助手" = true
(100.0% in signature vs 36.09% overall) reason = EXCEPTION_ACCESS_VIOLATION_READ
(69.86% in signature vs 01.13% overall) Addon "Easy Screenshot" Version = 2.51
Flags: needinfo?(masayuki)
Looks like a bug of 万能五笔输入法.

According to the update history, they released 万能五笔9.7.8.12291 at 2016-12-30.
Flags: needinfo?(masayuki)
Keywords: inputmethod
Summary: Crash in CCompartmentMgr::GetCompartment → [TSF] Crash in CCompartmentMgr::GetCompartment
they appear to have a new update out - their release notes doesn't reference firefox in particular but they talk about "Fixing Win10 known software compatibility issues". so let's see :-)
Too late for firefox 52, mass-wontfix.
Hello, I'm asking your help with an experiment with making decisions on bugs. You've been needinfo'ed on this bug. I'd like you to take one action to help this bug make progress toward a decision. The things you can do include:

* If you know or have a good guess of which product and component this bug belongs to, change the product and component of the bug
* If you know of the right person to ask about this bug, redirect the needinfo to them
* If you cannot reproduce the bug, close it

All we need you to do is one thing that will help us make a decision on the bug or resolve it.

Thank you for your help with this. If you have questions, please contact
Flags: needinfo?(nchen)
Whiteboard: [ele:1b]
Flags: needinfo?(nchen) → needinfo?(masayuki)
Component: General → Widget: Win32
This still occurs on 54.

Yoshida-san, could you take a look this too? Thanks!
Priority: -- → P3

Moving all open keyboard/IME handling bugs to DOM: UI Events & Focus Handling component.

Component: Widget: Win32 → DOM: UI Events & Focus Handling
You need to log in before you can comment on or make changes to this bug.