{"record":{"id":"3fabb6d6de8c5af3","repo":"zed-industries/zed","slug":"unexpected-resolved-path-from-the-path-resolution","errorCode":null,"errorMessage":"unexpected resolved path from the path resolution script: {path:?}","messagePattern":"unexpected resolved path from the path resolution script: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/sandbox/src/windows_wsl.rs","lineNumber":1164,"sourceCode":"        .into_iter()\n        .map(|line| {\n            let mut parts = line.splitn(3, ' ');\n            let (Some(translate), Some(exists), Some(path)) =\n                (parts.next(), parts.next(), parts.next())\n            else {\n                bail!(\"malformed line from the path resolution script: {line:?}\");\n            };\n            let used_fallback = match translate {\n                \"ok\" => false,\n                \"fallback\" => true,\n                _ => bail!(\"malformed line from the path resolution script: {line:?}\"),\n            };\n            let exists = match exists {\n                \"ok\" => true,\n                \"missing\" => false,\n                _ => bail!(\"malformed line from the path resolution script: {line:?}\"),\n            };\n            ensure!(\n                path.starts_with('/'),\n                \"unexpected resolved path from the path resolution script: {path:?}\"\n            );\n            Ok(ResolvedPath {\n                path: path.to_string(),\n                used_fallback,\n                exists,\n            })\n        })\n        .collect()\n}\n\n/// `CREATE_NO_WINDOW` process creation flag. `wsl.exe` is a console-subsystem\n/// binary, so spawning it from a GUI process without this flag flashes a\n/// console window. Defined locally because this crate doesn't depend on\n/// `util` (whose command helpers normally take care of this).\nconst CREATE_NO_WINDOW: u32 = 0x0800_0000;\n","sourceCodeStart":1146,"sourceCodeEnd":1182,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/sandbox/src/windows_wsl.rs#L1146-L1182","documentation":"A result line from the path resolution script carried a well-formed status pair but a path that is not absolute, violating the script's strict protocol. Indicates script corruption or a helper version mismatch.","triggerScenarios":"Thrown at crates/sandbox/src/windows_wsl.rs:1164 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the resolution to rule out transient output corruption","Re-provision the helper script so its output matches the expected protocol"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}