Well, unfortunately, there are some remaining crash reports: * bp-a119b3a1-f224-496b-80f8-af08e0241112 * bp-9419e19f-475b-4f48-bd22-51d350241106 * bp-c2b078b3-f2e5-4945-98c8-c37ca0240919 All are like this: ``` CEditSessionBase::CEditSessionBase(CTableTextService*, ITfContext*) CTableTextService::_EndComposition(ITfContext*) CTableTextService::OnCompositionTerminated(unsigned long, ITfComposition*) CComposition::_SendOnTerminated(unsigned long, unsigned long) CComposition::_Terminate(unsigned long) CInputContext::_TerminateCompositionWithLock(ITfCompositionView*, unsigned long) CInputContext::_PseudoSyncEditSessionQiCallback CInputContext::_QueueItem CInputContext::TerminateComposition CEditSessionCompositionComplete::CompComplete(unsigned long) CEditSessionObject::DoEditSession(unsigned long) CInputContext::_DoEditSession(unsigned long, ITfEditSession*, unsigned long) CInputContext::_EditSessionQiCallback(CInputContext*, _TS_QUEUE_ITEM*, QiCallbackCode) CInputContext::OnLockGranted(unsigned long) CACPWrap::OnLockGranted(unsigned long) CTextStoreImpl::RequestLock(unsigned long, long*) CInputContext::_QueueItem(_TS_QUEUE_ITEM*, int, long*) CInputContext::RequestEditSession(unsigned long, ITfEditSession*, unsigned long, long*) CEditSessionObject::RequestEditSession(unsigned long, long*) EscbCompComplete(IMCLock&, unsigned long, ITfContext*, tag_LIBTHREAD*, int) CicBridge::Notify(TLS*, ITfThreadMgr_P*, HIMC__*, unsigned long, unsigned long, unsigned long) NotifyIME ImmNotifyIME ImeSetActiveContext ImmSetActiveContext ImmAssociateContextEx mozilla::widget::IMEContext::Disassociate() mozilla::widget::IMEHandler::AssociateIMEContext(nsWindow*, bool) mozilla::widget::IMEHandler::SetInputContext(nsWindow*, mozilla::widget::InputContext&, mozilla::widget::InputContextAction const&) ``` So, when we disassociate the IME context from the window, `CTableTextService` may have a hidden composition and the clean up code hits the bug. I need to write a follow up patch for `IMEHandler::AssociateIMEContext`.
Bug 1892600 Comment 13 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Well, unfortunately, there are some remaining crash reports: * bp-a119b3a1-f224-496b-80f8-af08e0241112 * bp-9419e19f-475b-4f48-bd22-51d350241106 * bp-c2b078b3-f2e5-4945-98c8-c37ca0240919 All are like this: ``` CEditSessionBase::CEditSessionBase(CTableTextService*, ITfContext*) CTableTextService::_EndComposition(ITfContext*) CTableTextService::OnCompositionTerminated(unsigned long, ITfComposition*) CComposition::_SendOnTerminated(unsigned long, unsigned long) CComposition::_Terminate(unsigned long) CInputContext::_TerminateCompositionWithLock(ITfCompositionView*, unsigned long) CInputContext::_PseudoSyncEditSessionQiCallback CInputContext::_QueueItem CInputContext::TerminateComposition CEditSessionCompositionComplete::CompComplete(unsigned long) CEditSessionObject::DoEditSession(unsigned long) CInputContext::_DoEditSession(unsigned long, ITfEditSession*, unsigned long) CInputContext::_EditSessionQiCallback(CInputContext*, _TS_QUEUE_ITEM*, QiCallbackCode) CInputContext::OnLockGranted(unsigned long) CACPWrap::OnLockGranted(unsigned long) CTextStoreImpl::RequestLock(unsigned long, long*) CInputContext::_QueueItem(_TS_QUEUE_ITEM*, int, long*) CInputContext::RequestEditSession(unsigned long, ITfEditSession*, unsigned long, long*) CEditSessionObject::RequestEditSession(unsigned long, long*) EscbCompComplete(IMCLock&, unsigned long, ITfContext*, tag_LIBTHREAD*, int) CicBridge::Notify(TLS*, ITfThreadMgr_P*, HIMC__*, unsigned long, unsigned long, unsigned long) NotifyIME ImmNotifyIME ImeSetActiveContext ImmSetActiveContext ImmAssociateContextEx mozilla::widget::IMEContext::Disassociate() mozilla::widget::IMEHandler::AssociateIMEContext(nsWindow*, bool) mozilla::widget::IMEHandler::SetInputContext(nsWindow*, mozilla::widget::InputContext&, mozilla::widget::InputContextAction const&) ``` So, when we disassociate the IME context from the window, `CTableTextService` may have a hidden composition and the clean up code hits the bug. I need to write a follow up patch for `IMEHandler::AssociateIMEContext`.