Open chtenb opened 5 months ago
could you attach windbg to wezterm to see where it hangs? this way we could see if this is related to #5882
I attached it to wezterm-gui when the process was hanging. I have no experience with windbg. This is the output it gave:
Microsoft (R) Windows Debugger Version 10.0.10240.9 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
*** wait with pending attach
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00007ff6`9c540000 00007ff6`a06c6000 C:\Program Files\WezTerm\wezterm-gui.exe
ModLoad: 00007ffe`6b8f0000 00007ffe`6bb07000 C:\WINDOWS\SYSTEM32\ntdll.dll
ModLoad: 00007ffe`6b4b0000 00007ffe`6b574000 C:\WINDOWS\System32\KERNEL32.DLL
ModLoad: 00007ffe`68d30000 00007ffe`690dd000 C:\WINDOWS\System32\KERNELBASE.dll
ModLoad: 00007ffe`691f0000 00007ffe`6926b000 C:\WINDOWS\System32\bcryptprimitives.dll
ModLoad: 00007ffe`6ada0000 00007ffe`6aeb4000 C:\WINDOWS\System32\RPCRT4.dll
ModLoad: 00007ffe`67b30000 00007ffe`67c66000 C:\WINDOWS\SYSTEM32\WINHTTP.dll
ModLoad: 00007ffe`69840000 00007ffe`699e5000 C:\WINDOWS\System32\ole32.dll
ModLoad: 00007ffe`68c10000 00007ffe`68d21000 C:\WINDOWS\System32\ucrtbase.dll
ModLoad: 00007ffe`690e0000 00007ffe`6917a000 C:\WINDOWS\System32\msvcp_win.dll
ModLoad: 00007ffe`699f0000 00007ffe`69a99000 C:\WINDOWS\System32\sechost.dll
ModLoad: 00007ffe`69aa0000 00007ffe`69ac9000 C:\WINDOWS\System32\GDI32.dll
ModLoad: 00007ffe`693c0000 00007ffe`693e8000 C:\WINDOWS\System32\bcrypt.dll
ModLoad: 00007ffe`69270000 00007ffe`69296000 C:\WINDOWS\System32\win32u.dll
ModLoad: 00007ffe`692a0000 00007ffe`693b9000 C:\WINDOWS\System32\gdi32full.dll
ModLoad: 00007ffe`6b580000 00007ffe`6b72e000 C:\WINDOWS\System32\USER32.dll
ModLoad: 00007ffe`69de0000 00007ffe`6a16d000 C:\WINDOWS\System32\combase.dll
ModLoad: 00007ffe`694b0000 00007ffe`69617000 C:\WINDOWS\System32\CRYPT32.dll
ModLoad: 00007ffe`6a330000 00007ffe`6ab97000 C:\WINDOWS\System32\shell32.dll
ModLoad: 00007ffe`678f0000 00007ffe`678fc000 C:\WINDOWS\SYSTEM32\Secur32.dll
ModLoad: 00007ffe`22f80000 00007ffe`23080000 C:\WINDOWS\SYSTEM32\OPENGL32.dll
ModLoad: 00007ffe`6b830000 00007ffe`6b8a1000 C:\WINDOWS\System32\ws2_32.dll
ModLoad: 00007ffe`6aba0000 00007ffe`6ac47000 C:\WINDOWS\System32\msvcrt.dll
ModLoad: 00007ffe`6ace0000 00007ffe`6ad92000 C:\WINDOWS\System32\advapi32.dll
ModLoad: 00007ffe`22f10000 00007ffe`22f3d000 C:\WINDOWS\SYSTEM32\GLU32.dll
ModLoad: 00007ffe`6b030000 00007ffe`6b4a4000 C:\WINDOWS\System32\setupapi.dll
ModLoad: 00007ffe`69620000 00007ffe`696f7000 C:\WINDOWS\System32\oleaut32.dll
ModLoad: 00007ffe`61cf0000 00007ffe`620d6000 C:\WINDOWS\SYSTEM32\d3dcompiler_47.dll
ModLoad: 00007ffe`69cc0000 00007ffe`69db9000 C:\WINDOWS\System32\shcore.dll
ModLoad: 00007ffe`68350000 00007ffe`6836b000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
ModLoad: 00007ffe`69c10000 00007ffe`69c41000 C:\WINDOWS\System32\imm32.dll
ModLoad: 00007ffe`68150000 00007ffe`68178000 C:\WINDOWS\SYSTEM32\userenv.dll
ModLoad: 00007ffe`65ad0000 00007ffe`65b80000 C:\WINDOWS\SYSTEM32\uxtheme.dll
ModLoad: 00007ffe`65d00000 00007ffe`65d2b000 C:\WINDOWS\SYSTEM32\dwmapi.dll
ModLoad: 00007ffe`67390000 00007ffe`673bd000 C:\WINDOWS\SYSTEM32\iphlpapi.dll
ModLoad: 00007ffe`469c0000 00007ffe`469de000 C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffe`67eb0000 00007ffe`67ef3000 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
ModLoad: 00007ffe`682b0000 00007ffe`682bc000 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
ModLoad: 00007ffe`65bb0000 00007ffe`65be7000 C:\WINDOWS\SYSTEM32\dxcore.dll
ModLoad: 00007ffe`66970000 00007ffe`6726e000 C:\WINDOWS\SYSTEM32\windows.storage.dll
ModLoad: 00007ffe`66830000 00007ffe`6696f000 C:\WINDOWS\SYSTEM32\wintypes.dll
ModLoad: 00007ffe`69700000 00007ffe`6975e000 C:\WINDOWS\System32\shlwapi.dll
ModLoad: 00007ffe`68b40000 00007ffe`68b61000 C:\WINDOWS\SYSTEM32\profapi.dll
ModLoad: 00007ffe`680b0000 00007ffe`68119000 C:\WINDOWS\system32\mswsock.dll
ModLoad: 00007ffe`29e60000 00007ffe`29e68000 C:\WINDOWS\system32\wshunix.dll
ModLoad: 00007ffe`4f780000 00007ffe`4f79f000 C:\Program Files\WezTerm\conpty.dll
ModLoad: 00007ffe`626d0000 00007ffe`62943000 C:\WINDOWS\SYSTEM32\dwrite.dll
ModLoad: 00007ffe`6aed0000 00007ffe`6b02b000 C:\WINDOWS\System32\MSCTF.dll
ModLoad: 00007ffe`67b10000 00007ffe`67b28000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
ModLoad: 00007ffe`50cf0000 00007ffe`50e3e000 C:\WINDOWS\SYSTEM32\textinputframework.dll
ModLoad: 00007ffe`4f5d0000 00007ffe`4f733000 C:\WINDOWS\SYSTEM32\vulkan-1.dll
ModLoad: 00007ffe`68840000 00007ffe`6888e000 C:\WINDOWS\SYSTEM32\CFGMGR32.dll
ModLoad: 00007ffe`65bf0000 00007ffe`65ce7000 C:\WINDOWS\system32\dxgi.dll
ModLoad: 00007ffe`5bb70000 00007ffe`5bb8a000 C:\WINDOWS\SYSTEM32\windows.staterepositorycore.dll
ModLoad: 00007ffe`5dbe0000 00007ffe`5dc29000 C:\WINDOWS\SYSTEM32\directxdatabasehelper.dll
ModLoad: 00007ffe`4bd10000 00007ffe`4d01d000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igvk64.dll
ModLoad: 00007ffe`58bc0000 00007ffe`59000000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igdgmm64.dll
ModLoad: 00007ffe`54b20000 00007ffe`58b9a000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igc64.dll
ModLoad: 00007ffe`4f480000 00007ffe`4f5c4000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igvkMedia64.dll
ModLoad: 00007ffe`07af0000 00007ffe`08e9a000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igddxvacommon64.dll
ModLoad: 00007ffd`e89c0000 00007ffd`ea6ed000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\media_bin_64.dll
ModLoad: 00007ffe`67a70000 00007ffe`67aa5000 C:\WINDOWS\system32\rsaenh.dll
ModLoad: 00007ffe`4f450000 00007ffe`4f476000 C:\WINDOWS\SYSTEM32\d3d12.dll
ModLoad: 00007ffe`63290000 00007ffe`633c3000 C:\WINDOWS\SYSTEM32\CoreMessaging.dll
ModLoad: 00007ffe`69ad0000 00007ffe`69b80000 C:\WINDOWS\System32\clbcatq.dll
ModLoad: 00007ffe`068e0000 00007ffe`07ae6000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igxelpicd64.dll
ModLoad: 00007ffe`655e0000 00007ffe`65614000 C:\WINDOWS\SYSTEM32\WINMM.dll
ModLoad: 00007ffe`4f300000 00007ffe`4f44d000 C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_0955b895c8fb702b\igdml64.dll
ModLoad: 00007ffe`68920000 00007ffe`6896d000 C:\WINDOWS\SYSTEM32\powrprof.dll
ModLoad: 00007ffe`68900000 00007ffe`68913000 C:\WINDOWS\SYSTEM32\UMPDC.dll
ModLoad: 00007ffe`4f0f0000 00007ffe`4f2f2000 C:\WINDOWS\SYSTEM32\D3D12Core.dll
ModLoad: 00007ffe`543f0000 00007ffe`54552000 C:\WINDOWS\SYSTEM32\drvstore.dll
ModLoad: 00007ffe`5bb60000 00007ffe`5bb6a000 C:\WINDOWS\SYSTEM32\version.dll
ModLoad: 00007ffe`4d730000 00007ffe`4d75f000 C:\WINDOWS\SYSTEM32\D3DSCache.dll
ModLoad: 00007ffe`5c3b0000 00007ffe`5c63a000 C:\WINDOWS\SYSTEM32\twinapi.appcore.dll
ModLoad: 00007ffe`538f0000 00007ffe`53a65000 C:\Windows\System32\Windows.UI.dll
ModLoad: 00007ffe`5d5d0000 00007ffe`5d93d000 C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
ModLoad: 00007ffe`673c0000 00007ffe`674b8000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
ModLoad: 00007ffe`69c50000 00007ffe`69c59000 C:\WINDOWS\System32\NSI.dll
ModLoad: 00007ffe`5c9c0000 00007ffe`5c9ca000 C:\Windows\System32\rasadhlp.dll
ModLoad: 00007ffe`61000000 00007ffe`61083000 C:\WINDOWS\System32\fwpuclnt.dll
ModLoad: 00007ffe`67970000 00007ffe`67a17000 C:\WINDOWS\system32\schannel.DLL
ModLoad: 00007ffe`68450000 00007ffe`6847e000 C:\WINDOWS\SYSTEM32\ncrypt.dll
ModLoad: 00007ffe`68410000 00007ffe`68447000 C:\WINDOWS\SYSTEM32\NTASN1.dll
ModLoad: 00007ffe`32f10000 00007ffe`32f37000 C:\WINDOWS\system32\ncryptsslp.dll
ModLoad: 00007ffe`68820000 00007ffe`68832000 C:\WINDOWS\SYSTEM32\MSASN1.dll
ModLoad: 00007ffe`3a830000 00007ffe`3a862000 C:\Windows\System32\cryptnet.dll
ModLoad: 00007ffe`68120000 00007ffe`68146000 C:\WINDOWS\SYSTEM32\gpapi.dll
ModLoad: 00007ffe`35e90000 00007ffe`35efb000 C:\WINDOWS\system32\Ninput.dll
ModLoad: 00007ffe`65a90000 00007ffe`65aa7000 C:\WINDOWS\SYSTEM32\wtdccm.dll
(e8c.3bf0): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\SYSTEM32\ntdll.dll -
ntdll!DbgBreakPoint:
00007ffe`6b993c90 cc int 3
Is that something helpful, or is there something else I should be looking at?
I couldn't see anything but could you give the installer from this comment a try?
Thanks, I will install right away
@chtenb how did it go?
No crashes yet
Still no crashes
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20240520-135708-b8f94c47
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
When I try to close a pane, it sometimes happens that the entire wezterm application hangs. This is not new, it has happened to me since I started using wezterm about two years ago (I think?).
To Reproduce
I cannot reproduce this consistently, so I don't know if it has something to do with my config.
Configuration
see above, it's too much to post my entire config
Expected Behavior
no hang
Logs
No relevant log section
Anything else?
The windows event viewer reports the following:
Information 5/31/2024 3:17:40 PM Windows Error Reporting 1001 None
Error 5/31/2024 3:17:39 PM Application Hang 1002 Hanging Events