Bug 146398 - Gtk3: crash when quickly switching between comments in sidebar after I edited the previous comment
Summary: Gtk3: crash when quickly switching between comments in sidebar after I edited...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.4.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2021-12-24 01:52 UTC by Kevin Suo
Modified: 2022-11-10 02:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
comment.odt (10.40 KB, application/vnd.oasis.opendocument.text)
2021-12-24 01:52 UTC, Kevin Suo
Details
gdbtrace.log (23.75 KB, text/x-log)
2021-12-24 01:55 UTC, Kevin Suo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2021-12-24 01:52:06 UTC
Created attachment 177114 [details]
comment.odt

Steps to Reproduce:

1. Open the attached odt file.

2. Open sidebar, expand the comments in sidebar, then double-click on "Comment 1" in the sidebar.

3. Type anything quickly in the comment 1 body so that the comment 1 is edited, then *quickly* click on "Comment 2" in the sidebar to try to switch to comment 2 for editing.
--> Crash.

If it does not crash for you, try to repeat the steps several times and be more quick switching to the other comment after typing.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: b85e99950dc4584160512cffec303827c02f2d15
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: en-US
Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN
Calc: threaded

Fedora 34, Gnome 40.4, Wayland.
Comment 1 Kevin Suo 2021-12-24 01:55:19 UTC
Created attachment 177115 [details]
gdbtrace.log
Comment 2 Kevin Suo 2021-12-24 01:57:14 UTC
Also in:

Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded

crash also happens in Debian 11 + Gnome.
Comment 3 Dieter 2022-01-08 10:48:19 UTC
Cant' confirm in Windows

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c95415de877af1430ab5b7123e11dedd0ea622c
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 4 Tammy 2022-01-23 20:45:27 UTC
I tested on Windows multiple times switching back and forth quickly. Found no issues of crashing.
Comment 5 Roman Kuznetsov 2022-11-08 20:12:05 UTC
No repro in

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f7f0f39968e7b5630364d16d01c13ee015633be7
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

but I do not use Wayland....

Kevin, could you please try current dev build 7.5?
Comment 6 Kevin Suo 2022-11-10 02:32:49 UTC
Works fine in recent builds now.