Open Bug 1551192 Opened 5 years ago Updated 2 years ago

Assertion failure: aEvent.mMessage == eCompositionChange || aEvent.mMessage == eCompositionCommit with the test-case in bug 1551086

Categories

(Core :: DOM: Events, defect, P2)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

STR:

  • open attachment 9064337 [details] on a debug build with e10s enabled (it does not happen with e10s disabled).
  • Have Japanese (Mozc) IME on Linux enabled.
  • Press s.
Assertion failure: aEvent.mMessage == eCompositionChange || aEvent.mMessage == eCompositionCommit

aEvent.mMessage is eCompositionCommitAsIs.

Stack is:

(rr) bt
#0  0x00007febce688df7 in mozilla::ContentCacheInParent::OnCompositionEvent(mozilla::WidgetCompositionEvent const&) (this=0x7feba9708a30, aEvent=...)
    at /home/emilio/src/moz/gecko-artifact/widget/ContentCache.cpp:1122
#1  0x00007febce37adfc in mozilla::dom::BrowserParent::SendCompositionEvent(mozilla::WidgetCompositionEvent&) (this=0x7feba9708800, aEvent=...)
    at /home/emilio/src/moz/gecko-artifact/dom/ipc/BrowserParent.cpp:2606
#2  0x00007febcdc37a06 in mozilla::TextComposition::DispatchCompositionEvent(mozilla::WidgetCompositionEvent*, nsEventStatus*, mozilla::EventDispatchingCallback*, bool)
    (this=0x7feba065bb60, aCompositionEvent=0x7fff7a405700, aStatus=0x7fff7a4055d4, aCallBack=<optimized out>, aIsSynthesized=<optimized out>)
    at /home/emilio/src/moz/gecko-artifact/dom/events/TextComposition.cpp:261
#3  0x00007febcdc24ab9 in mozilla::IMEStateManager::DispatchCompositionEvent(nsINode*, nsPresContext*, mozilla::dom::BrowserParent*, mozilla::WidgetCompositionEvent*, nsEventStatus*, mozilla::EventDispatchingCallback*, bool)
    (aEventTargetNode=<optimized out>, aPresContext=<optimized out>, aBrowserParent=<optimized out>, aCompositionEvent=0x7fff7a405700, aStatus=<optimized out>, aCallBack=<optimized out>, aIsSynthesized=<optimized out>) at /home/emilio/src/moz/gecko-artifact/dom/events/IMEStateManager.cpp:1481
#4  0x00007febcdc3964a in mozilla::TextComposition::CompositionEventDispatcher::Run() (this=0x7feb9fa57560) at /home/emilio/src/moz/gecko-artifact/dom/events/TextComposition.cpp:842
#5  0x00007febccbedbb5 in nsContentUtils::AddScriptRunner(already_AddRefed<nsIRunnable>) (aRunnable=...) at /home/emilio/src/moz/gecko-artifact/dom/base/nsContentUtils.cpp:5217
#6  0x00007febccbedc2b in nsContentUtils::AddScriptRunner(nsIRunnable*) (aRunnable=<optimized out>) at /home/emilio/src/moz/gecko-artifact/dom/base/nsContentUtils.cpp:5223
#7  0x00007febcdc38a15 in mozilla::TextComposition::RequestToCommit(nsIWidget*, bool) (this=0x7feba065bb60, aWidget=<optimized out>, aDiscard=<optimized out>)
    at /home/emilio/src/moz/gecko-artifact/dom/events/TextComposition.cpp:601
#8  0x00007febce689b13 in mozilla::ContentCacheInParent::RequestIMEToCommitComposition(nsIWidget*, bool, nsTSubstring<char16_t>&)
    (this=0x7feba9708a30, aWidget=0x7febb38a1c00, aCancel=<optimized out>, aCommittedString=...) at /home/emilio/src/moz/gecko-artifact/widget/ContentCache.cpp:1380
#9  0x00007febce37b04d in mozilla::dom::BrowserParent::RecvRequestIMEToCommitComposition(bool const&, bool*, nsTString<char16_t>*)
    (this=<optimized out>, aCancel=@0x7fff7a405ba8: false, aIsCommitted=0x7fff7a405ba0, aCommittedString=0x7fff7a405bd8)
    at /home/emilio/src/moz/gecko-artifact/dom/ipc/BrowserParent.cpp:2737
#10 0x00007febcc4b4431 in mozilla::dom::PBrowserParent::OnMessageReceived(IPC::Message const&, IPC::Message*&) (this=0x7feba9708800, msg__=..., reply__=@0x7fff7a405f98: 0x0)
    at PBrowserParent.cpp:5869
#11 0x00007febcc1cb1af in mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&, IPC::Message*&) (this=<optimized out>, msg__=..., reply__=@0x7fff7a405f98: 0x0)
    at PContentParent.cpp:9902
#12 0x00007febcc0c935b in mozilla::ipc::MessageChannel::DispatchSyncMessage(IPC::Message const&, IPC::Message*&) (this=0x7febaa0704f8, aMsg=..., aReply=@0x7fff7a405f98: 0x0)
    at /home/emilio/src/moz/gecko-artifact/ipc/glue/MessageChannel.cpp:2121
Component: Editor → DOM: Events
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.