Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(developer): unexpected KM_CORE_IT_INVALIDATE_CONTEXT causes EAssertionFailed in debugger #11486

Closed
sentry-io bot opened this issue May 21, 2024 · 3 comments · Fixed by #11488
Closed
Assignees
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented May 21, 2024

Sentry Issue: KEYMAN-DEVELOPER-1Y4

EAssertionFailed: Exception EAssertionFailed in module tike.exe at 00942F8B.
Assertion failure (C:\BuildAgent\work\82cac59564031c74\keyman\developer\src\tike\debug\Keyman.System.Debug.DebugEvent.pas, line 372).

  File "Keyman.System.Debug.DebugEvent.pas", line 373, in Keyman.System.Debug.DebugEvent.TDebugEventList.AddStateItems
    end;
  File "System.pas", line 24855, in System.@Assert
  File "Keyman.System.Debug.DebugEvent.pas", line 372, in Keyman.System.Debug.DebugEvent.TDebugEventList.AddStateItems
    Assert(action._type = KM_CORE_IT_END);
  File "UfrmDebug.pas", line 473, in UfrmDebug.TfrmDebug.ProcessKeyEvent
    FEvents.AddStateItems(FDebugCore.State, vkey, modifier, debugkeyboard);
  File "UfrmDebug.pas", line 342, in UfrmDebug.TfrmDebug.HandleMemoKeydown
    Exit(ProcessKeyEvent(Message));
...
(11 additional frame(s) were not displayed)
@mcdurdin mcdurdin added this to the A18S2 milestone May 21, 2024
@mcdurdin
Copy link
Member

Emerging from #11172

mcdurdin added a commit that referenced this issue May 21, 2024
The output from Keyman Core changed in #11172 to emit a
`KM_CORE_IT_INVALIDATE_CONTEXT` action when a frame key is pressed, but
the debugger was not catering for this scenario, causing an assertion
failure.

Fixes: #11486
Fixes: KEYMAN-DEVELOPER-1Y4
mcdurdin added a commit that referenced this issue May 21, 2024
The output from Keyman Core changed in #11172 to emit a
`KM_CORE_IT_INVALIDATE_CONTEXT` action when a frame key is pressed, but
the debugger was not catering for this scenario, causing an assertion
failure.

Fixes: #11486
Fixes: KEYMAN-DEVELOPER-1Y4
@srl295
Copy link
Member

srl295 commented May 21, 2024

🙀

@mcdurdin
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants