Issue 94813 - Pie Chart : Crash when empty data label
Summary: Pie Chart : Crash when empty data label
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: crash
: 99895 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-10-09 13:45 UTC by tonyaker
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

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


Attachments
opening this file will crash all open OOo windows (279.00 KB, text/plain)
2008-10-09 13:46 UTC, tonyaker
no flags Details
attachment with 2003 Excel files (16.13 KB, application/x-compressed)
2008-10-10 04:34 UTC, chl207
no flags Details
patch_081117 (710 bytes, patch)
2008-11-17 01:55 UTC, weiz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description tonyaker 2008-10-09 13:45:40 UTC
Opening the attached .xls file will crash all open OOo windows. After some 
investigation the problem appears to be the pie chart. If I delete the sheet 
with the pie chart in it the file will open correctly.

As a workaround I've tried to save the file as .xlsx in MSO 2007, but it 
produces the same error.

I've had the issue with OOo 2.4.1 and 3.0 RC4 on Windows XP and someone else 
has verified the bug with OOo 2.4 and 3.0 RC4 on Linux Fedora 9
Comment 1 tonyaker 2008-10-09 13:46:32 UTC
Created attachment 57086 [details]
opening this file will crash all open OOo windows
Comment 2 chl207 2008-10-10 04:19:03 UTC
In OOO300_m9 On WinXP,I reproduced the issue with the attachment.in addition, 
a new 2003 Excel file with the sheet "Number of email 2007" in the attachment 
also crashes ooo. But I created some new 2003 Excel files with all kinds of 
pie charts, and then opened them in calc, all were opened normally. please see 
attachment.
Comment 3 chl207 2008-10-10 04:34:02 UTC
Created attachment 57101 [details]
attachment with 2003 Excel files
Comment 4 IngridvdM 2008-11-04 09:04:25 UTC
I can reproduce the crash when loading the file 'anti span analysis.xls' with
OOo 3.0.
@weiz. please have a look. The crash seems to be caused by the label placement.
Comment 5 weiz 2008-11-17 01:55:26 UTC
Created attachment 58042 [details]
patch_081117
Comment 6 weiz 2008-11-17 01:56:31 UTC
@iha: the patch is submitted. Please let me know your suggestions. Thank a lot!
Comment 7 thorsten.ziehm 2008-12-11 14:36:41 UTC
The corresponding CWS (chart34) is planned for OOo 3.1. Therefore I change the
target of this issue also to this target.
Comment 8 IngridvdM 2009-01-09 12:17:56 UTC
@weiz, the patch fixes the crash, thanks! I commited it to CWS chart35.

After import the pie chart on sheet 'Number of email 2007' is still not correct.
I wrote a follow up issue 97893 for that remaining problem.
Comment 9 IngridvdM 2009-01-19 15:07:47 UTC
@Kla, please verify in CWS chart35. Thanks!
Comment 10 kla 2009-02-09 08:25:57 UTC
Seen ok in cws chart35 -> verified
Comment 11 IngridvdM 2009-03-05 08:58:48 UTC
*** Issue 99895 has been marked as a duplicate of this issue. ***
Comment 12 IngridvdM 2009-03-05 11:35:43 UTC
change summary to more explicitly describe the problem
Comment 13 IngridvdM 2009-03-05 11:38:27 UTC
corrected component and subcomponent also
Comment 14 gatis 2009-04-03 03:22:19 UTC
Verified in build 3.1. File opens correctly. Fixed.
Comment 15 natalia_hitekschool 2009-04-03 23:47:52 UTC
Fixed on master, closed