[BUG] core dumped while running slash command
Preflight Checklist
- [x] I have searched existing issues 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?
I was running the /ship command from my workflow manager project https://github.com/trakrf/claude-spec-workflow. I am in a rapid development cycle where I am using the tool to develop the tool. I just finished a /build and ran /ship to build a PR. Before it finished I got this crashdump.
Here's the feature branch that I was working on : https://github.com/trakrf/claude-spec-workflow/tree/feature/active-interactive-clarification. I wanted to move on to my next spec so I re-ran /ship, merged, and moved on. But I'll leave the feature branch for a few days.
Host OS Ubuntu 24.04 on an Incus container, 91GB ram available, 6 CPUs, 1.6T available in rootfs. So plenty of resources.
I did run this claude session for a few hours and I dont know how much context was available when I started the command.
I figured that I would report this just in case the crash dump would be helpful or informative in solving other issues
What Should Happen?
prompt should run to completion. the /ship command runs tests, commits, pushes to remote, and calls gh to create a PR
Error Messages/Logs
<--- Last few GCs --->
[1095197:0x1c128000] 18286004 ms: Scavenge (reduce) (interleaved) 4023.0 (4129.4) -> 4022.2 (4128.8) MB, pooled: 0 MB, 20.78 / 0.00 ms (average mu = 0.289, current mu = 0.305) allocation failure;
[1095197:0x1c128000] 18286887 ms: Mark-Compact (reduce) 4035.4 (4141.9) -> 3880.4 (3989.7) MB, pooled: 0 MB, 868.60 / 0.11 ms (+ 231.1 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1743 ms) (average mu = 0.417
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xe1803a node::OOMErrorHandler(char const*, v8::OOMDetails const&) [claude]
2: 0x11ec9c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [claude]
3: 0x11ecc97 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [claude]
4: 0x141a575 [claude]
5: 0x141a5a3 [claude]
6: 0x143367a [claude]
7: 0x1436848 [claude]
8: 0x1c9c351 [claude]
Aborted (core dumped)
Steps to Reproduce
It may be a one-off. when I reran the command it completed as expected
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.17 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
my workflow manager project: https://github.com/trakrf/claude-spec-workflow
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗