Bug 114060 - crash: close document using old template including page count.
Summary: crash: close document using old template including page count.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2017-11-26 11:41 UTC by sawakaze
Modified: 2020-09-13 10:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ScreenCapture slide (708.35 KB, application/vnd.oasis.opendocument.presentation)
2017-11-26 11:42 UTC, sawakaze
Details
Template File (8.72 KB, application/vnd.oasis.opendocument.text-template)
2017-11-26 11:43 UTC, sawakaze
Details
writer document used old template (8.78 KB, application/vnd.oasis.opendocument.text)
2017-11-26 11:44 UTC, sawakaze
Details
gdb backtrace (25.60 KB, text/x-log)
2017-11-26 18:47 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sawakaze 2017-11-26 11:41:46 UTC
Description:
after 8 steps, libreoffice is crashed.
As these steps is very complex, I attach screen captures slide,(BugDetail.odp)
and my using document and template. 
 

Steps to Reproduce:
1. create template include Page Cont to footer
2. Save Template
3. Create New Document using template
4. Edit Document over 2 page and save document.
5. Edit template include Page Count
6. Open document that created step from 3 to 4
→ popup window, press “Keep Old Style” 
→ Open document on old template
7. Close document. (ex. [x] button )
→popup “Save Document” 
8. Press “Don’t Save” 
→ Crash

Actual Results:  
after step 8, application crash.


Expected Results:
not crash
and I think after step 7,  not modified document -> not popup "Save Ducument" window


Reproducible: Always


User Profile Reset: No



Additional Info:
crash report is
http://crashreport.libreoffice.org/stats/crash_details/811fb4b4-ddc4-407d-8e84-da79a0096ba3

my test env
Version: 6.0.0.0.alpha1+
Build ID: b03f7cdc04f9df778e2da93eadfe1d44f7665caf
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-11-25_14:35:30
Locale: en-US (C); Calc: group threaded


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 sawakaze 2017-11-26 11:42:49 UTC
Created attachment 137992 [details]
ScreenCapture slide
Comment 2 sawakaze 2017-11-26 11:43:29 UTC
Created attachment 137993 [details]
Template File
Comment 3 sawakaze 2017-11-26 11:44:08 UTC
Created attachment 137994 [details]
writer document used old template
Comment 4 Xisco Faulí 2017-11-26 18:31:36 UTC
I can reproduce it in

Version: 6.1.0.0.alpha0+
Build ID: 2618e4a13d719122e6358d9d96864d1691e56a02
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: th-TH (ca_ES.UTF-8); Calc: group threaded

and

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.10; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

but not in

Versión: 5.4.3.2
Id. de compilación: 92a7159f7e4af62137622921e809f8546db437e5
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: group
Comment 5 Xisco Faulí 2017-11-26 18:47:24 UTC
Created attachment 137996 [details]
gdb backtrace
Comment 6 QA Administrators 2018-11-27 03:43:04 UTC Comment hidden (obsolete)
Comment 7 manfred.benesch 2020-09-13 10:35:16 UTC
This bug is no longer reproducible in

Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded