Skip to content

Interrupting BuildCookRun leaves its UnrealBuildTool child running (orphaned UBT process)

Section titled “Interrupting BuildCookRun leaves its UnrealBuildTool child running (orphaned UBT process)”
  • Status: current
  • Engine: ue6-main 61e2877e, Linux x86_64, Epic clang 23.1.5 (v27 SDK). AutomationTool and UnrealBuildTool of this revision.
  • Context: Standalone UE6 project packaged with RunUAT.sh BuildCookRun on Linux. UAT was interrupted on purpose, by a signal to its own process.
  • Prerequisites: A BuildCookRun command in its build phase, and ps to list processes by PID, parent PID and process group.

AutomationTool was sent SIGINT while the game target compiled. It exited with code 130. The UnrealBuildTool process it had started kept running: with a new parent, as the leader of its own process group, 54 seconds after it had started.

The UAT log ends with:

** For CoopZero-Linux-Development **
[1/5] Compile CoopStation.cpp
AutomationTool: Ctrl-C pressed. Exiting...
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 130

The lane’s timing file says wall_seconds=44 exit_code=130. The UBT process then briefly overlapped the start of the next editor commandlet in the same project.

Start the BuildCookRun command from the Zen oplog entry through the build wrapper. While UBT reports its first compile action, send SIGINT to the AutomationTool process. List the processes again: the dotnet … UnrealBuildTool.dll -Target=… -Project=… process is still there.

After an interrupted UAT run, look for a surviving UnrealBuildTool process before the next build or editor commandlet in the same project. Identify it by its command line, confirm that it leads its own process group and that the group has no other member, then end that group by its number. Do not use a name-wide kill: other projects on the shared machine run their own UBT.

The sequence the lane used, with its process ID and paths written as placeholders. Replace <UBT PID> with the process ID of the surviving UnrealBuildTool process:

Terminal window
ps -eo pid,ppid,pgid,stat,comm | awk '$3 == <UBT PID>'
ps -p <UBT PID> -o args= | rg -q "UnrealBuildTool\.dll .*$P/Saved/.*/Logs/" && kill -INT -- -<UBT PID>
ps -o pid,ppid,pgid,stat,comm -p <UBT PID>
ps -p <UBT PID> -o args= | rg -q "UnrealBuildTool\.dll .*$P/Saved/.*/Logs/" && kill -TERM -- -<UBT PID>
ps -o pid,ppid,pgid,stat,comm -p <UBT PID>

The group listing showed one process. After SIGINT the process was still listed. After SIGTERM the listing printed only its header.

UAT handled SIGINT by logging and leaving with code 130. It did not end the UBT process it had started for the build phase (observed). That process led its own process group, so a signal sent to the group number reaches it. INFERRED: the same signal reaches the compiler processes in that group. The check on the command line keeps the signal away from a UBT that belongs to another project.

  • Evidence level: compiled. After the interrupt the placement was re-run while the orphan was still alive, the orphan was then ended, and the Step 05 BuildCookRun logged BUILD SUCCESSFUL and AutomationTool exiting with ExitCode=0 (Success).
  • How: step05-pack-1125-013723.log has the four lines quoted above. Saved/step05-pack-interrupted.time has wall_seconds=44 exit_code=130. The process listings and the two signals are in the Step 05 lane transcript, $(dirname "$WRAP")/logs/lane-step05-codex-1125-0121.log. The later package is step05-pack-1125-013908.log.
  • Date / by: 2026-11-25, Coop Zero Step 05.

Seen once, in the build phase before cook, with SIGINT sent to AutomationTool by PID. Not recorded: an interrupt during cook, staging or pak; SIGTERM instead of SIGINT; the wrapper’s own timeout ending the run; whether the later build reused what the orphan had written; and the cause inside AutomationTool. The upstream status was not checked. The process listings come from the lane transcript, which JOURNAL.md and process/LOG.md do not index.