https://bugs.documentfoundation.org/show_bug.cgi?id=147597

            Bug ID: 147597
           Summary: File crashed when using "Toggle Print Preview"
           Product: LibreOffice
           Version: 7.3.0.1 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Sorry for long text, but too much information might be better than too little?
Also, i don't know why it crashed, so I don't know what parts are relevant, so
i add all of them.
I added HEADINGS for easier read & search.


ERROR DESCRIPTION OVERVIEW:
I created a ("normal") file that crashed Libre Office Writer to desktop when I
used "Toggle Print Preview" & it repeatedly failed to recover the file
(infinite loop?), until the 3'rd attempt, after a successful "hard"-save (not
just working with a temp file). 


FILE ACCESS:
I was hoping I could attach that file to here, but i don't see how to do it?

The best I can do is a Google Drive link then.
The file will be removed in a few weeks, make sure to copy what you all need to
this bug report, or solve the file access in some way.

FILE LINK:
https://drive.google.com/drive/folders/11aSb71dWDu0EI4P-XruR3cBrvLg0N_gQ?usp=sharing


CRASH REPORTS:

https://crashreport.libreoffice.org/stats/crash_details/69677273-fdab-4233-9420-30777c037a86

https://crashreport.libreoffice.org/stats/crash_details/a726c2af-5bec-4f75-90ca-1a931dfa63c9


DATA:
Versions:
Libre Office Writer & Calk: 7.0.3.1 
Libre Office Writer & Calk Build: 
https://git.libreoffice.org/core/+log/d7547858d014d4cf69878db179d326fc3483e082
OS: Windows 7 Home Premium, 64-bit


ERROR DESCRIPTION DETAILED:
The crash occurred when I used "Toggle Print Preview" on this file.
I'm not sure if this is repeatable with this file (don't want to try right
now), or if the file has to be re-created as an unsaved temp-file.

When the file crashed, there were 3 processes running in each other (forgot the
names, but they seamed related to the file-restoration process), one was
running continuously, I think it used like 1% CPU or something, not much.

When i tried to restart Libre Office Writer, I got a message about it needing
to restore the files, i pressed Ok & it just Started & crashed & restarted &
crashed infinitely, so I killed that process tree (it was running as a separate
file different from the files described above), and also killed the previously
mentioned process tree.

Then I restarted Writer again, got the restore question, yes, then it managed
to restore the Calc file that I used to generate the letters with, but it could
save the Writer file to the hard-drive this time as "Unnamed".

I tried open the "Unnamed" file, it wanted to restore, yes, and this time it
actually worked, so I saved the file with a real name, and that's the file I
share in drive.


FILE CREATION QUIRKS:
The most strange things I did to this file was generating the alphabet with
Libre Office Calk, I generated the alphabet by flowing the answer here from the
user: dajare
https://ask.libreoffice.org/t/can-calc-auto-increment-letters/17842/2

I changed the top & bottom "borders"(?) (made the writing area as large as
possible, at the expense of header & footer that I don't plan on using) to only
be

The Font Size for all rows outside the tables are only 6pt high (minimum
option), just so it's possible to move the tables around, in future.


DETAILED FILE CREATION DESCRIPTION:
First I creates the top table_1 (1x20) and used LibreOffice Calk to generate
the numbers by writing a 1 then select-drag to the right until I got 20, then I
copied that row & pasted it at position 1x1 in the text document table.

Then I generated the big table_2 (3x29), generated the alphabet (as described
in: "FILE CREATION QUIRKS" section 1), added an extra row above for the
headings & adjusted the table sizes.

Then I selected the entire table_2 and Right Click > Size > Row Height, messed
about with sizes until I found 0,90 cm to be a good size.

Select entire table_2, Right click > Table Properties > Click in the middle of
the GUI to display all the "inner" lines in the table (both vertical &
horizontal), Ok. 

Then I changed the "borders"(?) (see: "FILE CREATION QUIRKS" section 2) to fit
the entire table on one page (only 0.5 cm "borders" on top & bottom).

Then I changed the Font Size to 6pt for all rows outside the table
(individually selected rows, not Ctrl+A).

THEN FINALLY I pressed "Toggle Print Preview" & everything crashed.

Good luck.
Sorry for long text.

Steps to Reproduce:
Unsure.
Either download the file, open it & press "Toggle Print Preview".

Otherwise you have to re-create the file according to the instructions in
Description > "DETAILED FILE CREATION DESCRIPTION:"

Actual Results:
Details: See: Description > "ERROR DESCRIPTION DETAILED:"

In short: Crashing, file restoration fails several times, restoration gets
stuck in an infinite loop or something.
Restarting Writer, tries to recreate the file but crashes & restarts
continuously.

Eventually successful restoration.

Expected Results:
A preview of how the document would look when printed.


Reproducible: Didn't try


User Profile Reset: No



Additional Info:
See description.

(I realize some of the description would fit better here, but that requires a
lot of re-writing, I feel like I have written enough for today, don't want
more).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to