Created attachment 106793 [details] Example file that causes crash Problem description: If a doc or docx file with a footnote in just the right place is exported to pdf it causes LibreOffice to crash. Just the right place seems to be in a table cell near a page boundary where the existence of the footnote causes the cell to move to another page. Steps to reproduce: 1. Open attached document 2. File -> Export to pdf 3. Export Current behavior: LibreOffice crashes Expected behavior: I get a pdf and LibreOffice does not crash. Operating System: All Version: 4.2.4.2 release
Created attachment 106809 [details] console bt On pc Debian x86-64 with master sources updated yesterday, I could reproduce the problem.
I proposed a patch here: https://gerrit.libreoffice.org/#/c/11634/ With this no crash, export includes footnotes. Now I don't know if it's the good way to fix it so prefered asking review.
Created attachment 106812 [details] pdf generated with the patch
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=86af599c81dc695400b0cc999f559bcf9070e8b9 Resolves fdo#84283: Export to PDF with footnotes in tables crash 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.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-4-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c67942a3158d4ace3753985dab5b9a934b8185a7&h=libreoffice-4-3 Resolves fdo#84283: Export to PDF with footnotes in tables crash It will be available in LibreOffice 4.3.3. 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.
So fixed now (from next LO version 4.3.3)
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/06bcff6649be811cf7eacf971e84a0f4ac029b04 tdf#84283: vcl_pdfexport: 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.