Bug 1749277 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

It seems that it's a crash in this TIP.
https://github.com/wishstudio/weasel/tree/master/WeaselTSF

According to these crash reports:
* https://crash-stats.mozilla.org/report/index/d220fcd7-f70e-460b-a884-708b20230601
* https://crash-stats.mozilla.org/report/index/4d5da2c3-3b71-47ad-b3e8-32f560230612

The crash occurs during a call of [`ITfKeystrokeMgr::TestKeyDown()`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7039) or [`ITfKeystrokeMgr::TestKeyUp()`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7065). While calling them, [we guarantee the lifetime of `ITfKeystrokeMgr` with a local `RefPtr`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7038,7064) which is the only ref-countable object which we need to guarantee the lifetime.

Therefore, I think that we can do nothing from the our side.
It seems that it's a crash in this TIP.
https://github.com/rime/weasel/tree/master/WeaselTSF

According to these crash reports:
* https://crash-stats.mozilla.org/report/index/d220fcd7-f70e-460b-a884-708b20230601
* https://crash-stats.mozilla.org/report/index/4d5da2c3-3b71-47ad-b3e8-32f560230612

The crash occurs during a call of [`ITfKeystrokeMgr::TestKeyDown()`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7039) or [`ITfKeystrokeMgr::TestKeyUp()`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7065). While calling them, [we guarantee the lifetime of `ITfKeystrokeMgr` with a local `RefPtr`](https://searchfox.org/mozilla-central/rev/f76d80e486028313488d05f4e7fe2509cec11777/widget/windows/TSFTextStore.cpp#7038,7064) which is the only ref-countable object which we need to guarantee the lifetime.

Therefore, I think that we can do nothing from the our side.

Back to Bug 1749277 Comment 4