Bug 145163

Summary: master document crashes when repositioning inserted document
Product: LibreOffice Reporter: goodguy00 <goodguy00>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: 79045_79045, m.weghorn
Priority: medium    
Version: 7.2.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102495    

Description goodguy00@zoho.com 2021-10-15 22:10:58 UTC
Description:
i have a document >500 pages. because it gives performance problems (at least on my 4 core machine) i had to subdivide it by chapter into smaller pieces. then i made an overall master. now only the master has performance problems, ie to update the master it takes like 2 minutes. so far so good.
that means, there seem to be timing problems inside writer. when i drag an inserted document in the master navigator, to update the new sequence it takes writer several (long) seconds. during that time, i'm able to grab another inserted document and reposition that one, but then writer crashes. (ok, workaround is just not to do that)


Steps to Reproduce:
1. create 20 documents of 20-30 pages each, create master to include all of them
2. in the master navigator, grab one and reposition it. if you have a "slow" machine, it takes writer >10 seconds to quiet down
3. during that time, the navigator is not modal, so you can grab another document and reposition it

Actual Results:
swriter crashes

Expected Results:
the navigator window should be modal and forbid actions.
alternatively (which i would prefer) the master should only update, when i tell it to update (tools>update all), so it would not take time to resequence


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Roman Kuznetsov 2021-10-16 21:07:34 UTC
No repro in Windows

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b1488cd6f008049a9aaff7350deeb73cbbd535b6
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2021-10-18 06:38:08 UTC
Can you attach sample documents (e.g. a zip file containing all of them) to simplify reproducing this?
Comment 3 goodguy00@zoho.com 2021-10-18 19:22:01 UTC
ok, i spent some time on this. answer: yes and no. same document base (because residing on a central server). tested 5 clients with (in my opinion) same software base. 2 work fine (cannot reproduce) 3 don't (there writer crashes reliably). created fresh users for this. i'm puzzled.
as this is not really bugging me, i will retract it. i thought, there is more behind it ...