Description: After Noel fixed tdf#153554 in 90004b730eda4d06313f6e14603f1c1dad0f8f88, a second crash surfaced on some machine with multiple input method (keyboard, IME) installed. I file this bug to show that this is a separate issue. Backtrace is already there from that bug report: Attachment 204964 [details] Steps to Reproduce: 1. Compile LibreOffice from sources. (make sure that you have the latest sources as of 2026) 2. Invoke $ instdir/program/python odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.py Actual Results: Crash Expected Results: LibreOffice should not crash Reproducible: Always User Profile Reset: No Additional Info: Sometimes crash does not happen at first, but after a few tries, it then happens constantly. Reproducible with the latest LO 26.8 dev master: Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 821e808610a9710d4875bff65604f34aacf4a29c CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
As suggested by Noel, it seems that this is a regression from this patch: https://gerrit.libreoffice.org/c/core/+/185870 @Jonathan: Reverting a7f0e7b40fff2238a5cb2bfac750b22d8d5ee15d fixes this specific issue, initial crash. There may remain an additional third related crash, which is a separate issue and I will file an additional bug report for that.
I was able to reproduce this bug on Windows. Marking as new.
Jonathan Clark committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/00fca3e515027901e134eadaf73b4ccb862108cb tdf#170400 Fix crash when running Python ODK tests on Windows with IME 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.