Created attachment 97241 [details]
Test document to demonstrate the error (extract of a bigger document)
The error occurs in LibreOfficde Version: 126.96.36.199 / Build-ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff0 - not in 4.2.3 rc!
See attached document!
When I try to insert a new line in sheet "Altix I bis III" before the line #20 or when I try to delete the line #19 there are no problems.
But when I try to insert a new line before the line #19 (or #18 or ...) or when I try to delete the line #18 (or #17 or ...) calc crashes with message "invalid vector<T> subscript". The behavior is the same in sheet "Altix IV und V" (delete lines #12 OK / 11 ... crash, insert line before line 13 OK/ 12 ... crash).
In both sheets are formulas with funktions "WENN" and "SUMMENPRODUKT" in columns Z, AA, AB, ...
This error does/did not occur in earlier versions of LO 4.2 and in LO 3.6.
The attached file is an extract of a bigger document, that I must maintain with LO 3.6 until the error is fixed - or I must downgrade to LO 4.2.2.
I can confirm under Win 7 64bit, experienced with a new tiny spreadsheet created from scratch with 4.2.3.
I am setting to 'new' and raising priority to 'blocker' as it renders Calc unusable
My example works OK under 188.8.131.52 on Win 8.1/64
I suspect I'm running into the same bug, even if the case is a bit different (cut/paste). See the attached file 'libreoffice_4_2_3_3_-_invalid_vector_t_subscript_bug.ods'.
1. Go to Z1125
2. extend the selection to the right, and down.
4. Go up in the sheet to the other data
5. attempt to paste the data you just copied/cut below that data
If you chose to Copy, all should be fine. If you chose to Cut, the "invalid vector<T> subscript" should rear its head.
Note that if you cut/paste the first column data (a formula) separately, the crash does not occur. It also doesn't appear to occur if you only do a few rows at a time. I haven't been able to narrow it down further.
Created attachment 97255 [details]
cut/paste 'invalid vector<T> bug' / libreoffice_4_2_3_3_-_invalid_vector_t_subscript_bug
On pc Debian x86-64 with 4.2 sources updated some days ago, I don't reproduce the crash.
Just for the test, could you give a try to daily build from 4.2 branch, http://dev-builds.libreoffice.org/daily/libreoffice-4-2/Win-x86@42/current/
With LO Version: 184.108.40.206.0+ Build ID: c070fe636d75b74874c5e93f5cd5d19bd7af7e6d
TinderBox: Win-x86@42, Branch:libreoffice-4-2, Time: 2014-04-12_03:20:43
I cannot reproduce the error - neither with the spreadsheet uploaded for documentation nor with my bigger orginal document.
Thank you Stefan for your feedback.
Let's put this as WFM (from 4.2.4/4.3.0)
Mike/Panoworks: give a try too with 4.2.4. If you can still reproduce this, don't hesitate to open a new tracker (since the bug would be different even if same symptoms).
Yes, tested with 220.127.116.11.0 and I confirm my example no longer has problems. Happy with WFM.