abrt version: 2.0.3
cmdline: /usr/lib/libreoffice/program/swriter.bin -writer
os_release: Fedora release 15 (Lovelock)
reason: Process /usr/lib/libreoffice/program/swriter.bin was killed by signal 11 (SIGSEGV)
time: Tue Feb 14 09:08:48 2012
backtrace: Text file, 61239 bytes
dso_list: Text file, 20795 bytes
maps: Text file, 45802 bytes
:Deleting several styles, in Templates > Organize > Document (or) Template makes LibreOffice to crash.
:I can reproduce the crash (Always)
:Open a writer document or template
:Open the Organize Templates window
:Click on the document or template to show its styles
:Delete some styles one by one (only option)
:LibreOffice terminates after the second or third style deletion
:Feb 14 08:56:36 nh28d kernel: [ 3510.820362] swriter.bin: segfault at 30000 ip 4b194fb6 sp bfa04e90 error 4 in libswli.so[4a8ff000+d51000]
:Feb 14 08:56:38 nh28d abrt: saved core dump of pid 2280 (/usr/lib/libreoffice/program/swriter.bin) to /var/spool/abrt/ccpp-2012-02-14-08:56:36-2280.new/coredump (103591936 bytes)
:Feb 14 09:08:48 nh28d kernel: [ 4243.330980] swriter.bin: segfault at 9 ip 4b194fb8 sp bfdd3350 error 4 in libswli.so[4a8ff000+d51000]
:Feb 14 09:08:50 nh28d abrt: saved core dump of pid 2623 (/usr/lib/libreoffice/program/swriter.bin) to /var/spool/abrt/ccpp-2012-02-14-09:08:48-2623.new/coredump (98844672 bytes)
Created attachment 561713 [details]
Created attachment 561714 [details]
Created attachment 561715 [details]
Backtrace shows that this is a crash removing a style via the template dialog, but I struggled to be able to delete *any* user-defined style from that dialog.
Turns out that being unable to delete styles from the dialog seems to have been accidentally disabled since around 2006. I've fixed that part of things upstream as http://cgit.freedesktop.org/libreoffice/core/commit/?id=cdd4d969b1446ca0492adda239f5caf9987b84eb and now can delete styles from documents/templates again from organize->templates without any apparent problem.
I'm inclined to think that your crash is triggered by the problem I've fixed, but I'm a little unsure, because I don't understand how you were able to delete styles without the fix :-)
I'm going to assume this crash is somehow related to the busted logic in sfx2/source/doc/docvor.cxx which I've fixed upstream, in which case it'll be good in F18. Seeing as its not definite that it is I won't backport to a stable release
Created attachment 590460 [details]
print-screen template management
Just to make sure, the crash occurs when I delete the custom styles of a document using the template management.
I join a print-screen, see the red rectangle. NB: This document is an default document without custom styles. Assuming the document would have some custom styles, removing would reproduce this bug.
are we talking about the same issue?
yeah, that's the dialog I'm talking about. But I'm interested in *how* are you "removing" them, because the bug I fixed was that pressing delete wasn't doing anything, or right clicking a style wasn't showing the "delete" option because it was looking at the wrong index.
Created attachment 590465 [details]
Print-screen delete context menu
There is a context menu Delet, and I confirm on the window "Are you sure you want to delete the style".
When I remove more than 1 single style in a row, writer crashes.
You last comment says you have removed access to the feature. That was (is ;)) very handy to remove some document custom styles this way. Any chance to re-gain the feature in a later LO version, minus the crashes?
Sorry, it's late here. It will be fixed in F-18, in your comment 5
Really odd that your F-15 screenshot has that while my F15+ doesn't and my fix was to fix the code that made it not appear. *shrug*, its *hopefully* all the same underlying problem.