Skip to content

[BUG] Claude Code 2.0.43+ exits immediately after rendering welcome screen on RHEL8 #12084

Description

@tmclean-feith

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Starting with version 2.0.43, Claude Code's interactive TUI renders the welcome screen but immediately exits with code 0. Non-interactive mode (claude -p) works perfectly.

Debug observations:

  • Shell snapshot creation completes successfully
  • All initialization completes without errors
  • TUI renders correctly
  • stdin/stdout/stderr are all TTYs
  • claude -p "test" works perfectly
  • Issue is specific to interactive TUI event loop

Terminal capabilities confirmed working:

  • TERM=xterm-256color
  • All terminfo entries present
  • stdin/stdout are TTYs
  • No environment variable issues

What Should Happen?

TUI should remain interactive and wait for user input.

Error Messages/Logs

None, it fails silently.

Steps to Reproduce

  1. Install Claude Code 2.0.43 or later on RHEL 8
  2. Run claude in any directory
  3. Welcome screen appears briefly then process exits immediately

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.42

Claude Code Version

2.0.43, 2.0.49 (latest as of this ticket)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corearea:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions