kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

Bash tool hangs when called command segfaults

Open shssoichiro opened this issue 4 months ago • 1 comments

Description

Image

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

shssoichiro avatar Jul 30 '26 02:07 shssoichiro

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.

Hardik180704 avatar Jul 30 '26 04:07 Hardik180704