Description: see steps to reproduce Steps to Reproduce: 1. Start Writer 2. [File]->[Export As]->[Export As PDF] 3. in the [PDF Options] dialog, select [General] Tab. 4. You will find [Range] section. Choose 'Selection' radio button 5. Click [Export] button to close the dialog. Actual Results: crash Expected Results: no crash Reproducible: Always User Profile Reset: No Additional Info: reproducible with Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 742b8befecbcfc0cfab87cfcd87c83b7d8ef32ab CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win Locale: ja-JP (ja_JP); UI: en-US Calc: CL non-reproducible with Version: 7.2.3.1 (x64) / LibreOffice Community Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL --- this line may be related. https://opengrok.libreoffice.org/xref/core/vcl/win/gdi/salprn.cxx?r=a2adb7fa&mo=44004&fi=1105#1105
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=20ddabc88b6b45ea3efcc44ede5244ea526b09c4 author Michael Stahl <michael.stahl@allotropia.de> 2021-11-04 18:50:42 +0100 committer Michael Stahl <michael.stahl@allotropia.de> 2021-11-04 21:07:30 +0100 commit 20ddabc88b6b45ea3efcc44ede5244ea526b09c4 (patch) tree 2193c9d5e0e63394b4161c82afe5dc22363d17e9 parent b439832fc36a05e4423f480f7a312428f2449cc6 (diff) tdf#144989 sw: disable idle jobs during printing or PDF export Bisected with: bibisect-linux64-7.3 Adding Cc: to Michael Stahl
Increasing importance since the commit has been backported to libreoffice-7-2 and libreoffice-7-2-3 branches
Created attachment 176170 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today I could reproduce this.
Created attachment 176173 [details] Valgrind trace
Remark: I got a crash not directly after clicking "Export" button but after having chosen a location + file name and validated it.
I gave a try with https://gerrit.libreoffice.org/c/core/+/125014
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/196ac5f5435dfba5bb93e1728c38eb7fa847876d tdf#145584: fix crash on exporting as PDF with Selection rRange 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.
Patches waiting for review here: - 7.2 : https://gerrit.libreoffice.org/c/core/+/124975 - 7.2.3 : https://gerrit.libreoffice.org/c/core/+/124976
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/e6643770c465625ac3db41f4bc9c1b94b5576d51 tdf#145584: fix crash on exporting as PDF with Selection rRange It will be available in 7.2.4. 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.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-2-3": https://git.libreoffice.org/core/commit/3bc5a4c89e54138f6eebecddf93d55f1b052c42a tdf#145584: fix crash on exporting as PDF with Selection rRange It will be available in 7.2.3. 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/a0a4aa475e29bd030313c1a17e962386e6d063ca tdf#145584: sw_uiwriter3: 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.