Description: A spreadsheet with Basic macros sometimes crashes Calc while the macro code deletes rows or whole Sheets. Unfortunately the crash is not reproducible on demand, which makes me suspect some kind of memory corruption or referential integrity issue (e.g. following old pointers to deleted objects on the heap). Although the crash is not reproducible, the following warnings always occur on the terminal during these operations: ** (soffice:31457): WARNING ** Exception in getAccessibleIndexInParent() ** (soffice:31457): WARNING ** Exception in getAccessibleName() (repeated many times). Steps to Reproduce: 1. Open the attached spreadsheet (exceptions.ods)and ENABLE MACROS. 2. Click the black "DISC+Reload" button. Actual Results: Many warnings on the terminal like ...Exception in getAccessibleIndexInParent() ...Exception in getAccessibleName() Expected Results: Silence. Reproducible: Always User Profile Reset: No Additional Info: The warnings happen in 5.x and later including master, but not in 3.6.7.2
Created attachment 148249 [details] Demo spreadsheet ("exceptions.ods"). See Steps to Reproduce.
Ach! running this test depends too much on my environment. I'm closing this one. Will file another with a more self-contained test. Sorry for the noise.