[Bug] Desktop v1.24.1 crashes on every startup and resets desktop-tabs.json (all session tabs disappear) #8835
missyou2013
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary / 摘要
Reasonix Desktop v1.24.1 (Windows) crashes once on every startup. The crash-repair flow then rewrites
%APPDATA%/reasonix/desktop-tabs.jsonto keep only the active tab, so all session tabs across all projectsdisappear from the sidebar. Session data files are NOT lost — only the tab index is reset.
Environment
D:/Reasonix/versions/v1.24.1)v2onmain-v2branch)Reproduction
%APPDATA%/reasonix/crash-fatal/<pid>.logis created as an empty file (crash marker).desktop-tabs.jsonis reset to only 1 tab (onlyactiveTabremains).desktop-*.jsonlsessions) disappear.Crash timeline (2026-08-12, local time)
crash-fatal/8664.logdesktop-tabs.jsonreset to 1 tab (after running restore_tabs.py)crash-fatal/16204.logdesktop-projects.json/desktop-tabs.jsonrewritten, tabs resetcrash-fatal/13524.logdesktop-tabs.jsonreset again 33s after startupcrash-fatal/2948.logcreated,desktop-tabs.jsonreset to 1 tab (repair/config.toml.last-known-good.jsonrecords version=v1.22.0)Impact
PDA_2025_ShanDong, HuanBao_jiangsu_2_3, PDA_2020_WenZhou_38900, my_data).
sessions/*.jsonl,*.jsonl.meta,*.display-index.json,desktop-projects.jsontopics, and%LOCALAPPDATA%/reasonix/history-search/v1.sqliteare all preserved.Root-cause observations
crash-fatal/<pid>.logis an empty file — no stack trace / details available for users to diagnose.desktop-tabs.jsonto only the active tab, overwriting the full tab list.desktop-tabs.json,so any write to that file while the app is running is overwritten.
startup crash-repair resets them again.
so the trigger is not on a v1.24.1-only code path. v1.24.1 crashes on every startup; v1.22.0 triggers
occasionally (8/12 and 8/14).
Requested fixes
crash details/stacks — the current
crash-fatallogs are empty.tabsarray indesktop-tabs.jsoninstead of reducing it to onlyactiveTab. Please also investigate the sharedstartup logic that triggers repair/tab-reset (reproduced on v1.22.0 too).
crash-fatal/<pid>.log(currently empty).Temporary workaround (applied)
D:/Reasonix/current.json->activeVersion: v1.22.0.restore_all_tabs.py: rebuildsdesktop-tabs.json(29 tabs) fromdesktop-projects.json+ session metadata while the desktop app is fully quit.Diagnostics (
reasonix doctor --json){ "version": "v1.22.0", "os": "windows", "arch": "amd64", "cwd": "D:\\reasonix_projects\\my_data", "config": { "source_path": "reasonix.toml", "user_path": "~\\AppData\\Roaming\\reasonix\\config.toml", "default_model": "deepseek/deepseek-v4-flash" }, "providers": [ { "name": "deepseek-flash", "kind": "anthropic", "base_url_host": "api.deepseek.com", "model": "deepseek-v4-flash", "models": [ "deepseek-v4-flash" ], "api_key_env": "DEEPSEEK_API_KEY", "key_present": true, "is_default": false, "context_window": 1000000 }, { "name": "deepseek-pro", "kind": "anthropic", "base_url_host": "api.deepseek.com", "model": "deepseek-v4-pro", "models": [ "deepseek-v4-pro" ], "api_key_env": "DEEPSEEK_API_KEY", "key_present": true, "is_default": false, "context_window": 1000000 }, { "name": "deepseek", "kind": "openai", "base_url_host": "api.deepseek.com", "models": [ "deepseek-v4-flash", "deepseek-v4-pro" ], "api_key_env": "DEEPSEEK_API_KEY", "key_present": true, "is_default": false, "context_window": 1000000 } ], "plugins": [ { "name": "codegraph", "transport": "stdio", "auto_start": true, "target": "codegraph" } ], "lsp": { "enabled": true, "servers": 0 }, "sessions": { "dir": "~\\AppData\\Roaming\\reasonix\\sessions", "count": 0, "bytes": 0 }, "sandbox": { "bash": "off", "network": true, "write_roots": [ "D:\\reasonix_projects\\my_data" ], "available": false, "shell": "bash (C:\\Program Files\\Git\\usr\\bin\\bash.exe)" }, "network": { "proxy_mode": "auto", "proxy": "auto (env)", "no_proxy": false }, "permission": { "mode": "ask", "allow_rules": 17, "ask_rules": 0, "deny_rules": 0 }, "warnings": [ "skill \"review\" allowed-tools references \"use_capability\" which is not in the current registry", "skill \"security-review\" allowed-tools references \"use_capability\" which is not in the current registry" ] }All reactions