Skip to content

[Bug] v0.2.5 cannot restart after first launch hang #145

@Spongeacer

Description

@Spongeacer

环境信息

  • 版本: v0.2.5
  • 操作系统: macOS 25.4.0 (Darwin arm64)
  • 安装方式: 从浏览器下载安装

问题描述

PawWork 在使用过程中突然卡住,窗口完全无响应。强制退出后无法重新启动应用。

复现步骤

  1. 正常使用 PawWork 一段时间
  2. 应用突然卡住(界面无响应)
  3. Cmd+Q 退出或 killall PawWork
  4. 重新打开应用,无法启动

预期行为

退出后应该能正常重新启动

实际行为

通过 open -a PawWork 或直接执行 /Applications/PawWork.app/Contents/MacOS/PawWork 都无法启动,进程创建后立即退出。

尝试的解决方法

  • killall PawWork 强制退出
  • ✅ 清理缓存(Cache、Code Cache、GPUCache、Session Storage)
  • ✅ 移除 com.apple.quarantine 属性
  • ❌ 重启应用 - 无效
  • ⏳ 重启电脑 - 未尝试

日志信息

应用日志路径: ~/Library/Logs/PawWork/main.log

最后启动记录:

[2026-04-22 21:26:16.088] [info]  app starting { version: '0.2.5', packaged: true }
[2026-04-22 21:26:16.300] [info]  auto updater configured { channel: 'latest', allowPrerelease: false, allowDowngrade: true, currentVersion: '0.2.5' }
[2026-04-22 21:26:16.300] [info]  spawning sidecar { url: 'http://127.0.0.1:59635' }
[2026-04-22 21:26:16.767] [info]  sidecar connection started { url: 'http://127.0.0.1:59635' }
[2026-04-22 21:26:18.129] [info]  awaiting server ready
[2026-04-22 21:26:18.129] [info]  server ready { url: 'http://127.0.0.1:59635' }

其他信息

  • 应用代码签名状态:正常 (spctl -a -v 显示 accepted source=Notarized Developer ID)
  • 二进制文件类型:Mach-O 64-bit executable arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High prioritybugSomething isn't workingplatformElectron shell, OS integration, packaging, updater, signing, paths, and permissions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions