Bug 164096 - Crash when Undo delete comments
Summary: Crash when Undo delete comments
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2024-11-29 18:58 UTC by raal
Modified: 2024-11-30 18:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
dmp file (775.46 KB, application/vnd.tcpdump.pcap)
2024-11-30 13:43 UTC, BogdanB
Details
bt (7.30 KB, text/plain)
2024-11-30 18:33 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2024-11-29 18:58:56 UTC
Description:
Tested with Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ab60c81f77f45315ba3cfc7cae6c1d9144588663
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Steps to Reproduce:
 - open attachment https://bugs.documentfoundation.org/attachment.cgi?id=197826
 - open Sidebar, click on Comments pane
 - in first comment click on triangle and select "Delete all comments by D"
 - click on Undo button

Actual Results:
crash

Expected Results:
no crash


Reproducible: Always


User Profile Reset: No

Additional Info:
.
Comment 1 m_a_riosv 2024-11-29 23:04:30 UTC
Reproducible
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: e854f1d7a0a3a8bac6429a1dbe80ab2a6973c00a
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 2 Marina Latini (SUSE) 2024-11-29 23:37:28 UTC
can't repro on:

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: eaef1432bd0799bbed8dcbd6286942ed1d54ad90
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 3 Julien Nabet 2024-11-30 12:03:16 UTC
Just for the record, on pc Debian x86-64 with master sources updated today + gtk3, I don't reproduce this.
Comment 4 BogdanB 2024-11-30 13:40:46 UTC
Crash in
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 662c6a6d70bab6b1a6ae8048457907be97f447ca
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

warn:sw:13553:13553:sw/source/uibase/sidebar/CommentsPanel.cxx:544: Comments Panel is unable to delete comment: Referenced thread does not exist!
warn:sw:13553:13553:sw/source/uibase/sidebar/CommentsPanel.cxx:544: Comments Panel is unable to delete comment: Referenced thread does not exist!
warn:sw:13553:13553:sw/source/uibase/sidebar/CommentsPanel.cxx:544: Comments Panel is unable to delete comment: Referenced thread does not exist!
warn:sw:13553:13553:sw/source/uibase/sidebar/CommentsPanel.cxx:544: Comments Panel is unable to delete comment: Referenced thread does not exist!
Comment 5 BogdanB 2024-11-30 13:42:38 UTC
In debug version of LibreOffice I am getting this:
warn:desktop:14367:14367:desktop/source/app/crashreport.cxx:61: minidump generated: /home/bogdan/.config/libreofficedev/4/crash//ee6c4bcc-56b9-479e-ac017fb5-8ec45499.dmp

I have to mention, that in order to reproduce Experimental mode from Options - LibreOffice Writer - Advanced need to be activated in order to have Comments pane available, just in order to be open, it is not used during reproducing this bug.
Comment 6 BogdanB 2024-11-30 13:43:43 UTC
Created attachment 197878 [details]
dmp file
Comment 7 Julien Nabet 2024-11-30 18:33:45 UTC
Created attachment 197880 [details]
bt

Thank you for the extra info, I hadn't enabled experimental features first time.
Now I can reproduce this.