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

            Bug ID: 148087
           Summary: Assertion failed when editing a cell with an
                    OnSelectionChange macro breakpoint triggered
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisectNotNeeded, regression
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com
                CC: noelgran...@gmail.com

In a debug build:

1. Create any macro, e.g., empty one like this:

  sub OnSelectionChange
  end sub

and put a breakpoint in it (e.g., to the "end sub" line).

2. In a new Calc document, assign this macro to the sheet's "Selection changed"
event.

3. Click on any different cell and start typing. Note that nothing gets typed
in the cell.

4. Return to Basic IDE, and see that the macro has the breakpoint triggered;
resume execution (may be a couple of times)

=> crash because of failed assertion at
https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/impedit2.cxx?r=673a210b&mo=118052&fi=3119#3121

This line became an assert in commit
https://git.libreoffice.org/core/+/e1972743d692c8d8611912c31aae2cb08ae7636d

Noel: could you take a look at this, if something wrong happens here in these
circumstances?

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

Reply via email to