https://bugs.documentfoundation.org/show_bug.cgi?id=156560
--- Comment #1 from Hossein <hoss...@libreoffice.org> --- Created attachment 188690 --> https://bugs.documentfoundation.org/attachment.cgi?id=188690&action=edit Backtrace Backtrace, created using Visual Studio 2022: swlo.dll!SwPageFrame::GetSubsidiaryLinesPolygons(const SwViewShell & rViewShell) Line 7082 at sw\source\core\layout\paintfrm.cxx(7082) swlo.dll!SwPageFrame::AddSubsidiaryLinesBounds(const SwViewShell & rViewShell, std::vector<tools::Rectangle,std::allocator<tools::Rectangle>> & rRects) Line 7132 at sw\source\core\layout\paintfrm.cxx(7132) swlo.dll!SwViewShell::InvalidatePageAndHFSubsidiaryLines() Line 140 at sw\source\core\view\viewsh.cxx(140) swlo.dll!SwViewShell::ToggleHeaderFooterEdit() Line 130 at sw\source\core\view\viewsh.cxx(130) swlo.dll!SwFEShell::ToggleHeaderFooterEdit() Line 1329 at sw\source\core\frmedt\fews.cxx(1329) swlo.dll!SwEditWin::MouseButtonDown(const MouseEvent & _rMEvt) Line 3017 at sw\source\uibase\docvw\edtwin.cxx(3017) vcllo.dll!ImplHandleMouseEvent(const VclPtr<vcl::Window> & xWindow, NotifyEventType nSVEvent, bool bMouseLeave, __int64 nX, __int64 nY, unsigned __int64 nMsgTime, unsigned short nCode, MouseEventModifiers nMode) Line 709 at vcl\source\window\winproc.cxx(709) vcllo.dll!ImplHandleSalMouseButtonDown(vcl::Window * pWindow, const SalMouseEvent * pEvent) Line 2340 at vcl\source\window\winproc.cxx(2340) vcllo.dll!ImplWindowFrameProc(vcl::Window * _pWindow, SalEvent nEvent, const void * pEvent) Line 2691 at vcl\source\window\winproc.cxx(2691) vcllo.dll!SalFrame::CallCallback(SalEvent nEvent, const void * pEvent) Line 310 at vcl\inc\salframe.hxx(310) vclplug_winlo.dll!ImplHandleMouseMsg(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 3292 at vcl\win\window\salframe.cxx(3292) vclplug_winlo.dll!SalFrameWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam, bool & rDef) Line 5688 at vcl\win\window\salframe.cxx(5688) vclplug_winlo.dll!SalFrameWndProcW(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 6043 at vcl\win\window\salframe.cxx(6043) -- You are receiving this mail because: You are the assignee for the bug.