Skip to content

CLI crashing #1468

@arishrehmankhan

Description

@arishrehmankhan

Describe the bug

CLI crashes when I give this prompt:

Research online using subagents and download the Claude/Copilot/AI agents skill which would be good while developing the @plan.md like frontend/backend/react skills. Try to install them by running cli commands instead of fetching and storing them in files, refer: https://github.com/skillcreatorai/Ai-Agent-Skills

Backtrace:

#
# Fatal process out of memory: Zone
#
----- Native stack trace -----

 1: 00007FF70A87D52D node::MultiIsolatePlatform::DisposeIsolate+5341
 2: 00007FF70BCCC206 v8::base::FatalOOM+54
 3: 00007FF70B56D9C5 v8::Function::NewInstance+245
 4: 00007FF70AEE8A46 v8::SnapshotCreator::GetIsolate+56566
 5: 00007FF70C13F69A v8::base::DiyFp::Multiply+2470186
 6: 00007FF70C13ED8B v8::base::DiyFp::Multiply+2467867
 7: 00007FF70C13E24D v8::base::DiyFp::Multiply+2464989
 8: 00007FF70C13DD24 v8::base::DiyFp::Multiply+2463668
 9: 00007FF70C13D2B1 v8::base::DiyFp::Multiply+2460993
10: 00007FF70C13D00F v8::base::DiyFp::Multiply+2460319
11: 00007FF70BF49A46 v8::base::DiyFp::Multiply+414934
12: 00007FF70BF48760 v8::base::DiyFp::Multiply+410096
13: 00007FF70BD2C4EB v8::internal::compiler::CompilationDependencies::FieldTypeDependencyOffTheRecord+192907
14: 00007FF70ABE2346 DSA_get0_engine+659126
15: 00007FF70ABDDA83 DSA_get0_engine+640499
16: 00007FF70ABDD369 DSA_get0_engine+638681
17: 00007FF70BD3FDDF v8::base::SysInfo::AddressSpaceEnd+3167
18: 00007FF70A8793EE node::GetNodeReport+89326
19: 00007FF70B5C2DE6 uv_thread_detach+150
20: 00007FF70C804173 v8::base::UnsignedDivisionByConstant<unsigned __int64>+2903907
21: 00007FF9318AE8D7 BaseThreadInitThunk+23
22: 00007FF932BAC40C RtlUserThreadStart+44

Affected version

GitHub Copilot CLI 0.0.410.

Steps to reproduce the behavior

  1. Type:
Research online using subagents and download the Claude/Copilot/AI agents skill which would be good while developing the @plan.md like frontend/backend/react skills. Try to install them by running cli commands instead of fetching and storing them in files, refer: https://github.com/skillcreatorai/Ai-Agent-Skills
  1. Copilot CLI will crash when it ask to run npx command

Expected behavior

Should not crash.

Additional context

● Connected to Visual Studio Code

❯ Research online using subagents and download the Claude/Copilot/AI agents skill which would be good while developing the @plan.md like frontend/backend/react
skills. Try to install them by running cli commands instead of fetching and storing them in files, refer: https://github.com/skillcreatorai/Ai-Agent-Skills

● Read plan.md
└ 66 lines read

● Explore: Researching skill repo
● General-purpose: Researching skills web
● Fetching web content: https://github.com/skillcreatorai/Ai-Agent-Skills
└ Contents of https://github.com/skillcreatorai/Ai-Agent-Skills:
● Fetching web content: https://raw.githubusercontent.com/skillcreatorai/Ai-Agent-Skills/main/README.md
└ Content type text/plain; charset=utf-8 cannot be simplified to markdown. Here...

● Fetching web content: https://raw.githubusercontent.com/skillcreatorai/Ai-Agent-Skills/main/README.md
└ Content type text/plain; charset=utf-8 cannot be simplified to markdown. Here...

○ Install selected AI agent skills via npx
$ $skills = @('ask-questions-if-underspecified','frontend-design','artifacts-builder','javascript-typescript','backend-development','database-design','webapp-testin
g','code-review'); foreach ($s in $skills) { Write-Host "`n=== Installing $s to Claude ==="; npx --yes ai-agent-skills install $s --agent claude; Write-Host "===
Installing $s to VS Code/Copilot ==="; npx --yes ai-agent-skills install $s --agent vscode }

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Install selected AI agent skills via npx │
│ │
│ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ $skills = @('ask-questions-if-underspecified','frontend-design','artifacts-builder','javascript-typescript','backend-development','database-design','webapp-te │ │
│ │ sting','code-review'); foreach ($s in $skills) { Write-Host "`n=== Installing $s to Claude ==="; npx --yes ai-agent-skills install $s --agent claude; │ │
│ │ Write-Host "=== Installing $s to VS Code/Copilot ==="; npx --yes ai-agent-skills install $s --agent vscode } │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ Do you want to run this command? │
│ │
│ ❯ 1. Yes │
│ 2. No, and tell Copilot what to do differently (Esc to stop) │
│ │
│ ↑↓ to navigate · Enter to select · Esc to cancel │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Fatal process out of memory: Zone

----- Native stack trace -----

1: 00007FF70A87D52D node::MultiIsolatePlatform::DisposeIsolate+5341
2: 00007FF70BCCC206 v8::base::FatalOOM+54
3: 00007FF70B56D9C5 v8::Function::NewInstance+245
4: 00007FF70AEE8A46 v8::SnapshotCreator::GetIsolate+56566
5: 00007FF70C13F69A v8::base::DiyFp::Multiply+2470186
6: 00007FF70C13ED8B v8::base::DiyFp::Multiply+2467867
7: 00007FF70C13E24D v8::base::DiyFp::Multiply+2464989
8: 00007FF70C13DD24 v8::base::DiyFp::Multiply+2463668
9: 00007FF70C13D2B1 v8::base::DiyFp::Multiply+2460993
10: 00007FF70C13D00F v8::base::DiyFp::Multiply+2460319
11: 00007FF70BF49A46 v8::base::DiyFp::Multiply+414934
12: 00007FF70BF48760 v8::base::DiyFp::Multiply+410096
13: 00007FF70BD2C4EB v8::internal::compiler::CompilationDependencies::FieldTypeDependencyOffTheRecord+192907
14: 00007FF70ABE2346 DSA_get0_engine+659126
15: 00007FF70ABDDA83 DSA_get0_engine+640499
16: 00007FF70ABDD369 DSA_get0_engine+638681
17: 00007FF70BD3FDDF v8::base::SysInfo::AddressSpaceEnd+3167
18: 00007FF70A8793EE node::GetNodeReport+89326
19: 00007FF70B5C2DE6 uv_thread_detach+150
20: 00007FF70C804173 v8::base::UnsignedDivisionByConstant+2903907
21: 00007FF9318AE8D7 BaseThreadInitThunk+23
22: 00007FF932BAC40C RtlUserThreadStart+44

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions