Description: Usually it opens docs I've created with Word. But today, there is a doc that I created with Word that it won't open, continues to crash. I tried installing the newest build 7.4.3.2 but it didn't help. Other docx docs are opening fine. The doc was created with Word for Mac 2011. Steps to Reproduce: 1.Open Libre Office 2.Open doc 3.Crash Actual Results: Crash Expected Results: Open doc Reproducible: Always User Profile Reset: No Additional Info: Other docs are opening, but not this one. This was created in the same way as the other ones, as far as I know. The other ones are in the same directory and not causing a crash, so I know it isn't a directory issue. I resaved the doc from Word as "test doc" and it's still causing the crash. I will send this to you. Since it's not crashing for other docs, I'm not resetting my profile at this time.
Created attachment 184598 [details] docx doc that is triggering a persistent crash when trying to open
Created attachment 184599 [details] bt with debug symbols + console logs On pc Debian x86-64 with master sources updated today, I could reproduce this. I attached bt + console logs.
This seems to have begun at the below commit. Adding Cc: to Michael Stahl ; Could you possibly take a look at this one? Thanks f1d8f96bc30af74cb43934749ca2304d828bd66f is the first bad commit commit f1d8f96bc30af74cb43934749ca2304d828bd66f Author: Jenkins Build User <tdf@pollux.tdf> Date: Tue Nov 17 01:14:39 2020 +0100 source b9ef71476fd70bc13f50ebe80390e0730d1b7afb https://gerrit.libreoffice.org/c/core/+/105810
I gave a try with https://gerrit.libreoffice.org/c/core/+/145364
(In reply to Julien Nabet from comment #4) > I gave a try with https://gerrit.libreoffice.org/c/core/+/145364 Patch is wrong and so has been abandoned. =>uncc myself since I got no idea about root cause.
Bug still occurring. New doc available that is triggering crash again. Common denominator seems to be docs created with Word for Mac 2011 (v 14.7.7 - 170905)
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/710af7d183370ca6fdd2699ea9f4550d9e53918a tdf#152983 sw: layout: fix crash in SwContentFrame::Cut() 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.
i'm surprised to report that Julien's fix was basically the right one :) usually things are rarely this simple, but when you have a footer containing an anchor of a text box and another text box is chained to the first one, it actually happens that a text frame is deleted while it's not connected to the page frame yet.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/ce863cf085e093e7385818a7d6d598a161e33a28 tdf#152983 sw: layout: fix crash in SwContentFrame::Cut() It will be available in 7.5.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.