This report comes from my attempt to reproduce bug 71749; it may even be the same bug appearing in a different context. STR: (1) Start in an empty Writer document. (2) Type <ctrl>-<F12>. Program presents dialog "Insert Table". (3) Click <Insert>. The Writer document has an empty 2-by-2 table. (4) Type <ctrl>-A <ctrl>-C. The program highlights the entire content of the document. (5) Take menu option Insert > "Footnote/Endnote...". Program presents dialog "Insert Footnote/Endnote". (6) Click <OK>. The program inserts "1" at the bottom of the page and puts the caret immediately thereafter. (7) Type <ctrl>-V. Program aborts. Experimentation in gdb shows that the last exception thrown is from framework::XCUBasedAcceleratorCongiguration::getCommandB yKeyEvent, framework/source/accelerators/acceleratorconfiguration.cxx:667. This is from my debug build of master commit 3d7d662, fetched around 2013-11-19 22:00 UTC. For comparison, LibreOffice delivered with debian-wheezy (3.5.4.2, build id 350m1 (Build:2)), does not crash, but there is no table evident in the footnote, the content of each cell being pasted in as a separate line. That is not a really good result, but I am applying "regression" keyword anyway. I shall attach full backtrace when my machine with LibreOffice has contact with the Internet. Please beware of typos in this report. I am typing on a small screen.
I am leaving this bug UNCO. It would be good to hear about platforms. Perhaps the severity should be increased.
Fedora 20/LO4.1.3.2 Slightly different behaviour. After pasting the text, writer locks up and CPU usage is around 99.8%.I let it sit there for 5 mins and then had to manually "force quit".
According to bibisect, the first bad commit is f98bc0b, source-hash ce97851, 2012-02-06. If I am reading the output correctly, the last good commit is 4d2e7c1, source-hash 43c7830, 2011-12-12.
Created attachment 89620 [details] console + bt with master sources On pc Debian x86-64 with master sources updated yesterday, I reproduced the crash.
similar crash can happen since 3.6; problem is the RSID update that assumes the same number of nodes have been pasted as were copied before, which is not the case when pasting table in footnote. fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4580094d2d9d5b952c4526ee23204f75a5bb2f1b fdo#71892: sw: fix crash when pasting table in footnote The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2171fff4c1a57ede8f9693d7c0d95c1171a49a70&h=libreoffice-4-2 fdo#71892: sw: fix crash when pasting table in footnote It will be available in LibreOffice 4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=640e8abbff03f7f242c0c0b9d73ffd2eda3c4e35&h=libreoffice-4-1 fdo#71892: sw: fix crash when pasting table in footnote It will be available in LibreOffice 4.1.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
The crash is no longer evident in a debug build of master commit b092637, fetched 2013-12-06, built and running on debian-wheezy. Thank you, Michael.
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]