Created attachment 1176382 [details] test case Load attached (hopefully mostly anonymised) spreadsheet). Make sure the AddListener macro has run. This installs a watch on cells S3 and X3 of Sheet3, and automatically ensures that cells T3 and Y3 respectively are set to equal them, by solving and inserting an appropriate "basic interest rate" in cells O9 and Q9 (resp.). Change one of the payments into the child's account, on Sheet1. For example, change the initial payment to Child 1 on 2014-04-01 to £1000, and see the 'APR equivalent' at the top change to 5.369% All works nicely. Now hit Ctrl-Z and watch LibreOffice crash... I also see these on stderr before the crash: ** (soffice:36159): WARNING **: Unknown event notification 36 ** (soffice:36159): WARNING **: Unknown event notification 36 ** (soffice:36159): WARNING **: Unknown event notification 36 ** (soffice:36159): WARNING **: Unknown event notification 38 ** (soffice:36159): WARNING **: Unknown event notification 36 ** (soffice:36159): WARNING **: Unknown event notification 34 ** (soffice:36159): WARNING **: Invalidate all children called
We have an attempt to store undo information during the basic callback which is called at the end of the toplevel undo from the user. undobase.cxx:ScSimpleUndo::~ScSimpleUndo and do the above. The second call to the dtor is from the basic setValue, but this takes place in a callstack that traces all the way up to the ScSimpleUndo::EndUndo of the same object, so its deleted why still "undoing"
This works for me https://gerrit.libreoffice.org/#/c/26980/
pass this over to erack to see if the above fix is acceptable
Pushed to upstream master and just waiting for 5-2 Jenkins.
libreoffice-5.1.4.2-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cb25df449f