Bug 36721 - datapilot crashes
Summary: datapilot crashes
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.4.0 Beta3
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Kohei Yoshida
URL:
Whiteboard: target:3.4
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-30 11:16 UTC by klausk
Modified: 2011-05-03 14:18 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
ods file (9.72 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-05-03 11:19 UTC, klausk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klausk 2011-04-30 11:16:47 UTC
datapilot crashes while i have change the datasource in the extend layout dialog
Comment 1 Kohei Yoshida 2011-05-02 17:47:37 UTC
Please provide a test document that causes the crash, and steps to reproduce the crash.  Thanks.
Comment 2 klausk 2011-05-03 11:19:31 UTC
Created attachment 46300 [details]
ods file

hallo kohei,

if i change the sourerange in the extend dialog of the datapilot the dialog closes und libreoffice crashes.

best regards klaus
Comment 3 klausk 2011-05-03 11:52:23 UTC
(In reply to comment #2)
> Created an attachment (id=46300) [details]
> ods file
> 
> hallo kohei,
> 
> if i change the sourerange in the extend dialog of the datapilot the dialog
> closes und libreoffice crashes.

it only crashes if the column of the new range is empty.

> 
> best regards klaus
Comment 4 Kohei Yoshida 2011-05-03 13:20:50 UTC
Reproduced.
Comment 5 Kohei Yoshida 2011-05-03 14:18:39 UTC
So, a source range containing a column without a header name is invalid since 3.3, which ultimately caused the crash.

I made changes so that when you specify an invalid range it would mark it invalid.  That's better than crash.  In the future it would be nice to re-organize the dialog in order to show some nice error message explaining why the new range is invalid.

The fix is in the 3.4 branch.

http://cgit.freedesktop.org/libreoffice/calc/commit/?h=libreoffice-3-4&id=ae86fba1c98b16e0d98258d35265fd3ab50af710