[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Miklos Vajna changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |vmik...@collabora.com |desktop.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 --- Comment #13 from Miklos Vajna --- I think what happens here (based on Julien's backtrace) is that we have an original document with char styles and we create a clipboard document, but the SwFormat instances in the clipboard document refer to char styles in the original document, so it's important the full SwDoc is only deleted once the clipboard document is deleted. Normally the SwView has a weak reference to these clipboard documents, so these transferable instances are disposed/invalidated by the time the original SwDoc gets deleted, but not in this case, because we have some kind of leak. It's not yet clear to me how the above commit changes anything in this mechanism, given that the failing assert is all around char styles and their usage, not around content control. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Stéphane Guillou (stragu) changed: What|Removed |Added Regression By||Miklos Vajna Version|7.6.5.2 release |7.6.0.0 alpha0+ -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Matt K changed: What|Removed |Added CC||vmik...@collabora.com Keywords|bibisectRequest |bibisected --- Comment #12 from Matt K --- (In reply to Stéphane Guillou (stragu) from comment #11) > It seems we can only crash it on Linux with a debug build (comment 3, > comment 7, I assume comment 10 too, Matt?). Yes, that's correct. > On Windows 11, no crash in 7.5.0.3 -> regression. I bibisected this using win64-7.6 repo and got the following result: bad commit is c804c5354855188b5a37219cfe11dc079dc235f4 which is: Author: Miklos Vajna Date: Fri Mar 10 13:36:37 2023 +0100 sw content control: fix lost properties on copy&paste Adding Miklos to CC -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Stéphane Guillou (stragu) changed: What|Removed |Added Keywords||bibisectRequest, regression --- Comment #11 from Stéphane Guillou (stragu) --- It seems we can only crash it on Linux with a debug build (comment 3, comment 7, I assume comment 10 too, Matt?). That's the case on my end, only crashes with debug build: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a1a1d8edb9d4a62b747aa7069b3026e2ba75704d CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded --- On Windows 11, no crash in 7.5.0.3 -> regression. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Matt K changed: What|Removed |Added OS|Windows (All) |All --- Comment #10 from Matt K --- (In reply to Stéphane Guillou (stragu) from comment #8) > As Telesto said, let's keep it Windows-specific. I was able to repro with: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 53c5d570cab036b23f4969b858a648c8f0c24f93 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-US (C.UTF-8); UI: en-US Calc: threaded So, not OS-specific. Not sure how to solve it either. Interesting lines of output: warn:sw.core:2542771:2542771:sw/source/core/attr/format.cxx:217: ~SwFormat: format still has clients on death, but parent format is missing: Character style warn:sw.core:2542771:2542771:sw/source/core/attr/calbck.cxx:155: lost a client of type: 18SwFormatCharFormat at 0x606000e6f258 still registered on type: 8SwModify at 0x613000207c40. warn:sw.core:2542771:2542771:sw/source/core/attr/calbck.cxx:155: lost a client of type: 18SwFormatCharFormat at 0x606000e6f3d8 still registered on type: 8SwModify at 0x613000207c40. warn:sw.core:2542771:2542771:sw/source/core/attr/calbck.cxx:155: lost a client of type: 18SwFormatCharFormat at 0x606000e92d18 still registered on type: 8SwModify at 0x613000207c40. warn:sw.core:2542771:2542771:sw/source/core/attr/calbck.cxx:155: lost a client of type: 18SwFormatCharFormat at 0x606000e91f98 still registered on type: 8SwModify at 0x613000207c40. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Aron Budea changed: What|Removed |Added Blocks||145593 CC||aron.bu...@gmail.com Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=145593 [Bug 145593] [META] Exit LibreOffice -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Stéphane Guillou (stragu) changed: What|Removed |Added Version|24.2.0.3 release|7.6.5.2 release --- Comment #9 from Stéphane Guillou (stragu) --- Also reproduced on 7.6.5.2 (win 11). -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Stéphane Guillou (stragu) changed: What|Removed |Added Version|24.8.0.0 alpha0+ Master |24.2.0.3 release -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Stéphane Guillou (stragu) changed: What|Removed |Added Blocks||133092 Severity|normal |critical CC||stephane.guillou@libreoffic ||e.org See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=12 ||4647 OS|All |Windows (All) Crash report or||["SwHTMLWriter::GetCSS1Sele crash signature||ctor(SwFormat const ||*,rtl::OString ||&,rtl::OUString &,unsigned ||short &,rtl::OUString *)"] --- Comment #8 from Stéphane Guillou (stragu) --- No crash in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d2fa44db6f8a1badece63856ee0f12db4cba9b28 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded However, crashed as described on Windows 11: Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded Crash report: https://crashreport.libreoffice.org/stats/crash_details/ddf410e0-0f9d-45a8-81a2-9e32f4f39844 As Telesto said, let's keep it Windows-specific. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=133092 [Bug 133092] [META] Crash bugs -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 BogdanB changed: What|Removed |Added Blocks||108843 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=108843 [Bug 108843] [META] Clipboard bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Julien Nabet changed: What|Removed |Added OS|Windows (All) |All Keywords||haveBacktrace -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Julien Nabet changed: What|Removed |Added CC||serval2...@yahoo.fr --- Comment #7 from Julien Nabet --- Created attachment 192529 --> https://bugs.documentfoundation.org/attachment.cgi?id=192529&action=edit bt On pc Debian x86-64 with master sources updated today, I got an assertion. I noticed that if I wait a bit more once the file is opened (I mean until there's no extra log in console), I don't get the assertion. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 m_a_riosv changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||miguelangelrv@libreoffice.o ||rg Ever confirmed|0 |1 --- Comment #6 from m_a_riosv --- Reproducible Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 17fc445938dedb05125a6d6a5b4ce7f34ea95f59 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 Enable skia doesn't solve the issue. Also with Ver 3.3 Aoo directly crash after open the file. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 Telesto changed: What|Removed |Added OS|All |Windows (All) --- Comment #5 from Telesto --- (In reply to BogdanB from comment #2) > No crash in > Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: c170d1364be56d91fd16f255ffdc406b8e822732 > CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 > Locale: ro-RO (ro_RO.UTF-8); UI: en-US > Calc: threaded I guess it's Windows only issue; clipboard handling is OS-specific. -- Comment 3 is likely something different or related to bug 124647 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 --- Comment #4 from Telesto --- FWIW: I forgot to mention bug 124647 which is using the same file for a different crash -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 --- Comment #3 from BogdanB --- Created attachment 192509 --> https://bugs.documentfoundation.org/attachment.cgi?id=192509&action=edit dmp file With debug version Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265 CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded I get this at step: Ctrl+A warn:desktop:483957:483957:desktop/source/app/crashreport.cxx:61: minidump generated: /home/bogdan/.config/libreofficedev/4/crash//49730bf4-5d95-4aed-9007b8ac-65d9beac.dmp -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 BogdanB changed: What|Removed |Added CC||buzea.bog...@libreoffice.or ||g --- Comment #2 from BogdanB --- No crash in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c170d1364be56d91fd16f255ffdc406b8e822732 CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.
[Bug 159683] Crash on closing LibreOffice with certain content on the clipboard
https://bugs.documentfoundation.org/show_bug.cgi?id=159683 --- Comment #1 from Telesto --- Created attachment 192508 --> https://bugs.documentfoundation.org/attachment.cgi?id=192508&action=edit Sample -- You are receiving this mail because: You are the assignee for the bug.