Issue 76759 - many zero column width in automatic styles causes crash
Summary: many zero column width in automatic styles causes crash
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.2
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 12:09 UTC by me4oo
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

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


Attachments
generated document (18.86 KB, application/vnd.oasis.opendocument.text)
2007-04-27 12:11 UTC, me4oo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description me4oo 2007-04-27 12:09:59 UTC
1. reproduce:
create a document with about 40 tables
create a automatic style table-column-width with zero mm for all tables
create a automatic style table-column-width with 10 mm for all tables
open the document
drag the scrollbar, to see the end of the document
notice high cpu and unresponsive behaviour
killall soffice


2. solve:
edit xml, replace all 'style:column-width="0mm"' with 'style:column-width="1mm"'

3. does not happen with a single column set to zero (sorry no time to
investigate deeper)

0mm caused by faulty generator - therefore not a problem so far.
maybe someone could abuse this to crash ooffice on purpose - killed after a
minute@2.6ghz full cpu load.

use attached document
Comment 1 me4oo 2007-04-27 12:11:07 UTC
Created attachment 44732 [details]
generated document
Comment 2 me4oo 2007-04-27 12:12:23 UTC
2. solve:
edit content.xml, replace all 'style:column-width="0mm"' with
'style:column-width="1mm"' in office:automatic-styles
Comment 3 eric.savary 2007-04-27 13:09:46 UTC
ES->FME: Reproduced on Linux only. No regression (same thing in 2.0.2) but worth
fixing for 2.x, I think.
Comment 4 frank.meies 2007-04-27 13:25:37 UTC
fme: A column width of 0 mm is quite some odd scenario.  I'll lower the priority
to P3.
Comment 5 Martin Hollmichel 2007-09-10 14:09:59 UTC
move to target 3.x according http://wiki.services.openoffice.org/wiki/Target_3x