1. Open attached file. 2. Copy B12 (should be already selected) to clipboard via Ctrl-C. 3. Move the cursor to B14. 4. Paste via Ctrl-V. 5. Undo via Ctrl-Z. Calc crashes on std::vector's range check error. I'll attach test document in a minute.
Created attachment 95733 [details] test document
Actually it's much easier to reproduce this. 1. Put any formula into A1 e.g. =ROW(). 2. Copy A1 and paste it to A3. 3. Undo via Ctrl-Z. 4. Crash on out-of-range error.
You can replace undo in step 3 with deleting A3, and still crashes.
Actually, this is for the master branch only. 4.2 doesn't have this problem.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ce524556df4bf06cde1229475b9de9822a89f62b fdo#76132: Write test for this first. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=36bcab7859b7dfa1f1377bb5865c881742f178dd fdo#76132: Don't create a formula group of length 1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed.