Skip to content

GitHub Copilot Chat 0.48.1 crashes with TypeError: Cannot read properties of undefined (reading 'bind') #317240

@ramirodeolazabal

Description

@ramirodeolazabal

Type: Bug

GitHub Copilot Chat 0.48.1 crashes both locally and over Remote-SSH.

Local:

  • macOS
  • VS Code 1.117.0
  • GitHub Copilot Chat 0.48.1
  • Path: /Users/ramiro/.vscode/extensions/github.copilot-chat-0.48.1

Remote:

  • Linux 5.14.0-284.30.1.el9_2.x86_64
  • Remote-SSH
  • VS Code Server
  • Path: ~/.vscode-server/extensions/github.copilot-chat-0.48.1

Error:
TypeError: Cannot read properties of undefined (reading 'bind')
at new Yoe (.../github.copilot-chat-0.48.1/dist/extension.js:2349:2661)
...
at async ok.runWithToolCalling (.../extension.js:2414:11)

Network and authentication are working. Copilot token is obtained, model metadata is fetched, and earlier gpt-4o-mini internal requests succeed. The crash occurs inside the Copilot Chat extension.

Extension version: 0.48.1
VS Code version: Code 1.117.0 (10c8e55, 2026-04-21T16:12:14-07:00)
OS version: Darwin x64 22.3.0
Modes:

Logs
Trace: choice {"delta":{"content":"aping"}}
Trace: choice {"delta":{"content":" your"}}
Trace: choice {"delta":{"content":" coding"}}
Trace: choice {"delta":{"content":" dream"}}
Debug: Fetcher telemetry: Succeeded in 221ms using electron-fetch with status 200 ().
Trace: choice {"delta":{"content":"\",\n"}}
Trace: choice {"delta":{"content":"   "}}
Trace: choice {"delta":{"content":" \""}}
Trace: choice {"delta":{"content":"As"}}
Trace: choice {"delta":{"content":"sembling"}}
Trace: choice {"delta":{"content":" the"}}
Trace: choice {"delta":{"content":" code"}}
Trace: choice {"delta":{"content":" puzzle"}}
Trace: choice {"delta":{"content":"\",\n"}}
Trace: choice {"delta":{"content":"   "}}
Trace: choice {"delta":{"content":" \""}}
Trace: choice {"delta":{"content":"Design"}}
Trace: choice {"delta":{"content":"ing"}}
Trace: choice {"delta":{"content":" your"}}
Trace: choice {"delta":{"content":" solution"}}
Trace: choice {"delta":{"content":"\",\n"}}
Trace: choice {"delta":{"content":"   "}}
Trace: choice {"delta":{"content":" \""}}
Trace: choice {"delta":{"content":"Craft"}}
Trace: choice {"delta":{"content":"ing"}}
Trace: choice {"delta":{"content":" the"}}
Trace: choice {"delta":{"content":" perfect"}}
Trace: choice {"delta":{"content":" script"}}
Trace: choice {"delta":{"content":"\",\n"}}
Trace: choice {"delta":{"content":"   "}}
Trace: choice {"delta":{"content":" \""}}
Trace: choice {"delta":{"content":"Loading"}}
Trace: choice {"delta":{"content":" your"}}
Trace: choice {"delta":{"content":" code"}}
Trace: choice {"delta":{"content":" creation"}}
Trace: choice {"delta":{"content":"\"\n"}}
Trace: choice {"delta":{"content":"]"}}
Trace: choice {"finish_reason":"stop","delta":{"content":null}}
Info: message 0 returned. finish reason: [stop]
Debug: message 0 details: finishOffset: [undefined] completionId: [{chatcmpl-Dh6mm9dnDQhxRg83SfkhxeHuMeMH2}] created: [{1779166560}]
Info: request done: requestId: [9fc34a16-51b7-4ebc-980d-24f5a90e48d0] model deployment ID: []
Info: ccreq:7bd35387.copilotmd | success | gpt-4o-mini-2024-07-18 | 4920ms | [progressMessages]
Trace: [InlineChatProgressMessages] Fetched 10 messages for generate
Debug: Fetcher telemetry: Succeeded in 2354ms using node-http with status 200 (OK).
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: copilotCloudSessionsProvider#provideChatSessionItems: repoIds=[], isAgentSessionsWorkspace=false
Debug: copilotCloudSessionsProvider#provideChatSessionItems: not a GitHub repo, returning empty
Debug: [CopilotCLI] Found 0 JSONL sessions and 0 legacy sessions
Info: [CopilotCLIChatSessionContentProvider] listSessions took 6.034267999995791ms
Request IDs
82d3dc10-4ad8-4bc6-b120-9e6e2c30da51
9422e839-1c80-4716-9edb-6f3919a8f76f
9fc34a16-51b7-4ebc-980d-24f5a90e48d0
System Info
Item Value
CPUs Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086 [Google Inc. (Intel)], DEVICE=0x87c0 [ANGLE (Intel, ANGLE Metal Renderer: Intel(R) UHD Graphics 617, Version 13.2.1 (Build 22D68))], DRIVER_VENDOR=Intel, DRIVER_VERSION=13.2.1 ACTIVE
Machine model name: MacBookAir
Machine model version: 8.2
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 64, 74, 83
Memory (System) 8.00GB (0.23GB free)
Process Argv --crash-reporter-id aa57434b-3650-48cb-8479-f5339ea96542
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478678
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
ts_provider_disabled:31458191
c9b86496:31447327
control_6dc23131:31513471
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31507493
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_c:31478207
1b2f8594:31509479
getcmakediagnosticsoff:31489825
ja75b849:31515466
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_c_632:31510883
56dj4588:31512888
ha629193:31508444
api_cot_ctrl:31513533

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions