https://bugs.documentfoundation.org/show_bug.cgi?id=153554

--- Comment #23 from Noel Grandin <[email protected]> ---
(In reply to Hossein from comment #22)
> I have already attached a stack trace using VS 2026 in attachment 204964


So that stack trace is working its way through code related to IME handling,
which is why I do not see it, and you do.

Unfortunately, the entirely of the code in that stack is quite old, and the
locking down here is awful.

You could try adding a SolarMutexGuard at vcl/win/window/salframe.cxx:6074
i.e something like

  case SAL_MSG_SETINPUTCONTEXT:
    SolarMutexGuard aGuard;
    ImplSalFrameSetInputContext( hWnd, reinterpret_cast<const
SalInputContext*>(lParam) );
    rDef = false;
    break;

and run some tests with that to see if it (a) fixes the bug and (b) does not
cause any other deadlocks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to