Issue 105200 - cut & paste formula after cutting lines -> Calc hangs with 100% CPU
Summary: cut & paste formula after cutting lines -> Calc hangs with 100% CPU
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: DEV300m59
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords: regression
: 105364 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-09-19 10:30 UTC by jbf.faure
Modified: 2013-08-07 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jbf.faure 2009-09-19 10:30:34 UTC
Steps to reproduce :
- open a new speadsheet
- write 1 in A1 and propagate at least to a150 (no problem until a100)
- in a151 insert the formula = sum(a1:a150)
- delete the row 150
- select a150 which now contains the formula, ctrl+x
- select b1 cell or any in the first 150 lines, ctrl+v
==> Calc hangs with 100% CPU

Reproduced on XP and Ubuntu 8.04

Kind regards
JBF
Comment 1 niklas.nebel 2009-09-21 13:28:33 UTC
The problem is with deleting the row. The broadcast area is removed only from
the second slot, but the ref-counted object is modified, so for the first slot
it no longer matches the old hash value, which confuses the iterator.
Comment 2 niklas.nebel 2009-09-28 10:33:31 UTC
*** Issue 105364 has been marked as a duplicate of this issue. ***
Comment 3 niklas.nebel 2009-09-28 10:35:23 UTC
This also applies to columns, see issue 105364.
Comment 4 ooo 2009-10-07 18:34:37 UTC
In cws calc32stopper3:

revision 276767
sc/source/core/data/bcaslot.cxx
sc/source/core/inc/bcaslot.hxx

Also fixes issue 105364.
Comment 5 ooo 2009-10-13 17:05:38 UTC
Reassigning to QA for verification.
Comment 6 oc 2009-10-16 13:55:40 UTC
verified in internal build cws_calc32stopper3
Comment 7 wope 2010-05-01 22:02:42 UTC
ok in 3.2.0, issue closing