Issue 59944

Summary: insert cell shift cell right crash program
Product: Calc Reporter: ahung <s354428>
Component: editingAssignee: spreadsheet <spreadsheet>
Status: CLOSED FIXED QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P2 CC: issues, yoshimit
Version: OOo 2.0.1Keywords: crash, oooqa
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
poc none

Description ahung 2006-01-02 07:49:43 UTC
Accidentally find this bug that crashes spreadsheet.

Select all cells inside border in the specially crafted document
Insert -> Cells
Shift Cell Right -> OK to crash the program
Comment 1 ahung 2006-01-02 07:50:49 UTC
Created attachment 32828 [details]
poc
Comment 2 hwoarang 2006-01-02 13:35:30 UTC
Can reproduce with OOo 2.0.1 Win98SE

P2 -> Crash.

Hwoarang
Comment 3 kelkdavid 2006-01-18 18:24:54 UTC
Reproduceable on WinXP SP 1 on OO Calc 2.0.1.

I found another case that fails using attachment
ID 32828 that the original poster uploaded:

1) Load 32828, select cells B6 through B8
2) Right click on cells, choose insert cells->shift 
   cells right
3) Select Edit->Undo

OO Calc 2.0.1 crashes.

Note that adding a character like '0' or 'a' into
cell c7 and then performing the steps the initial
submitter or the 3 steps above work normally.

Also, the following works:

1) Place a character in c7
2) Select the range B6..B16
3) Right click on cells, choose insert cells->shift 
   cells right
4) Choose Edit->Undo
5) Delete the contents of c7
6) Select the range B6..B16
7) Right click on cells, choose insert cells->shift
   cells right

As c7 is empty one would expect Calc to crash, but 
it doesn't.

The following does crash:

1) Place a character(s) in c7
2) Delete the contents of c7
2) Select the range B6..B16
3) Right click on cells, choose insert cells->shift 
   cells right
Comment 4 frank 2006-02-01 13:49:00 UTC
Hi,

tried to reproduce with upcoming OOo2.0.2 m154 build and could not reproduce.
Due to the fact that it clearly can be reproducxed with OOo2.0.1, I close this
Issue as fixed.

Frank
Comment 5 frank 2006-02-01 13:49:44 UTC
closed fixed