Bug 36622

Summary: deleting applied heading style crashes writer
Product: LibreOffice Reporter: Alfred Reibenschuh <alfredreibenschuh>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: critical CC: gleppert, vitriol_vitriol
Priority: medium    
Version: 3.3.2 release   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Alfred Reibenschuh 2011-04-26 18:13:07 UTC
this is:

LibreOffice 3.3.2 
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu2~maverick1
Comment 1 vitriol 2011-04-26 23:55:46 UTC
@Alfred Reibenschuh
Could you please provide a step by step procedure to reproduce the crash? Thanks.
Comment 2 Alfred Reibenschuh 2011-04-27 10:44:55 UTC
* open new document

* open style toolbar

* switch to paragraph styles

* select hierarchical in filter

* right-click on "Heading 1" - select "New.."

* select organizer tab

* set name: "AltHeading1", next style: "AltHeading1", linked with: "Heading", category: "Custom Styles"

* click OK

* enter lots of paragraphs (eg. copy-paste a large wikipedia article)

* format a couple of paragraphs with style "AltHeading1"

* right click on "AltHeading1" in style toolbar - select "Delete.." - confirm

office should now crash 
(in 2 out of 3 tries it does on my system)
Comment 3 Alfred Reibenschuh 2011-04-27 10:51:44 UTC
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick


$ uname -a
Linux tzlatl 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux


$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK Server VM (build 19.0-b09, mixed mode)


$ dpkg -s libreoffice
...
Architecture: i386
Version: 1:3.3.2-1ubuntu2~maverick1
...
Comment 4 vitriol 2011-04-27 11:09:21 UTC
I'm not able to reproduce the crash under Windows. Perhaps Linux specific?
A sample document that crash on your system may be useful.
Comment 5 Alfred Reibenschuh 2011-04-27 14:20:39 UTC
since i have reconfigured the heading/outline handling via "Tools->Outline Numbering" i am unable to reproduce the crash.

even moving ".libreoffice" out of the way does not help.

could this be related to the way libreoffice is packed on ubuntu 10.10 via ppa?

i am on the way to 11.04 so if nobody crashes doing the above steps lets close the bug.
Comment 6 gleppert 2011-04-28 10:43:37 UTC
Hi, I tested this bug on my computer and I cannot reproduce the bug as described (tried it three times). There is no crash here.

@Alfred: closing this bug?

Tested LibreOffice 3.3.2 PPA on Ubuntu 10.10/Gnome 32-Bit Intel
Comment 7 gleppert 2011-05-22 01:21:07 UTC
Referring to commments 4,5 and 6, I close this bug. 

@Alfred: If you can still reproduce the crash, please feel free to reopen the bug. Thanks.