WebSearch crashes with SIGABRT in v2.1.11 (regression from v2.1.10)

Resolved 💬 2 comments Opened Jan 17, 2026 by sasm430 Closed Feb 27, 2026

Description

WebSearch tool crashes with SIGABRT in Claude CLI version 2.1.11 when using -p (print) mode. This is a regression - the same functionality works correctly in version 2.1.10.

Environment

  • Broken version: 2.1.11
  • Working version: 2.1.10
  • OS: Linux 5.15.0-163-generic (Ubuntu)
  • Installation method: native (linuxbrew)

Steps to Reproduce

Version 2.1.11 - CRASHES:

claude -p "Find the EAN-13 barcode for: Nivea Body Lotion 400ml. Search the web."
# Result: Aborted (core dumped), exit code 134

Version 2.1.10 - WORKS:

# Using the older version at the direct path
/home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js -p "Find the EAN-13 barcode for: Nivea Body Lotion 400ml. Search the web."
# Result: Works correctly, returns web search results

Expected Behavior

WebSearch should work in v2.1.11 just as it does in v2.1.10.

Actual Behavior

  • v2.1.10: WebSearch works, returns results with sources
  • v2.1.11: Crashes immediately when WebSearch tool is invoked

Example Working Output (v2.1.10)

The search query "Nivea Body Lotion 400ml" is too generic - Nivea makes many different 
body lotion variants in 400ml sizes, each with its own EAN-13. Here are two specific 
examples I found:

- **4005808837205** - Nivea Smooth Milk Body Lotion For Dry Skin 400ml
- **4005808725298** - Nivea Nourishing Lotion Body Milk Richly Caring For Very Dry Skin 400ml

Sources:
- https://eandata.com/lookup/4005808837205/
- https://eandata.com/lookup/4005808725298/

Additional Notes

  • The crash occurs specifically when the WebSearch tool is invoked
  • Using --output-format stream-json shows the crash happens right after the tool_use message is emitted
  • Disabling WebSearch with --disallowed-tools "WebSearch" prevents the crash but removes functionality
  • Interactive mode appears unaffected

Workaround

Downgrade to version 2.1.10 or use the older cli.js directly if still available.

Impact

This regression breaks all automated workflows that rely on web search in non-interactive mode.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗