Bug 170400 - Crash when opening LibreOffice via SDK (related to IME)
Summary: Crash when opening LibreOffice via SDK (related to IME)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Jonathan Clark
URL:
Whiteboard: target:26.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-20 08:25 UTC by Hossein
Modified: 2026-01-27 16:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2026-01-20 08:25:37 UTC
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
Comment 1 Hossein 2026-01-20 08:31:45 UTC
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.
Comment 2 Jonathan Clark 2026-01-27 14:46:56 UTC
I was able to reproduce this bug on Windows. Marking as new.
Comment 3 Commit Notification 2026-01-27 16:27:59 UTC
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.