Issue 113432 - crashes while open the sample file which have over 1024 columns
Summary: crashes while open the sample file which have over 1024 columns
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 3.2
Hardware: Mac Mac OS X, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
Depends on:
Blocks: 111112
  Show dependency tree
Reported: 2010-07-26 15:29 UTC by mayongl
Modified: 2017-05-20 10:34 UTC (History)
1 user (show)

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

The file contains more 1024 cloumns. (110.06 KB, text/plain)
2010-07-26 15:31 UTC, mayongl
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mayongl 2010-07-26 15:29:48 UTC
The sample file has over 1024 columns.

Open the sample on Mac OS X, will crash. If the file is opened on Windows platform, an 
"unknown error" dialog will be popped. But won't crash.

The crash is caused by lang::IndexOutOfBoundsException() exception throw out in 
ScCellRangeObj::getCellRangeByPosition(). The exception is not handled correctly, due to up to the stack, 
there is call for XML_parse() which is implemented in C.
Comment 1 mayongl 2010-07-26 15:31:37 UTC
Created attachment 70824 [details]
The file contains more 1024 cloumns.
Comment 2 niklas.nebel 2010-07-26 16:57:58 UTC
This was already fixed as issue 94951, but apparently it got lost in a merge
conflict with CWS "frmdlg".
Comment 3 Joost Andrae 2010-07-27 17:13:17 UTC
target set
Comment 4 niklas.nebel 2010-07-28 16:21:09 UTC
Fixed in CWS "calc57".
Comment 5 pengyunquan 2010-07-29 04:26:44 UTC
I have tried to browse "svn://", 
but I got an error. I have listed all CWSs, but I only found calc51. 
Comment 6 niklas.nebel 2010-07-29 09:16:55 UTC
pengyunquan, all current CWSs are in Mercurial.
Comment 7 ooo 2010-08-06 13:38:22 UTC
Reassigning to QA fo verification.
Comment 8 oc 2010-08-09 14:15:01 UTC
verified in internal build cws_calc57