https://bugs.documentfoundation.org/show_bug.cgi?id=148087
--- Comment #3 from Mike Kaganski ---
Just in case: this is the call stack at the assert.
> ucrtbased.dll!issue_debug_notification(const wchar_t * const message) Line 28
> at minkernel\crts\ucrt\src\appcrt\internal\report_runtime_error.cpp(28)
> ucrtbased.dll!__acrt_report_runtime_error(const wchar_t * message) Line 154
> at minkernel\crts\ucrt\src\appcrt\internal\report_runtime_error.cpp(154)
> ucrtbased.dll!abort() Line 61
> at minkernel\crts\ucrt\src\appcrt\startup\abort.cpp(61)
> ucrtbased.dll!common_assert_to_stderr(const wchar_t * const
> expression, const wchar_t * const file_name, const unsigned int line_number)
> Line 187
> at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(187)
> ucrtbased.dll!common_assert(const wchar_t * const expression, const
> wchar_t * const file_name, const unsigned int line_number, void * const
> return_address) Line 420
> at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(420)
> ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t * file_name,
> unsigned int line_number) Line 444
> at minkernel\crts\ucrt\src\appcrt\startup\assert.cpp(444)
> editenglo.dll!ImpEditEngine::PaMtoEditCursor(EditPaM aPaM, GetCursorFlags
> nFlags) Line 3121
> at C:\lo\src\core\editeng\source\editeng\impedit2.cxx(3121)
> editenglo.dll!ImpEditEngine::DoOnlineSpelling(ContentNode * pThisNodeOnly,
> bool bSpellAtCursorPos, bool bInterruptible) Line 2329
> at C:\lo\src\core\editeng\source\editeng\impedit4.cxx(2329)
> editenglo.dll!EditEngine::CompleteOnlineSpelling() Line 2395
> at C:\lo\src\core\editeng\source\editeng\editeng.cxx(2395)
> sclo.dll!ScInputHandler::EnterHandler(ScEnterMode nBlockMode) Line 3098
> at C:\lo\src\core\sc\source\ui\app\inputhdl.cxx(3098)
> sclo.dll!ScModule::InputEnterHandler(ScEnterMode nBlockMode) Line 1416
> at C:\lo\src\core\sc\source\ui\app\scmod.cxx(1416)
> sclo.dll!ScTabView::UpdateInputLine() Line 3034
> at C:\lo\src\core\sc\source\ui\view\tabview3.cxx(3034)
> sclo.dll!ScTabView::SetCursor(short nPosX, long nPosY, bool bNew) Line 386
> at C:\lo\src\core\sc\source\ui\view\tabview3.cxx(386)
> sclo.dll!ScViewFunctionSet::SetCursorAtCell(short nPosX, long nPosY, bool
> bScroll) Line 726
> at C:\lo\src\core\sc\source\ui\view\select.cxx(726)
> sclo.dll!ScViewFunctionSet::SetCursorAtPoint(const Point & rPointPixel, bool
> __formal) Line 421
> at C:\lo\src\core\sc\source\ui\view\select.cxx(421)
> vcllo.dll!SelectionEngine::SelMouseButtonDown(const MouseEvent & rMEvt) Line
> 174
> at C:\lo\src\core\vcl\source\window\seleng.cxx(174)
> sclo.dll!ScTabView::SelMouseButtonDown(const MouseEvent & rMEvt) Line 1178
> at C:\lo\src\core\sc\source\ui\view\tabview3.cxx(1178)
> sclo.dll!ScGridWindow::HandleMouseButtonDown(const MouseEvent & rMEvt,
> ScGridWindow::MouseEventState & rState) Line 2144
> at C:\lo\src\core\sc\source\ui\view\gridwin.cxx(2144)
> sclo.dll!ScGridWindow::MouseButtonDown(const MouseEvent & rMEvt) Line 1711
> at C:\lo\src\core\sc\source\ui\view\gridwin.cxx(1711)
> vcllo.dll!ImplHandleMouseEvent(const VclPtr & xWindow,
> MouseNotifyEvent nSVEvent, bool bMouseLeave, __int64 nX, __int64 nY, unsigned
> __int64 nMsgTime, unsigned short nCode, MouseEventModifiers nMode) Line 710
> at C:\lo\src\core\vcl\source\window\winproc.cxx(710)
> vcllo.dll!ImplHandleSalMouseButtonDown(vcl::Window * pWindow, const
> SalMouseEvent * pEvent) Line 2285
> at C:\lo\src\core\vcl\source\window\winproc.cxx(2285)
> vcllo.dll!ImplWindowFrameProc(vcl::Window * _pWindow, SalEvent nEvent, const
> void * pEvent) Line 2636
> at C:\lo\src\core\vcl\source\window\winproc.cxx(2636)
> vcllo.dll!SalFrame::CallCallback(SalEvent nEvent, const void * pEvent) Line
> 308
> at C:\lo\src\core\vcl\inc\salframe.hxx(308)
> vclplug_winlo.dll!ImplHandleMouseMsg(HWND__ * hWnd, unsigned int nMsg,
> unsigned __int64 wParam, __int64 lParam) Line 3235
> at C:\lo\src\core\vcl\win\window\salframe.cxx(3235)
> vclplug_winlo.dll!SalFrameWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned
> __int64 wParam, __int64 lParam, bool & rDef) Line 5612
> at C:\lo\src\core\vcl\win\window\salframe.cxx(5612)
> vclplug_winlo.dll!SalFrameWndProcW(HWND__ * hWnd, unsigned int nMsg, unsigned
> __int64 wParam, __int64 lParam) Line 5965
> at C:\lo\src\core\vcl\win\window\salframe.cxx(5965)
> user32.dll!UserCallWinProcCheckWow()
> user32.dll!DispatchMessageWorker()
> vclplug_winlo.dll!ImplSalDispatchMessage(const tagMSG * pMsg) Line 475
> at C:\lo\src\core\vcl\win\app\salinst.cxx(475)
> vclplug_winlo.dll!ImplSalYield(bool bWait, bool bHandleAllCurrentEvents) Line
> 506
> at C:\lo\src\core\vcl\win\app\salinst.cxx(506)
> vclplug_winlo.dll!WinSalInstance::DoYield(bool bWait, bool
> bHandleAllCurrentEvents) Line 581
> at C:\lo\src\core\vcl\win\app\salinst.cxx(581)
> vcllo.dll!ImplYie