[BUG] crash on large parquet files' names in a command claude runs

Resolved 💬 3 comments Opened Jul 11, 2025 by max-sixty Closed Dec 10, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [x] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.44
  • Operating System: Linux (with some hackery to get claude working with glibc 2.17, which may be related...)
  • Terminal: Alacritty

Bug Description

I get a very odd bug — whenever a large parquet file has its name in the prompt that claude runs, claude crashes. I got claude to investigate and prepare the description below.

is there any chance that there's some process that's looking at files that are being passed in, and opening them? (seems unlikely, but it's a bemusing error...)

Claude continues below:

Summary

Claude CLI crashes with V8 JavaScript errors when encountering paths to large existing .parquet files in commands.

Crashes

1. Large .parquet file (698MB)

# Assume /path/to/large.parquet exists and is 698MB
claude -p 'run: python -c "print(\"/path/to/large.parquet\")"'

2. Any quote style crashes

claude -p "run: python -c \"print('/path/to/large.parquet')\""
claude -p 'run: python -c "print(\"/path/to/large.parquet\")"'

3. Even with syntax errors

# Missing quotes around path still crashes
claude -p 'run: python -c "print(/path/to/large.parquet)"'

Does NOT Crash

1. Non-existent file

claude -p 'run: python -c "print(\"/path/to/nonexistent.parquet\")"'

2. Small .parquet file (586 bytes)

# Create small parquet first
claude -p 'run: python -c "print(\"/path/to/small.parquet\")"'

3. Empty .parquet file

touch /tmp/empty.parquet
claude -p 'run: python -c "print(\"/tmp/empty.parquet\")"'

4. Same path without .parquet extension

claude -p 'run: python -c "print(\"/path/to/large\")"'

5. Other file extensions

claude -p 'run: python -c "print(\"/path/to/large.txt\")"'

6. Script files (workaround)

echo 'print("/path/to/large.parquet")' > script.py
claude -p "run python script.py"

Pattern

  • File must exist AND be large AND have .parquet extension
  • Path length doesn't matter
  • Quote style doesn't matter
  • Crashes at Node.js layer before Python executes

Error

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
----- JavaScript stack trace -----
1: readFileSync (node:fs:453:20)

View original on GitHub ↗

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