Description: LibreOffice 26.2.0.3 (Writer, Calc, Impress or Draw) always crashes when trying to insert a hyperlink with an empty clipboard. Steps to Reproduce: 1. Clear Windows' clipboard (run 'echo off | clip' from the command line). 2. Select the Hyperlink command from the Insert menu in Writer/Calc/Impress/Draw. Actual Results: LibreOffice crashes. Expected Results: LibreOffice should not crash. Reproducible: Always User Profile Reset: Yes Additional Info: One of the crash reports: https://crashreport.libreoffice.org/stats/crash_details/a28d6256-bbd9-4f42-b58a-332c4c903135
Hello Adam, Thank you for reporting the bug. I can confirm that the bug is in the current stable and master builds: Version: 26.2.1.2 (X86_64) Build ID: 620(Build:2) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Version: 26.8.0.0.alpha0+ (X86_64) Build ID: bb24b8ec8f8a3bef6efece607479fff9541e30ff CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
I remembered a feature and checked with the Windows 24.2 bibisect repo that the cause is indeed bug 146576. `echo off | clip` in Command Prompt was used when reproducing. It seems more guards are needed...
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6ac395530d06437133e7a989f3143ba29311d8fc tdf#170803 Insert a hyperlink crashes when system clipboard empty It will be available in 26.8.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.
Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/4529d89156cd8340910653fa248bf9d11655f1f3 tdf#170803 Insert a hyperlink crashes when system clipboard empty It will be available in 25.8.7. 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.
Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/f0e73f61e347ee148fbc6791b9eeff35a6538e66 tdf#170803 Insert a hyperlink crashes when system clipboard empty It will be available in 26.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.