Bug 160523 - FILEOPEN Writer closes immediately after the odt document is Opened / Created in LibreOffice
Summary: FILEOPEN Writer closes immediately after the odt document is Opened / Created...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2024-04-04 21:37 UTC by Stefan_Lange_KA@T-Online.de
Modified: 2024-07-11 03:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
WinDbg backtrace (6.47 KB, text/plain)
2024-04-05 22:53 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan_Lange_KA@T-Online.de 2024-04-04 21:37:35 UTC
Libreoffice Writer closes immediately after a selected odt document is opened and the first page is displayed or when a new text document should be created after the empty page is displayed. This means for me Writer is not usable.

Reproducing the behavior:
1a. Open existing odt document (until now not tested with other formats e.g. docx)
or
1b. Choose "New" -> "Text document"
2. Look what happens

In my tests was displayed the first page of an existing document resp. an empty page (for new document) for about 1 second and then Writer was closed.
Because at the next LO start no abort message was displayed and no hint to send a crash report appeared it can be Writer did not crash but was closed normally.

I have reproduced the behavior with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b9905df455b47977968a185a7c43f35541e018b
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb77-TDF/2024-04-04_03.57.42/)
and
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b0edb1909b9deb1a170497f935a528f8118c8308
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
resp. in Windows 11
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b0edb1909b9deb1a170497f935a528f8118c8308
CPU threads: 4; OS: Windows 10.0 Build 22635; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
(from /daily/master/Win-x86_64@tb77-TDF/2024-04-03_21.05.25/)

but not with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb77-TDF/2024-03-31_03.57.06/)
Comment 1 Stéphane Guillou (stragu) 2024-04-05 03:59:22 UTC
So according to your tests, something between c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518 and b0edb1909b9deb1a170497f935a528f8118c8308 caused it.

Reproduced on Windows 11 after clicking Writer Document in the Start Center:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b9905df455b47977968a185a7c43f35541e018b
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Not reproduced on Linux:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f2482fd96eff00b806fae385096531f63f5f2bf5
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Nor with gen VCL plugin.
Comment 2 Stefan_Lange_KA@T-Online.de 2024-04-05 19:17:24 UTC
I have made additional tests with the pollux builds from LOdev 24.8:
The bug was not reproduced with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6027c219444ade7274841a5ba45e62bdc1ea3238
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb78-pollux-TDF/2024-04-02_06.16.52/)
but with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5ebe81f068dba0c141ebe92f64731d0c95179dae
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb78-pollux-TDF/2024-04-04_06.00.15/)

Therefore the range to find the cange causing the bug reduces to between 6027c219444ade7274841a5ba45e62bdc1ea3238 and b0edb1909b9deb1a170497f935a528f8118c8308.
Comment 3 Stéphane Guillou (stragu) 2024-04-05 22:53:29 UTC
Created attachment 193530 [details]
WinDbg backtrace

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b9905df455b47977968a185a7c43f35541e018b
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Stefan_Lange_KA@T-Online.de 2024-04-06 11:12:17 UTC
Today I have tested first with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 38ed8100872913c64941927bba665e4bd1a44c12
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb77-TDF/2024-04-06_10.19.32/)
Result: Writer did work as usual - OK!

Additionally I have tested with the pollux build
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 30c6e51fc9cb0fa864e1755271343d847fcced25
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
(from /daily/master/Win-x86_64@tb78-pollux-TDF/2024-04-05_06.00.21/)
Result: also OK!

Means for me:
- One of the changes between 5ebe81f068dba0c141ebe92f64731d0c95179dae and 30c6e51fc9cb0fa864e1755271343d847fcced25 has solved the problem.
- If I hadn't terminated my test yesterday with the build from 2024-04-04_06.00.15 I could have report the problem as solved already yesterday.
- I would change the bug status to RESOLVED + WORKSFORME
OK?
Comment 5 Stéphane Guillou (stragu) 2024-04-12 14:13:38 UTC
Yes, resolved for me too in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f61ffdfa1a56b1b1fa1aa4f269477e1d1d475955
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded