Bug 159144 - Writer freezes/crashes when changing page style to landscape
Summary: Writer freezes/crashes when changing page style to landscape
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Writer-Tables Writer-Styles-Page
  Show dependency treegraph
 
Reported: 2024-01-12 10:38 UTC by Pavel Hok
Modified: 2024-01-15 13:48 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Affected odt file (127.79 KB, application/vnd.oasis.opendocument.text)
2024-01-12 10:39 UTC, Pavel Hok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Hok 2024-01-12 10:38:00 UTC
Description:
When changing page style to "Na šířku" (Landscape) Writer freezes and has to be killed. This is specific for a odt file containing several tables.


Steps to Reproduce:
1. Open the attached file.
2. Try to change Page 2 style to "Na šířku" (landscape)
3. Writer immediately freezes and has to be killed.

Actual Results:
Writer freezes, file changes lost.

Expected Results:
Page style changed, Writer continuing running, no work lost.


Reproducible: Always


User Profile Reset: No

Additional Info:
After deleting table contents bug no longer reproducible, i.e., bud depends on file contents.
Comment 1 Pavel Hok 2024-01-12 10:39:11 UTC
Created attachment 191884 [details]
Affected odt file

Change Page 2 style to landscape from the page style list ("Na šířku" in the Czech version) to reproduce the bug.
Comment 2 Federico Castellani 2024-01-12 18:20:29 UTC
Repro with:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: it-IT (it_IT.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded
Comment 3 BogdanB 2024-01-12 19:53:16 UTC
It's freezing also in
Version: 7.1.0.0.alpha0+
Build ID: 63bf8f042abe3c0f6989f6763d13f5389182b816
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Maybe the file contains some errors.
Comment 4 Telesto 2024-01-12 21:14:38 UTC
Also freezing with
Versie: 6.3.0.4 (x86)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU-threads: 4; Besturingssysteem: Windows 6.3; UI-render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-taal: nl-NL
Calc: CL

no freeze with (table distribution not really nice, table doesn't split across pages
Version: 6.2.9.0.0+ (x86)
Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

nor with
Version: 6.1.6.3 (distribution of tables is 
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL

nor with
Version: 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Windows 6.2; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 5 m_a_riosv 2024-01-13 02:30:22 UTC
Still with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 6 Federico Castellani 2024-01-13 17:28:27 UTC Comment hidden (obsolete)
Comment 7 BogdanB 2024-01-13 19:19:36 UTC
(In reply to Federico Castellani from comment #6)
>  14e8b050b60849b0367e85b94faa4b85ebed38e3 is the first bad commit
> commit 14e8b050b60849b0367e85b94faa4b85ebed38e3
> Author: Jenkins Build User <tdf@pollux.tdf>
> Date:   Fri Jun 16 19:08:16 2023 +0200
> 
>     source 1c60f18de581d42c200e119aa5efc72fc7ee0bcd
>     
>     source 1c60f18de581d42c200e119aa5efc72fc7ee0bcd
> 
> Bisected with: linux-64-24.2

Your bibisect is not correct. The problem is old. So the bibisect should result in something 3-4 years old.
Comment 8 Federico Castellani 2024-01-15 13:20:01 UTC
 10d6338bd55e68203fb296cf89cd2792b57cb7f0 is the first bad commit
commit 10d6338bd55e68203fb296cf89cd2792b57cb7f0
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Feb 15 13:30:40 2019 +0100

    source 835d054434d0000a5741a5bfa5f577e855594c40
    
    source 835d054434d0000a5741a5bfa5f577e855594c40

Bisected with: linux-64-6.3
Adding Cc: to Miklos Vajna

On some commits libreoffice crashed as soon as I opened the program so I skipped those versions.

Let me know if I bibisected wrong this time.
Comment 9 BogdanB 2024-01-15 13:48:37 UTC
(In reply to Federico Castellani from comment #8)
>  10d6338bd55e68203fb296cf89cd2792b57cb7f0 is the first bad commit
> commit 10d6338bd55e68203fb296cf89cd2792b57cb7f0
> Author: Jenkins Build User <tdf@pollux.tdf>
> Date:   Fri Feb 15 13:30:40 2019 +0100
> 
>     source 835d054434d0000a5741a5bfa5f577e855594c40
>     
>     source 835d054434d0000a5741a5bfa5f577e855594c40
> 
> Bisected with: linux-64-6.3
> Adding Cc: to Miklos Vajna
> 
> On some commits libreoffice crashed as soon as I opened the program so I
> skipped those versions.
> 
> Let me know if I bibisected wrong this time.

It's much better. Now you acted like a professional. ;)