iTerm2 crashes on resizing
Hi
This has been happening for a while but it only crashes the frontend so I can just restart and don't lose anything and I haven't had time to report it.
It seems to happen when I maximize a window but not always, it's a bit hard to tell.
Here is the bottom of the backtrace, also attached: crash
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff801740112 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff801776214 pthread_kill + 263
2 libsystem_c.dylib 0x7ff8016c2d10 abort + 123
3 libsystem_c.dylib 0x7ff8016c20be __assert_rtn + 314
4 iTerm2 0x10f69c4a3 -[PTYTextView refresh].cold.2 + 35
5 iTerm2 0x10f090b72 -[PTYTextView refresh] + 1103
6 iTerm2 0x10f05115b -[PTYSession refresh] + 104
7 iTerm2 0x10f06978b -[PTYSession screenNeedsRedraw] + 30
8 iTerm2 0x10f5133d8 __112-[VT100ScreenMutableState(Resizing) didResizeToSize:selection:couldHaveSelection:subSelections:newTop:delegate:]_block_invoke.347 + 132
9 iTerm2 0x10f313800 -[VT100ScreenMutableState reallyPerformSideEffect:delegate:] + 185
10 iTerm2 0x10f3136d0 -[VT100ScreenMutableState performSideEffect:] + 210
iTerm2 3.5.20220503-nightly Darwin macbook-pro 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64
Thanks