You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
触发点是写会话投影缓存时的 JSON 合法性检查:按源码意图,遇到不符合“纯 JSON 无损序列化”契约的 unit state 应该抛出 TypeError: projection checkpoint is not losslessly JSON-serializable (a unit state violates the plain-JSON contract),实际却变成了不可捕获的致命错误:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
桌面版
0.1.7-rc.2在运行中(非启动阶段)宿主进程被 V8FATAL ERROR直接终止,Electron 壳随后自动拉起新 Host(用户侧表现:助手突然中断一次,随后会话仍在)。触发点是写会话投影缓存时的 JSON 合法性检查:按源码意图,遇到不符合“纯 JSON 无损序列化”契约的 unit state 应该抛出
TypeError: projection checkpoint is not losslessly JSON-serializable (a unit state violates the plain-JSON contract),实际却变成了不可捕获的致命错误:Reproduction
无法精确构造最小复现,现场条件如下:
session-754e0288-9611-4f10-9bb6-ea5332df2086,已经很长(见 Environment 的会话规模)desktopprofile 装有若干第三方插件:@dsh-external/dsh-client-ui-skin-deep-whale-day-night、@liustack/modlens、@huiliyi37/dsh-office、dsh-whale-widget,以及@deepseek-ai/dsh-time-context、@deepseek-ai/dsh-mcp-client(playwright,extension 模式)%APPDATA%\@deepseek-ai\dsh-desktop\logs\crash-2026-09-27T04-59-58-077Z-host.logCurrent behavior
日志头部:
JS 栈(自顶向下,用户名已替换为
<user>):致命行与原生栈:
观察:
hasPlainObjectPrototype → isIntrinsicObjectPrototype → hasIntrinsicConstructor的原型链遍历 ⇒ 疑似在遍历某个异常原型链(例如自引用原型 / Proxy / 跨 realm 对象)时走进 V8 的致命分支crash-2026-09-27T04-36-19-130Z-host.log,那次是系统重启导致的1073807364)里还有两条插件侧告警,因为投影行本身就包含插件提供的 unit state,可能与本问题相关:[modlens] settings namespace skipped: TypeError: scope.settings.register is not a functiondsh: warning: 1 entry did not activate/dsh-office (@huiliyi37/dsh-office): failed to importExpected behavior
PushStackTraceAndDie终止整个 Host;snapshotJsonValue遇到什么输入,都不应该让宿主以134退出(用户侧会看到助手无故中断一次)。Environment
@deepseek-ai/dsh-desktop0.1.7-rc.2(官方签名安装包)44.0.0/24.18.1(宿主内置运行时)26200.7840,x64desktop($DSH_HOME默认)@liustack/modlens、@huiliyi37/dsh-office、dsh-whale-widget、@deepseek-ai/dsh-time-context、@deepseek-ai/dsh-mcp-client(playwright,extension 模式)exited with 134(SIGABRT)可提供的补充材料
session.v3.jsonl.zstd,我可以提供脱敏后的片段(含个人信息,不会原样上传)All reactions