Description: CRASH when undoing columns Steps to Reproduce: 1. Open Writer 2. Insert -> Section -> Columns 3. Create 2 columns -> Press Insert 4. Insert some text "XXX" into the first bracket 5. Press CTRL+Z twice -> Crash Actual Results: Crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 6.1.0.0.alpha0+ Build ID: dd4f1b1bd31daf080dc0420524712dc244e539b5 CPU threads: 4; OS: Windows 6.3; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2018-03-20_23:26:38 Locale: nl-NL (nl_NL); Calc: CL and in Version: 6.0.0.0.alpha1+ Build ID: dae6ba564fcf20299b7a560aeb346efc84364d41 CPU threads: 4; OS: Windows 6.3; UI render: GL; TinderBox: Win-x86@39, Branch:master, Time: 2017-11-01_00:28:17 Locale: nl-NL (nl_NL); Calc: CL User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
no repro Version: 6.1.0.0.alpha0+ Build ID: 1fbe46cf08f525e78016feef83f4c38b79b337ba CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-03-24_23:04:38 Locale: nl-BE (en_US.UTF-8); Calc: group maybe only windows???
(In reply to Xavier Van Wijmeersch from comment #1) > maybe only windows??? Let's assume so..
Created attachment 140888 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this. I attached bt with symbols + some gdb debug
Reproducible with Version: 5.4.6.2 (x64) crashreport.libreoffice.org/stats/crash_details/4ddf6f32-981d-4764-9f8c-44619a66006a
Reproduced in Version: 5.2.0.0.alpha0+ Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53 Threads 4; Ver: 4.10; Render: default; but not in Version: 5.0.0.0.alpha1+ Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86 Locale: ca-ES (ca_ES.UTF-8) it needs to be bisected with 5.1 repo, which is not available on linux...
Created attachment 140891 [details] bt from SfxUndoManager::MarkTopUndoAction(): suspicious call! Thought it may help.
Ok, this was "a bit" convoluted to bisect. Using the original steps in bibisect repo 5.1, I got this as the bad commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=5adc8ee343e5c32d30095bc4005b7b022016b745 commit 5adc8ee343e5c32d30095bc4005b7b022016b745 (patch) tree 8148a23a2b68e26b43a308c71fac3feb43319814 parent 4ff0032528d7aebb0de5cf045a39972a2769029f (diff) sw: fix newly created document being modified After the document is created, an event is dispatched on the main loop that calls SfxPickList::Notify(), which modifies document properties. It tries to prevent setting the document to modified by calling SfxObjectShell::EnableSetModified(false), but Writer cunningly outwits it by simply having its own independent(?) modified flag that is set unconditionally in DocumentStatisticsManager::DocInfoChgd(). Let's assume that if the modified flag shouldn't be modified in SfxObjectShell, it shouldn't be modified in DocumentStatisticsManager. Somehow in 4.4 and 4.3 the same thing was going on, but it didn't result in a visibly enabled Save icon in the UI, but with 5.0 it does - cannot easily bisect why that changed due to tdf#91383. Change-Id: Id30fd831eb29910c9fb44ed3031bf8da23586bea Adding mst to CC. However, even in 5.0 repo I could reproduce a crash, if after step 5, I did redo (Ctrl-Y), input text again into the section, undo twice. I continued testing and discovered this crash is already in 4.3. So I don't know - maybe mst's commit just made this crash earlier??
it seems the original steps can't be reproduced with verions older than 5.0, but these steps can be reproduced: 1. Open Writer 2. Add a section with 2 columns 3. Add text to the first column 4. Undo 2 times 5. Redo 2 times 6. Undo to times I bisected it with bibisect-42max and it points me to https://cgit.freedesktop.org/libreoffice/core/commit/?id=b8002169336b6b7597d32755e41fa3dc2688539e Also reproduced with GEN Adding Cc: to Michael Stahl
Created attachment 149776 [details] bt with debug symbols Just an update of the bt with master sources updated today.
Another crash that points to SwNode::FindTableNode() 1. Open attachment 122056 [details] from bug 85757 2. Select all 3. Copy 4. Paste 3 times 5. Undo 4 times
Repro with Version: 6.4.0.0.alpha0+ (x86) Build ID: c2cb467a1e5194c56bb65706b7965fb2c9241b8f CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-06-29_00:11:35 Locale: nl-NL (nl_NL); UI-Language: en-US Calc: threaded
(In reply to Xisco Faulí from comment #8) > it seems the original steps can't be reproduced with verions older than 5.0, > but these steps can be reproduced: > > 1. Open Writer > 2. Add a section with 2 columns > 3. Add text to the first column > 4. Undo 2 times > 5. Redo 2 times > 6. Undo to times > > I bisected it with bibisect-42max and it points me to > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=b8002169336b6b7597d32755e41fa3dc2688539e Similar to bug 119241, see https://bugs.documentfoundation.org/show_bug.cgi?id=119241#c8, it seems that's not the problematic commit...
*** Bug 131827 has been marked as a duplicate of this bug. ***
Is this still reproducible, I was unable to reproduce it in master with comment #1 or comment 10
Yes, no crash with Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL => RESOLVED WORKSFORME
Issue fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=57d488660572d62ef0371e50dcdd4ca7a6d98a14
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2f5657ca8e54e2e49b6ad801a06d7d58fc725630 tdf#116640: sw_uiwriter4: Add unittest It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
VERIFIED with Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 2934472ab888ebfe64a153984af2902fac63a7a0 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