Description: Crash at undo header Steps to Reproduce: 1. Open attachment 163692 [details] 2. Save as DOCX 3. File Reload 4. Delete header of page 1 5. CTRL+Z -> Crash 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: 7e5af164b7d293dd410710bed411e1ca64bbecf7 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
Created attachment 176954 [details] DOCX File exported with 7.4
Created attachment 176955 [details] BT without symbols
Undo not allowed in 7.1
No need to do steps 1 to 3, just by deleting the header and undoing it crashes Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: b8b72fdbbba57c017fcc3bce09fe8da31826aa2a CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Regression introduced by: https://git.libreoffice.org/core/+/65e52cb61d74b0c71b45b63b2da131bc6b621104%5E! commit 65e52cb61d74b0c71b45b63b2da131bc6b621104 [log] author Daniel Arato (NISZ) <arato.daniel@nisz.hu> Mon Apr 26 15:04:17 2021 +0200 committer László Németh <nemeth@numbertext.org> Tue May 04 15:38:21 2021 +0200 tree 5bed16832369fe3d4c41c865a24db09b95bf2409 parent 7f0b5f8eb234d2e1cc40055b275799df503ea736 [diff] tdf#141613 sw: fix crash at header/footer undo Bisected with: bibisect-linux64-7.2 Adding Cc: to Daniel Arato
Created attachment 176972 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this. I noticed this on console: warn:legacy.osl:7839:7839:sw/source/core/unocore/unoobj2.cxx:1334: no parent text?
No crash in Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ddb8a1a282aae74c1cee3a5e1f446abd0c00b116 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded Closed as WFM, but If someone could retest this himself it would be nice
Created attachment 183612 [details] gdb bt On pc Debian x86-64 with master sources updated today + brand new LO profile, I could reproduce this. I attached bt and all the console logs at the end of the file if it can help.
BTW, the bt was retrieved with gtk3 rendering but I got a crash too with gen rendering so not gtk only.
Proposed fix: https://gerrit.libreoffice.org/c/core/+/145244
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cec3c719303decd3b811a328fabd71d8c4e5ba3b tdf#146248 sw: fix crash at Undo of hiding page header/footer It will be available in 7.6.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.
@Telesto: many thanks for the bug report (and the newest one)! @All: thanks for handling the issue!
Crashing in Version: 7.5.0.1 (X86_64) / LibreOffice Community Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: threaded NOT in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c68d06dfa1498f862923eaddf3e5d247650a53d5 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: threaded
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/c617aafc370209b8807ba6e0eba2762595595a0f tdf#146248 sw: fix crash at Undo of hiding page header/footer It will be available in 7.5.0.2. 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.
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/d1ddaa59ad34f1f5f6fcd46ad63cc432e0d01b52 tdf#146248 sw: fix crash at Undo of hiding page header/footer It will be available in 7.4.5. 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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f8a5e416ea7713c7936b1533b43e16e2b711bea1 tdf#146248: sw: move UItest to CppUnittest It will be available in 7.6.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.
7.4.5 was a hotfix release, updating target in status-whiteboard