Description: Crash swlo!sw::MetaFieldManager::getDocumentProperties when deleting paragraphs with Track Changes Record on Steps to Reproduce: 1. Open Writer 2. Tools -> AutoText -> Standard -> Insert Dummy Text 3. CTRL+A & CTRL+C 4. Paste couple of times.. say until 7 pages filled 5. Edit -> Track Changes -> isable show 6. Edit -> Track changees _> Enable Record changes 6. Start deleting random text pieces Tiny problem.. it doesn't appear to crash every reliably :-(. Got three crashes.. So pretty sure something is present, but i'm likely missing a variable Actual Results: Crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 2bb10a827ac13d0caf009e8526ccd9f17dc71653 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL Jumbo
Created attachment 178368 [details] BT without symbols
The backtrace here is exactly the same as bug 145929
Created attachment 178412 [details] Example file 2
Created attachment 178414 [details] Screencast for example 2
@Julien I hope you don't mind I record the steps as a screencast (attachment 178414 [details] ), instead of writing them down.
Sorry, I don't have the patience to try to follow all the actions done on the screencast.
Assertion failed: (rSData.empty() || rSData[0].m_bRedlineMoved || (rSData[0].m_nRedlineCount == rDoc.getIDocumentRedlineAccess().GetRedlineTable().size())), function SetSaveData, file undobj.cxx, line 1487. Process 72517 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert frame #4: 0x0000000180995749 libswlo.dylib`SwUndo::SetSaveData(rDoc=0x000000016b9fb640, rSData=0x0000600000401720) at undobj.cxx:1486:5 1483 #if OSL_DEBUG_LEVEL > 0 1484 // check redline count against count saved in RedlineSaveData object 1485 // except in the case of moved redlines -> 1486 assert(rSData.empty() || rSData[0].m_bRedlineMoved || 1487 (rSData[0].m_nRedlineCount == rDoc.getIDocumentRedlineAccess().GetRedlineTable().size())); 1488 // "redline count not restored properly" 1489 #endif Target 0: (soffice) stopped.
(In reply to Telesto from comment #7) > Assertion failed: (rSData.empty() || rSData[0].m_bRedlineMoved || > (rSData[0].m_nRedlineCount == > rDoc.getIDocumentRedlineAccess().GetRedlineTable().size())), function > SetSaveData, file undobj.cxx, line 1487. > Process 72517 stopped > * thread #1, queue = 'com.apple.main-thread', stop reason = hit program > assert > frame #4: 0x0000000180995749 > libswlo.dylib`SwUndo::SetSaveData(rDoc=0x000000016b9fb640, > rSData=0x0000600000401720) at undobj.cxx:1486:5 > 1483 #if OSL_DEBUG_LEVEL > 0 > 1484 // check redline count against count saved in RedlineSaveData > object > 1485 // except in the case of moved redlines > -> 1486 assert(rSData.empty() || rSData[0].m_bRedlineMoved || > 1487 (rSData[0].m_nRedlineCount == > rDoc.getIDocumentRedlineAccess().GetRedlineTable().size())); > 1488 // "redline count not restored properly" > 1489 #endif > Target 0: (soffice) stopped. PRobably this got fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=53560aa06462f1cf04d69acafed20da971bc5c27 @Telesto, please try with a recent daily build with the fix in place
Appears to be OK as far my testing goes Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 3ccc4c123f5e78e0204d11abeab2d1a74278ca3e CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL