control + C will cause Volta-shim hang, and break whole process.
when I cancel some command by control + c, it will randomly trigger this bug. git, node, pnpm and all my tool will broken until I stop the process(vscode)
^ I had this problem after upgrading Ubuntu to a new version of the kernel. I was on a version of Volta ~1 with Ubuntu 20, but then upgraded to Ubuntu 22 last week. After doing this pressing Ctrl+C started putting my process into "uninterruptible sleep" (D) mode.
I fixed it by upgrading Volta to the latest version.
This might help in your case, though, I suspect that the fact this worked for me, means that potentially there can be other types of incompatibilities so YMMV.
It seems that during shutdown, the process attempted to cancel pending io_uring operations. The older Volta version interfered with clean signal handling or process teardown, leading to the process getting stuck in the kernel during io_uring cleanup (io_uring_clean_tctx and io_uring_cancel_generic). This is as much as I could find out using strace and looking at cat /proc/[pid]/stack.
[<0>] io_uring_del_tctx_node+0x56/0xc0
[<0>] io_uring_clean_tctx+0x5d/0xd0
[<0>] io_uring_cancel_generic+0x196/0x360
[<0>] __io_uring_cancel+0x14/0x20
[<0>] do_exit+0x17f/0x530
[<0>] do_group_exit+0x35/0x90
[<0>] get_signal+0x972/0x9b0
[<0>] arch_do_signal_or_restart+0x39/0x120
[<0>] syscall_exit_to_user_mode+0x203/0x260
[<0>] do_syscall_64+0x8d/0x170
[<0>] entry_SYSCALL_64_after_hwframe+0x78/0x80