Why does MATLAB crash on Windows 10 with "CtfImeAssociateFocus" from "MSCTF.dll" in the stack trace?

12 visualizaciones (últimos 30 días)
Why does MATLAB crash on Windows 10 with "CtfImeAssociateFocus" from "MSCTF.dll" in the stack trace?
Here is the stack trace from the crash log:
Stack Trace (from fault):
[ 0] 0x00007ffef342e705 C:\Windows\System32\MSCTF.dll+00124677 CtfImeAssociateFocus+00024181
[ 1] 0x00007ffef3430653 C:\Windows\System32\MSCTF.dll+00132691 CtfImeAssociateFocus+00032195
[ 2] 0x00007ffef3430fe3 C:\Windows\System32\MSCTF.dll+00135139 CtfImeAssociateFocus+00034643
[ 3] 0x00007ffef34344e0 C:\Windows\System32\MSCTF.dll+00148704 CtfImeProcessCicHotkey+00001216
[ 4] 0x00007ffef32a4c3c C:\Windows\System32\USER32.dll+00150588 IsThreadMessageQueueAttached+00000076
[ 5] 0x00007ffef5aee6b4 C:\Windows\SYSTEM32\ntdll.dll+00648884 KiUserCallbackDispatcher+00000036
[ 6] 0x00007ffef2ec1504 C:\Windows\System32\win32u.dll+00005380 NtUserSetWindowPos+00000020
[ 7] 0x00007ffef32ad3b4 C:\Windows\System32\USER32.dll+00185268 BringWindowToTop+00000036
[ 8] 0x00007ffec22a40cb C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00868555 Java_sun_awt_Win32GraphicsEnvironment_isVistaOS+00005407
[ 9] 0x00007ffec227a7f7 C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00698359 Java_sun_awt_windows_WFramePeer_synthesizeWmActivate+00003063
[ 10] 0x00007ffec2263fba C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00606138 Java_sun_awt_windows_WComponentPeer_nativeHandleEvent+00001170
[ 11] 0x00007ffec22a48cd C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00870605 Java_sun_awt_Win32GraphicsEnvironment_isVistaOS+00007457
[ 12] 0x00007ffec2277f7f C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00687999 Java_sun_awt_windows_WFontMetrics_charsWidth+00001363
[ 13] 0x00007ffec22609d2 C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00592338 Java_sun_awt_windows_WComponentPeer_setZOrder+00001166
[ 14] 0x00007ffef3296d41 C:\Windows\System32\USER32.dll+00093505 CallWindowProcW+00001217
[ 15] 0x00007ffef329690b C:\Windows\System32\USER32.dll+00092427 CallWindowProcW+00000139
[ 16] 0x00007ffec21e5150 C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00086352 Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans+00061296
[ 17] 0x00007ffee965b2e2 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17134.950_none_f953b71930945fe1\COMCTL32.dll+00111330 DefSubclassProc+00000690
[ 18] 0x00007ffee965b1a5 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17134.950_none_f953b71930945fe1\COMCTL32.dll+00111013 DefSubclassProc+00000373
[ 19] 0x00007ffef3296d41 C:\Windows\System32\USER32.dll+00093505 CallWindowProcW+00001217
[ 20] 0x00007ffef32c7c9c C:\Windows\System32\USER32.dll+00294044 LoadMenuA+00000284
[ 21] 0x00007ffef32c839b C:\Windows\System32\USER32.dll+00295835 CallWindowProcA+00000027
[ 22] 0x00000000fa658ca0 C:\Program Files\MATLAB\R2019b\bin\win64\nativejava.dll+00036000 Java_com_mathworks_util_NativeJava_SetNextModalParent+00025728
[ 23] 0x00007ffef3296d41 C:\Windows\System32\USER32.dll+00093505 CallWindowProcW+00001217
[ 24] 0x00007ffef3296a1c C:\Windows\System32\USER32.dll+00092700 CallWindowProcW+00000412
[ 25] 0x00007ffef32a04d3 C:\Windows\System32\USER32.dll+00132307 IsWindowVisible+00000419
[ 26] 0x00007ffef5aee6b4 C:\Windows\SYSTEM32\ntdll.dll+00648884 KiUserCallbackDispatcher+00000036
[ 27] 0x00007ffef2ec10a4 C:\Windows\System32\win32u.dll+00004260 NtUserPeekMessage+00000020
[ 28] 0x00007ffef32986b3 C:\Windows\System32\USER32.dll+00100019 PeekMessageW+00000371
[ 29] 0x00007ffef3298645 C:\Windows\System32\USER32.dll+00099909 PeekMessageW+00000261
[ 30] 0x00007ffec229acea C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00830698 AWTIsHeadless+00003274
[ 31] 0x00007ffec229d2e7 C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00840423 Java_sun_awt_windows_WToolkit_getNumberOfButtonsImpl+00000551
[ 32] 0x00007ffec229d5db C:\Program Files\MATLAB\R2019b\sys\java\jre\win64\jre\bin\awt.dll+00841179 Java_sun_awt_windows_WToolkit_eventLoop+00000059
[ 33] 0x000000006a638c67 <unknown-module>+00000000
[ 34] 0x000000006a130000 <unknown-module>+00000000
[ 35] 0x0000000069ba0bd8 <unknown-module>+00000000
[ 36] 0x00000000f8024e05 <unknown-module>+00000000
[ 37] 0x000000006a130000 <unknown-module>+00000000
[ 38] 0x000000006a638962 <unknown-module>+00000000
[ 39] 0x00000000c858f488 <unknown-module>+00000000
[ 40] 0x0000000069ba0bd8 <unknown-module>+00000000
[ 41] 0x00000000c858f4e8 <unknown-module>+00000000
[ 42] 0x0000000069ba7028 <unknown-module>+00000000

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 19 de Mayo de 2021
Editada: MathWorks Support Team el 19 de Mayo de 2021
This is a known issue introduced as of Windows 10 version 1803 (but also present in versions 1809 and 1903).  The source of the issue is related to popup windows and focus management.  The crash has been found to be reproducible in several MATLAB releases, including R2017b, R2018a, R2018b, R2019a, and R2019b.
Microsoft has rolled out the fix in the November 2019 Update for Windows 10, which "addresses an issue with MSCTF.dll that causes an application to stop working".  To resolve the issue causing the MATLAB crashes, please apply the latest, relevant updates to your Windows 10 version:
Here is the link for Windows 10 version 1803:
Here is the link for Windows 10 version 1809:
Here is the link for Windows 10 version 1903:

Más respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by