Created attachment 174476 [details] MS VS call stack Start a text document. Insert a sound from the Gallery. Move the inserted media-shape. ==> Crash The crash happens in sw/source/core/undo/unattr.cxx in SwUndoFormatAttr::SwUndoFormatAttr The parameter rChgFormat is empty and therefore assert(m_sFormatName.getLength()); fails. Crash message is Unhandled exception at 0x00007FFC6573286E (ucrtbase.dll) in soffice.bin: Fatal program exit requested. The crash happens in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: bae2fbfd341b2cb5e5053c7977176f68b5d658dd CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (en_US); UI: en-US Calc: threaded That is a debug build.
No crash in daily build Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4677345e3695bac158bb04048b4d5c608ed764b4 CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL
Created attachment 174480 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this and had an assertion.
Assert instructions added with: https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=d39651a69d789522b2faffd01879db25354b9a22 "author Vasily Melenchuk <vasily.melenchuk@cib.de> 2020-08-27 15:13:08 +0300 committer Thorsten Behrens <Thorsten.Behrens@CIB.de> 2020-09-15 11:04:25 +0200 commit d39651a69d789522b2faffd01879db25354b9a22 (patch) tree e3852c43ba713ed8d6d8305aeaa8cd6b35dfa148 parent 315919306c7b6e95db6a280c4aa8d2203970e292 (diff) sw: additional asserts/warns to diagnose empty style names Since undo/redo is using format name instead of old approach with pointers (which can point to invalid/removed style) it is a problem when we trying to use any style without name: it will be not resolved and undo/redo will work incorrectly: it can apply invalid attributes or apply style to another random objects." Vasily/Thorsten/Michael: thought you might be interested in this one.
Dear Regina Henschel, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I was not able to reproduce this issue with recent master. Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 06e248c63528017646fb2fc12908856f1ff3b2a4 CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win Locale: en-US (C); UI: en-US Calc: CL threaded
It no longer crashes with debug build of Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: ffd199021ec24e3fb2028708a6a191bf5dd49e41 CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: threaded