(1) Download Calc-Bad-Math-Example.ods attached to bug 75987, and open
it from the command line.
(2) Click on cell E14 and type <ctrl>+C. The program places a
flashing border around cell F14 and the formula bar shows
(3) Type <right-arrow> <ctrl>+V. Cell F14 shows 80.50 and the formula
bar shows "=(E14-D14)*24.
(4) Type <ctrl>+Z. SIGABRT.
My LibreOffice is master commit 806f4d8, fetched 2014-03-04, configured:
built and running on debian-wheezy 64-bit.
Created attachment 95568 [details]
line 4 : a longer series of steps. Ignore
line 201 : execution of the given STR.
line 211 : error message
line 298 : backtrace from the core file
line 419 : breakpoints on catch and throw starting from the undo
line 569 : backtrace from the last throw
line 626 : error message
*** Bug 76148 has been marked as a duplicate of this bug. ***
*** Bug 76149 has been marked as a duplicate of this bug. ***
I should have mentioned that the terminal output says:
terminate called after throwing an instance of 'std::out_of_range'
Fatal exception: Signal 6
Cannot reproduce on Win 7 with
Build ID: 9278df2c21fed09b6b10465ca33b227ad7c49b41
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-03-19_08:44:54
Build ID: 3d4fc3d9dbf8f4c0aeb61498a81f91c5b7922f13
Build ID: 63950ec72806489b41c2109f5c3840dcf22f4c6c
Could you check with a fresh profile?
However I can reproduce bug 76148 which is similar for me as bug 76470.
That's why I set this bug as NEEDINFO and change duplicate bug # of bug 76148
Feel free to change status if you think I made a mistake.
The problem persists with a fresh user profile.
The different behaviour of LO on Win7, this bug vs. 76148, suggests
that this bug is not a dup of that, does it not? I am setting status
back to NEW. I notice that Kohei has just commited a patch for
bug 76470. It will be interesting to see if it changes the behaviour
reported in this bug.
If, instead of <ctrl>+Z in step 4, I type <Delete>, LibreOffice
terminates with the same exception and the same backtrace. So, in
summary I am changing "undo" to "delete". By contrast, if I replace
copy-and-paste by typing in the formula, my LibreOffice has no problem
with the <Delete>.
The crash has gone away between commit 924635e (fetched 2014-03-22
01:18 UTC) and commit 8931ab3 (fetched 2014-03-23 02:37 UTC). That
range includes commit c78d1bb "fdo#76470: Avoid joining new formula
cells individually.". I am resolving this bug as a duplicate of bug
*** This bug has been marked as a duplicate of bug 76470 ***
The coincidental appearance of _M_range_check is uninteresting. So I am removing see-also 76470 and 76148.