anthropics / anthropics/claude-code

[BUG] Claude Code 2.1.261 crashes

Đang mở
#92,307 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:sandbox bug platform:windows
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

Any message (including /status) in the message box cause a crash, not at the app level, but the message doesn't get processed.
I am using the desktop version of Claude on Enterprise Windows.

Image

### What Should Happen?

This should work normally.

### Error Messages/Logs

```shell
Claude Code returned an error result: Sandbox required but unavailable: sandbox is enabled but the Windows sandbox is not active on this session (feature gate off). Set sandbox.failIfUnavailable=false to allow unsandboxed execution.

Error: sandbox required but unavailable: sandbox is enabled but the Windows sandbox is not active on this session (feature gate off)
sandbox.failIfUnavailable is set — refusing to start without a working sandbox.
```

### Steps to Reproduce

Just open a chat in claude code and type anything

### Claude Model

Sonnet (default)

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

2.1.261

### Claude Code Version

2.1.261

### Platform

Anthropic API

### Operating System

Windows

### Terminal/Shell

Other

### Additional Information

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reproducing Claude Code 2.1.261 on Windows with sandbox enabled and sandbox.failIfUnavailable set, then send any prompt such as /status. Trace where the sandbox availability check raises "sandbox required but unavailable" and how Windows sandbox feature gates are detected. Done means messages no longer fail unexpectedly in this setup, or the error path is intentionally handled or documented.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
cli, security
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.