kilocode
kilocode copied to clipboard
Bash tool hangs when called command segfaults
Description
When the agent calls a command using the bash tool, and the command segfaults, the bash tool hangs indefinitely instead of exiting with a failed status code.
Workaround: User needs to manually interrupt the session.
Plugins
No response
Kilo version
git 3b8bd23e1bec1f90c4c8630ceb39f120c0eb9c05
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Linux
Terminal
No response
Hi! I’d like to work on this issue. I’ll reproduce the hang caused by a segfaulting command, investigate the Bash tool’s process-exit handling, implement a focused fix, and add regression coverage. I’ll raise a PR as soon as the work is completed and verified.