Bug 114374 - FORMATTING: EDITING: Libreoffice Writer crash after removing all styles of footer of a page
Summary: FORMATTING: EDITING: Libreoffice Writer crash after removing all styles of fo...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-09 22:53 UTC by Gatoso Oso
Modified: 2017-12-11 12:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gatoso Oso 2017-12-09 22:53:58 UTC
Description:
Libreoffice Writer crash after removing all styles of footer of a page.

The file, with a .docx format, is a very edited and manipulated one, using MS Office on Windows and MAC, and LibreOffice Writer on GNU/Linux. So, when I open the file in this latter program, on that latter operative system, I see that all pages have all styles of footer (Default Style, and Converted from 1 to 6), I know it by seeing Insert > Header and Footer > Footer, all the options are marked as active.

I am on Linux Mint 18.2, Sonya (Ubuntu 16.04, Xenial), 64 bits, KDE 5.8.8,  and I use LibreOffice 5.1.6.2 Build ID: 1:5.1.6~rc2-0ubuntu1~xenial2

I post a link with the file.

https://yadi.sk/i/ajePdGgY3QUDEh

Thanks so much.


Steps to Reproduce:
1. Open the file
2. Click on any page
3. Click on Insert > Header and Footer > Footer > All
4. The program will ask for deleting the footer (Are you sure you want to delete the footer? All contents of the footer will be deleted and can not be restored.) 
5. Click on Yes
6. LibreOffice Writer will crash

If you can't reproduce the crash, try on another page (step 2).

Actual Results:  
LibreOffice crash

Expected Results:
Remove the styles of footer and not crash


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
The terminal output, reproducing the crash, is this:

$ LC_ALL=C libreoffice
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

(soffice:10835): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(soffice:10835): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
W: Unknown node under /registry/extlang: deprecated
W: Unknown node under /registry/grandfathered: comments
W: Unknown node under /registry/grandfathered: comments

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

** (soffice:10835): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/Breeze/gtk-2.0/../assets/line-h.png,
borders don't fit within the image

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

** (soffice:10835): WARNING **: invalid source position for vertical gradient

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:10835): Gdk-WARNING **: gdk_window_set_icon_list: icons too large


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Julien Nabet 2017-12-10 09:49:07 UTC
On pc Debian x86-64 with LO Debian package 5.4.3.2, I don't reproduce this.

Could you give a try to a more recent LO version? (see LO ppa)
Comment 2 Gatoso Oso 2017-12-10 22:28:09 UTC
You're right, I've installed LibreOffice 5.4.3.2 and I can't reproduce the crash. My apologies
Comment 3 Julien Nabet 2017-12-11 12:49:54 UTC
No pb, let's put this one to WFM then.