Bug 144284

Summary: Crash closing master document (dbgutil)
Product: LibreOffice Reporter: Buovjaga <ilmari.lauhakangas>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: major CC: serval2412
Priority: medium Keywords: haveBacktrace
Version: 7.3.0.0 alpha0+   
Hardware: x86-64 (AMD64)   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=124300
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105537    
Attachments: GDB trace of crash

Description Buovjaga 2021-09-03 13:58:23 UTC
Created attachment 174760 [details]
GDB trace of crash

Only seen with a debug build it seems.

1. Download attachment 171695 [details] and attachment 171696 [details] and open master.odm
2. Yes to update links
3. Close document

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 104847ed014e95a915d314de7091c7d572eade67
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 3 September 2021
Comment 1 Julien Nabet 2021-09-03 16:54:46 UTC
Just for the record, on pc Debian x86-64 with master sources updated today (e4b1ba9447a0a56aa56400f9f44d8eecb6c11e9c) + enable-dbgutil + kf5 rendering, I don't reproduce this.

I tried with responding No then a second time Yes to save the document when closing.
Comment 2 Buovjaga 2021-09-03 17:12:01 UTC
(In reply to Julien Nabet from comment #1)
> Just for the record, on pc Debian x86-64 with master sources updated today
> (e4b1ba9447a0a56aa56400f9f44d8eecb6c11e9c) + enable-dbgutil + kf5 rendering,
> I don't reproduce this.
> 
> I tried with responding No then a second time Yes to save the document when
> closing.

Hmm, do you mean you answered "Yes" to updating links the second time? Updating links is required for the crash. If you answer "No", it will not crash.
Comment 3 Julien Nabet 2021-09-03 19:53:53 UTC
(In reply to Buovjaga from comment #2)
> (In reply to Julien Nabet from comment #1)
> > ...
> > I tried with responding No then a second time Yes to save the document when
> > closing.
> 
> Hmm, do you mean you answered "Yes" to updating links the second time?
> Updating links is required for the crash. If you answer "No", it will not
> crash.

About updating, I answered "Yes" each time, the other choice is when closing the document, LO asks about saving or not.
Comment 4 Hossein 2023-06-07 13:20:31 UTC
Assertion failure:

Assertion failed: !mIpcThread.is(), file C:/cygwin64/home/user/lode/dev/core/desktop/source/app/officeipcthread.cxx, line 895

Reproduced with the latest LO 7.6 dev master:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 52f70f04bdc586a072141e069d451a979c5f4cb7
CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: CL threaded
Comment 5 Matt K 2023-12-16 20:52:37 UTC
I'm not able to reproduce this using:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a1b0fc647d14dc36e9fe238d5bfc81ebcfa1d5dc
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 6 Buovjaga 2023-12-16 20:57:58 UTC
Looks like somebody fixed it

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4eebf31e38969335471de884c7fd2db7c0e79454
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded