Bug 98918 - Crash - Bug in Footer handling - Page formatting
Summary: Crash - Bug in Footer handling - Page formatting
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2016-03-27 09:56 UTC by Hermann Rochholz
Modified: 2017-06-09 20:49 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Status after increasing distance between footer and text. (101.51 KB, image/jpeg)
2016-03-27 17:38 UTC, Hermann Rochholz
Details
Footer Crash Test Doc (21.98 KB, application/vnd.oasis.opendocument.text)
2016-03-28 09:02 UTC, Hermann Rochholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Rochholz 2016-03-27 09:56:46 UTC
Reproducable on Win7 and Linux (lubuntu):

Background: I'm writing a pocketbook (>200p) with many (>80) footnotes. 
I've here left/right page and toc part etc.. In the footer of the text I put a table 1x1 wherein the page number is placed centered.  

When resizing footer (fusszeile-footline) height (I wanted to have a higher distance between text and table: I increased distance and page height by the same amount) the document change was not accepted (?). One is playing around and thinking: "What's that?".
 
And when closing document there's a reproducible crash. 
After recovering document (works well) the new page formatting is there.
This crash I've dozends of times but now I found the root cause.  

I had also the case that there was introduced a header part - but I cannot remember I introduced it... There seems somthing really going wrong.

I also tried "actualize everything" (alles aktualisieren) - it didn't work. 

Happy Easter!
Comment 1 Julien Nabet 2016-03-27 10:12:25 UTC
Would it be possible you attach this document by using this link (https://bugs.documentfoundation.org/attachment.cgi?bugid=98918&action=enter)?

It if contains any confidential/private part, you can sanitize it by using this link https://wiki.documentfoundation.org/QA/Bugzilla/Sanitizing_Files_Before_Submission
Comment 2 Julien Nabet 2016-03-27 15:32:03 UTC
A backtrace may be useful here (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Windows:_How_to_get_a_backtrace)
Comment 3 Julien Nabet 2016-03-27 17:02:16 UTC
With file provided in a private email by reporter, here what I noticed with LO Debian package 5.1.1.3 + with master sources updated today (future 5.2.0)

On page 2 (so after the TOC), I've clicked on arrow menu in footer part and selected "Format footer..." then I increase the height. Either after having clicked "Apply" or "Ok", the layout isn't changed. It's changed only after I save and reopen the file.
When I closed the doc, there wasn't crash.

On a brand new document the change of height is visible right away after clicking "Apply".
Comment 4 Hermann Rochholz 2016-03-27 17:38:48 UTC
Created attachment 123891 [details]
Status after increasing distance between footer and text.

Explanation within screenshot
Comment 5 Hermann Rochholz 2016-03-27 17:40:12 UTC
The new version also did not show a crash any longer. 
But document resize again only works after closing and opening. 

----
I did not have the newest version (I tried today!) after communication with Julien because the new version was not found by LO ("Check for new version"). Then I loaded manually.
Comment 6 Julien Nabet 2016-03-27 17:43:52 UTC
(In reply to Hermann Rochholz from comment #5)
>...
> I did not have the newest version (I tried today!) after communication with
> Julien because the new version was not found by LO ("Check for new
> version"). Then I loaded manually.
Perhaps because 5.0.5 is the stable version and 5.1.1 is the "fresh" version (so not considered yet as stable as 5.0.5).
If you stick with 5.1.1, make regularly backups (depending frequency you change your doc).
BTW, backups are also useful with stable version with any software.
Comment 7 Julien Nabet 2016-03-28 07:42:59 UTC
Any update since yesterday? (I think about the test about recreating footers from scratch).
Comment 8 Hermann Rochholz 2016-03-28 09:02:43 UTC
Created attachment 123897 [details]
Footer Crash Test Doc

This little doc was created under the old (5.0.xx - the last one) Version created under Lubuntu 15.10. 
And resizing in the mid the footer PARTIALLY ended up in a crash. Sometimes footer resizing works.
Comment 9 Julien Nabet 2016-03-28 11:40:53 UTC
In this doc, I could change footers without crash but above all, without needing to reopen the file to see the difference.
Did you find a precise step-by-step process to reproduce the crash.
eg:
- open file
- go to page...
- click...
etc.
?
Just to be sure, crash are only on Windows or did you have some on Linux?
If only on Windows, here's the link to retrieve a backtrace:
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Windows:_How_to_get_a_backtrace
Comment 10 Hermann Rochholz 2016-03-28 14:40:07 UTC
Receipe (I've here a german version - maybe the translation is not absolutely correct!):
-> Open document
-> Change to 2-sided view (one sees two pages for a better comparison)
-> Goto ~ Page 4 
->  Goto the footer with mouse and wait until the blue tab is appearing
-> Right mouseclick on a left page: Format footer
Don't use dynamic distances and don't use left-right the same footer 
-> Change distance between footer and text (e.g. from 0.5cm to 2.5 cm on one side

And sometimes there's no reaction. 
BUT if one checks out there's 2.5cm in thew menue. 
OR now I have the case: left footer is changed in menue, but the other footer  changing distance.
Comment 11 Julien Nabet 2016-03-28 14:47:37 UTC
Still no crash here.
I give up, hope someone will be luckier than me.
Since I got no other questions here, I'll put back to UNCONFIRMED.
Comment 12 Hermann Rochholz 2016-03-29 10:43:00 UTC
OK: 
On my Linux machine with LO 5.0.xx it's reproducible with the tiny test document; I tested again.
With 5.1.xx on my windows machine I've problems to reproduce. 
Therefore the error seems to be "touched", but not completely solved.
  
Is it possible to get a debugging version 5.9.xx for Linux? 
----------------------------
LO 5.1.1.xx has some tiny, but really nice improvents in the GUI. 
Thank you!
Comment 13 Buovjaga 2016-04-07 10:55:06 UTC
(In reply to Hermann Rochholz from comment #12)
> Is it possible to get a debugging version 5.9.xx for Linux? 

You can install the debuginfo package for your distro: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information

Further info might be gotten from a debug build, but maybe try that one for now (I guess you would have to compile the debug build yourself as no old debug builds seem to be around).
Comment 14 Aron Budea 2016-09-13 02:01:06 UTC
I could reproduce a crash by playing around with spacing similarly as described in comment 10, just several more random times. Got the crash after closing Writer. I used LibreOffice 5.2.1.2 / Windows 7. No crash report.
Not confirming without exact steps, yet.

I also wonder why the Footer distance looks weird after setting it on one page, it's as if it wasn't updating everywhere...
Comment 15 Telesto 2017-06-09 15:36:18 UTC
I can't reproduce it with:
Versie: 5.4.0.0.beta1 
Build ID: 8672113ead4e403c55e31b1d9a3d1e0f3b299577
CPU-threads: 4; Besturingssysteem:Windows 6.2; UI-render: standaard; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 16 Xisco Faulí 2017-06-09 17:48:36 UTC Comment hidden (obsolete)
Comment 17 Hermann Rochholz 2017-06-09 19:03:03 UTC
I cannot reproduce any longer. 

Today I've tested under the actual versions of Lubuntu and Windows. 
No more crash. 
Furthermore the permnanent hangups/crashes in the big document do not appear any longer.

I propose to close.
Comment 18 Xisco Faulí 2017-06-09 19:04:47 UTC
Nice, closing as RESOLVED WORKSFORME then. thanks!!
Comment 19 Hermann Rochholz 2017-06-09 20:49:24 UTC
Thanks the developers for the nice software.
The quality improvement especially in the last 2 years is impressive.