[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

Noel Grandin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

--- Comment #5 from Commit Notification 
 ---
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7ac26ea039ea0c355b80232e30c29a07e2bb027d

tdf#148087 assert editing a cell with OnSelectionChange macro breakpoint

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.4.0

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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

Aron Budea  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||aron.bu...@gmail.com
 Whiteboard| QA:needsComment|
 Blocks||105537
 Status|UNCONFIRMED |NEW

--- Comment #4 from Aron Budea  ---
Confirmed using LO 7.4.0.0.alpha0+ (1bf5884a7bd5e506c6edd9769f98e3102a4c4eb9) /
Ubuntu.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-04-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-03-29 Thread bugzilla-daemon
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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-03-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

--- Comment #2 from Mike Kaganski  ---
Created attachment 179182
  --> https://bugs.documentfoundation.org/attachment.cgi?id=179182&action=edit
Calls to ImpEditEngine::SetUpdateLayout

With https://gerrit.libreoffice.org/c/core/+/132209/4 :

I traced calls to ImpEditEngine::SetUpdateLayout, and here is the result up to
the assert.

The last line in the attachment is 'this' as seen in
ImpEditEngine::PaMtoEditCursor; and the previous occurrence of the same 'this'
value called SetUpdateLayout with 'false' argument in response to the Basic's
breakpoint.

Noel: I hope this could help you to see what is missing (where to put the
missing call to SetUpdateLayout(true))?

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

[Libreoffice-bugs] [Bug 148087] Assertion failed when editing a cell with an OnSelectionChange macro breakpoint triggered

2022-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=148087

--- Comment #1 from Mike Kaganski  ---
Created attachment 179170
  --> https://bugs.documentfoundation.org/attachment.cgi?id=179170&action=edit
Screencast

With https://gerrit.libreoffice.org/c/core/+/132209/1, it still fails - exactly
at the same place.

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