openclaw - 💡(How to fix) Fix [Bug]: CLI Stack Overflow in loadOpenClawPlugins / recordPluginError (2026.4.5) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#62320Fetched 2026-04-08 03:06:04
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
cross-referenced ×4labeled ×2commented ×1

版本:OpenClaw 2026.4.5 操作系统版本:OpenClaw 2026.4.5 系统:Windows:Windows Node 版本:v24.14.1

Root Cause

版本:OpenClaw 2026.4.5 操作系统版本:OpenClaw 2026.4.5 系统:Windows:Windows Node 版本:v24.14.1

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

版本:OpenClaw 2026.4.5 操作系统版本:OpenClaw 2026.4.5 系统:Windows:Windows Node 版本:v24.14.1

Steps to reproduce

所有 CLI 命令(status、devices list、pairing list)都报错 "Maximum call stack size exceeded" 但 Gateway 网页正常访问。 移走配置文件后 CLI 恢复正常,恢复配置后又崩溃。

Expected behavior

CLI 不应该因为配置文件内容而崩溃。

Actual behavior

执行 CLI 命令时报错: RangeError: Maximum call stack size exceeded at loadOpenClawPlugins (loader-BkajlJCF.js:2528:4) at recordPluginError (loader-BkajlJCF.js:2023:16) 受影响的命令: openclaw status openclaw devices list openclaw pairing list Gateway 正常运行(HTTP 200),但所有 CLI 子命令都崩溃。 复现条件 关闭 memory-core 的 dreaming 功能后,问题仍然存在 把 openclaw.json 移走 → CLI 命令立即恢复正常 恢复 openclaw.json → CLI 再次崩溃 配置文件是有效的 JSON,无循环引用,无超大值 推测原因 recordPluginError() 函数内部似乎又调用了 loadOpenClawPlugins(), 在处理特定插件配置时触发无限递归,导致栈溢出。 环境信息 配置文件中有以下插件: memory-core(已关闭 dreaming) minimax openclaw-weixin 以及其他插件

OpenClaw version

2026.4.5

Operating system

win11

Install method

No response

Model

minimax2.7

Provider / routing chain

minimax2.7

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

memory-core(已关闭 dreaming) minimax openclaw-weixin 以及其他插件

Additional information

CLI 不应该因为配置文件内容而崩溃。

extent analysis

TL;DR

The most likely fix is to identify and remove or correct the problematic plugin configuration in the openclaw.json file that is causing an infinite recursion.

Guidance

  • Review the openclaw.json file for any circular references or incorrect configurations that could be causing the loadOpenClawPlugins function to call itself infinitely.
  • Try removing plugins one by one from the configuration file to identify which specific plugin is causing the issue.
  • Check the recordPluginError function to see if it is correctly handling errors and not causing the infinite recursion.
  • Verify that the openclaw.json file is valid JSON and does not contain any syntax errors.

Example

No specific code example can be provided without more information about the loadOpenClawPlugins and recordPluginError functions.

Notes

The issue seems to be related to a specific plugin configuration, but without more information about the plugins and their configurations, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by removing or correcting the problematic plugin configuration in the openclaw.json file, as it is likely that the issue is caused by an incorrect or circular reference in the configuration.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

CLI 不应该因为配置文件内容而崩溃。

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING