| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(main): use display format for top-level errors to avoid backtrace deadlock Formatting anyhow errors with {:?} triggers backtrace capture, which calls getcwd() internally. In the error path triggered by an invalid or closed QMP Unix socket, getcwd() blocks indefinitely, hanging the process. Switch the three top-level error sites in main.rs (the stderr report in main(), the vmconfig creation failure log, and the run() error handler) from {:?} to {:#}, which prints the full error chain without capturing a backtrace. (cherry picked from commit 4c2da23a7eca9d46f060e9c887e3bffec7371153) | 7 天前 |