feedback
feedback copied to clipboard
MacOS无法开机启动,且运行过程中会不定时默默退出
Problem Description
虽然设置了开启启动,但是不生效,并且平时用的时候,偶尔也会出现打开了之后,过了一段时间要截图发现软件不在运行状态了。
Snipaste版本信息: v2.10.6,v2.10.8
我的机器信息: 型号名称: MacBook Pro 型号标识符: Mac15,3 型号: Z1C80004ECH/A 芯片: Apple M3 系统固件版本: 10151.140.19 操作系统加载程序版本: 10151.140.19 系统软件版本: 14.6 (23G80)
Platform
macOS
Version
v2.10.6,v2.10.8
程序默默退出的日志如下,看不出啥异常:
2025-06-09 16:38:03.774的时候,想截图,发现程序不在了,然后重新启动的
[2025-06-09 15:35:51.468] [I] Snipper: preparing...
[2025-06-09 15:35:51.471] [I] Desktop: QRect(0, 0, 2560 x 1440)
[2025-06-09 15:35:51.552] [I] Background size: QSize(5120, 2880)
[2025-06-09 15:35:51.552] [I] Screens: 2
[2025-06-09 15:35:51.552] [I] QRect(0, 0, 2560 x 1440), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 15:35:51.552] [I] QRect(-1800, 0, 1800 x 1169), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 15:35:51.554] [D] #Windows: 45
[2025-06-09 15:35:51.554] [D] State changed: 1 -> 2
[2025-06-09 15:35:51.556] [I] Snipper: preparation done (0)
[2025-06-09 15:35:51.557] [I] Snipper: about to appear...
[2025-06-09 15:35:51.557] [I] Snipper: prepare to show...
[2025-06-09 15:35:51.561] [I] Snipper: shown
[2025-06-09 15:35:51.562] [I] Snipper: focus in
[2025-06-09 15:35:51.562] [I] Snipper: ready [0.095 s]
[2025-06-09 15:35:51.974] [D] State changed: 2 -> 3
[2025-06-09 15:35:53.445] [D] State changed: 3 -> 5
[2025-06-09 15:35:54.039] [I] Screenshot (1009, 689, 735 x 180) destination: clipboard,
[2025-06-09 15:35:54.042] [I] Snipper: about to quit...
[2025-06-09 15:35:54.042] [D] State changed: 5 -> 8
[2025-06-09 15:35:54.058] [D] State changed: 8 -> 0
[2025-06-09 15:35:54.058] [I] Snipper: focus out [3] (Foreground window: )
[2025-06-09 15:35:54.072] [I] Snipper: hide
[2025-06-09 15:35:54.072] [I] Snipper: hidden
[2025-06-09 15:35:54.076] [I] Snipper: quit
[2025-06-09 15:35:54.083] [I] Screenshot successfully saved: clipboard,
[2025-06-09 15:35:54.511] [I] Snipper: scene saved
[2025-06-09 15:38:05.803] [I] Parsing command arguments [3]: (sp, snip)
[2025-06-09 15:38:05.806] [I] Snip request: 0 (dest: 0)
[2025-06-09 15:38:05.806] [D] State changed: 0 -> 1
[2025-06-09 15:38:05.806] [I] Snipper: preparing...
[2025-06-09 15:38:05.806] [I] Desktop: QRect(0, 0, 2560 x 1440)
[2025-06-09 15:38:05.937] [I] Background size: QSize(5120, 2880)
[2025-06-09 15:38:05.937] [I] Screens: 2
[2025-06-09 15:38:05.937] [I] QRect(0, 0, 2560 x 1440), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 15:38:05.937] [I] QRect(-1800, 0, 1800 x 1169), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 15:38:05.939] [D] State changed: 1 -> 2
[2025-06-09 15:38:05.939] [I] Snipper: preparation done (0)
[2025-06-09 15:38:05.940] [I] Snipper: about to appear...
[2025-06-09 15:38:05.940] [I] Snipper: prepare to show...
[2025-06-09 15:38:05.940] [D] #Windows: 45
[2025-06-09 15:38:05.941] [I] Snipper: shown
[2025-06-09 15:38:05.943] [I] Snipper: focus in
[2025-06-09 15:38:05.944] [I] Snipper: ready [0.137 s]
[2025-06-09 15:38:06.582] [D] State changed: 2 -> 3
[2025-06-09 15:38:07.350] [D] State changed: 3 -> 5
[2025-06-09 15:38:08.222] [D] State changed: 5 -> 6
[2025-06-09 15:38:08.294] [D] State changed: 6 -> 5
[2025-06-09 15:38:09.001] [D] State changed: 5 -> 4
[2025-06-09 15:38:11.800] [I] Screenshot (625, 641, 731 x 232) destination: clipboard,
[2025-06-09 15:38:11.802] [I] Snipper: about to quit...
[2025-06-09 15:38:11.802] [D] State changed: 4 -> 8
[2025-06-09 15:38:11.813] [D] State changed: 8 -> 0
[2025-06-09 15:38:11.814] [I] Snipper: focus out [3] (Foreground window: )
[2025-06-09 15:38:11.830] [I] Snipper: hide
[2025-06-09 15:38:11.830] [I] Snipper: hidden
[2025-06-09 15:38:11.832] [I] Snipper: quit
[2025-06-09 15:38:11.840] [I] Screenshot successfully saved: clipboard,
[2025-06-09 15:38:12.260] [I] Snipper: scene saved
[2025-06-09 16:38:03.774] [I] ***************************************************************
[2025-06-09 16:38:03.774] [I] Snipaste 2.10.6 for macOS (Qt 6.2.4)
[2025-06-09 16:38:03.774] [I] OS: macOS 14.6 [23.6.0]
[2025-06-09 16:38:03.774] [I] Cores: 8
[2025-06-09 16:38:03.774] [I] Log level: 1
[2025-06-09 16:38:03.774] [I] Application dir: /Applications/Snipaste.app/Contents/MacOS
[2025-06-09 16:38:03.774] [I] Working dir: /
[2025-06-09 16:38:03.774] [I] Config: /Users/temptrip/.snipaste/config.ini
[2025-06-09 16:38:03.774] [I] Library paths: (/Applications/Snipaste.app/Contents/MacOS, /Applications/Snipaste.app/Contents/PlugIns)
[2025-06-09 16:38:03.774] [I] Screen scale: 1
[2025-06-09 16:38:03.774] [I] Retina factor: 2
[2025-06-09 16:38:03.774] [I] Screens: 2
[2025-06-09 16:38:03.774] [I] QRect(0, 0, 2560 x 1440), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 16:38:03.774] [I] QRect(-1800, 0, 1800 x 1169), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 16:38:03.774] [I] Desktops: 2
[2025-06-09 16:38:03.774] [I] About to import settings from: /Users/temptrip/.snipaste/config.ini
[2025-06-09 16:38:03.779] [I] Settings imported
[2025-06-09 16:38:03.912] [I] OpenGL acceleration: false
[2025-06-09 16:38:03.964] [I] Initializing Snipaste...
尝试从2.10.6升级到版本2.10.8后,MacOS开机自启依旧无效,相关日志如下:
2025-06-09 17:07:08.014 系统开机启动完成,软件被启动了,没几秒钟就退出了,2025-06-09 17:07:55.540 手动进行启动才启动成功。
[2025-06-09 17:07:08.014] [I] ***************************************************************
[2025-06-09 17:07:08.014] [I] Snipaste 2.10.8 for macOS (Qt 6.2.4)
[2025-06-09 17:07:08.014] [I] OS: macOS 14.6 [23.6.0]
[2025-06-09 17:07:08.014] [I] Cores: 8
[2025-06-09 17:07:08.014] [I] Log level: 1
[2025-06-09 17:07:08.014] [I] Application dir: /Applications/Snipaste.app/Contents/MacOS
[2025-06-09 17:07:08.023] [I] Working dir: /
[2025-06-09 17:07:08.023] [I] Config: /Users/temptrip/.snipaste/config.ini
[2025-06-09 17:07:08.023] [I] Library paths: (/Applications/Snipaste.app/Contents/MacOS, /Applications/Snipaste.app/Contents/PlugIns)
[2025-06-09 17:07:08.023] [I] Screen scale: 1
[2025-06-09 17:07:08.023] [I] Retina factor: 2
[2025-06-09 17:07:08.023] [I] Screens: 2
[2025-06-09 17:07:08.023] [I] QRect(0, 0, 2560 x 1440), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 17:07:08.023] [I] QRect(-1800, 0, 1800 x 1169), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 17:07:08.024] [I] Desktops: 2
[2025-06-09 17:07:08.024] [I] About to import settings from: /Users/temptrip/.snipaste/config.ini
[2025-06-09 17:07:08.156] [I] Settings imported
[2025-06-09 17:07:08.557] [I] OpenGL acceleration: false
[2025-06-09 17:07:08.675] [I] Initializing Snipaste...
[2025-06-09 17:07:09.713] [W] Populating font family aliases took 747 ms. Replace uses of missing font family "SF Pro" with one that exists to avoid this cost.
[2025-06-09 17:07:10.151] [I] Prefetch...
[2025-06-09 17:07:12.819] [I] About to apply settings...
[2025-06-09 17:07:12.981] [D] Shortcut bound: QKeySequence("F1")
[2025-06-09 17:07:12.981] [D] Shortcut bound: QKeySequence("Ctrl+F1")
[2025-06-09 17:07:12.981] [D] Shortcut bound: QKeySequence("Shift+F1")
[2025-06-09 17:07:12.981] [D] Shortcut bound: QKeySequence("F3")
[2025-06-09 17:07:12.981] [D] Shortcut bound: QKeySequence("Shift+F3")
[2025-06-09 17:07:12.982] [D] Shortcut bound: QKeySequence("Ctrl+F3")
[2025-06-09 17:07:12.983] [I] Settings applied
[2025-06-09 17:07:12.986] [I] Log level set to: 1
[2025-06-09 17:07:13.397] [I] History dir: /Users/temptrip/.snipaste/history
[2025-06-09 17:07:13.404] [I] Header version: 201
[2025-06-09 17:07:13.404] [I] About to restore pasters...
[2025-06-09 17:07:13.441] [I] Group 0 [OZIE9V]: "Default"
[2025-06-09 17:07:13.441] [I] Record version: 201
[2025-06-09 17:07:13.441] [I] To restore: 0
[2025-06-09 17:07:13.441] [I] Pasters touched
[2025-06-09 17:07:13.441] [I] All pasters activated: true
[2025-06-09 17:07:13.614] [I] Unref images: 0 (0 removed)
[2025-06-09 17:07:13.618] [I] Unref dirs: 0 (0 removed)
[2025-06-09 17:07:13.668] [I] Empty history info files: 0 (0 removed)
[2025-06-09 17:07:13.668] [I] Pasters restored
[2025-06-09 17:07:13.668] [I] Launch time: 5801 ms
[2025-06-09 17:07:14.876] [I] Load default ssl configuration: 4725 ms
[2025-06-09 17:07:19.222] [D] Tray icon clicked: 3
[2025-06-09 17:07:19.222] [I] Parsing command arguments [1]: (sp, show-tray-menu)
[2025-06-09 17:07:21.102] [D] Tray icon clicked: 1
[2025-06-09 17:07:21.102] [I] Parsing command arguments [1]: (sp, show-tray-menu)
[2025-06-09 17:07:55.540] [I] ***************************************************************
[2025-06-09 17:07:55.540] [I] Snipaste 2.10.8 for macOS (Qt 6.2.4)
[2025-06-09 17:07:55.540] [I] OS: macOS 14.6 [23.6.0]
[2025-06-09 17:07:55.540] [I] Cores: 8
[2025-06-09 17:07:55.540] [I] Log level: 1
[2025-06-09 17:07:55.540] [I] Application dir: /Applications/Snipaste.app/Contents/MacOS
[2025-06-09 17:07:55.557] [I] Working dir: /
[2025-06-09 17:07:55.557] [I] Config: /Users/temptrip/.snipaste/config.ini
[2025-06-09 17:07:55.557] [I] Library paths: (/Applications/Snipaste.app/Contents/MacOS, /Applications/Snipaste.app/Contents/PlugIns)
[2025-06-09 17:07:55.557] [I] Screen scale: 1
[2025-06-09 17:07:55.557] [I] Retina factor: 2
[2025-06-09 17:07:55.557] [I] Screens: 2
[2025-06-09 17:07:55.557] [I] QRect(0, 0, 2560 x 1440), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 17:07:55.557] [I] QRect(-1800, 0, 1800 x 1169), NAME = "", DPI = 72 , DPR = 2
[2025-06-09 17:07:55.558] [I] Desktops: 2
[2025-06-09 17:07:55.558] [I] About to import settings from: /Users/temptrip/.snipaste/config.ini
[2025-06-09 17:07:55.755] [I] Settings imported
[2025-06-09 17:07:56.084] [I] OpenGL acceleration: false
[2025-06-09 17:07:56.226] [I] Initializing Snipaste...
[2025-06-09 17:07:57.467] [W] Populating font family aliases took 406 ms. Replace uses of missing font family "SF Pro" with one that exists to avoid this cost.
[2025-06-09 17:07:58.061] [I] Prefetch...
[2025-06-09 17:07:58.571] [I] About to apply settings...
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("F1")
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("Ctrl+F1")
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("Shift+F1")
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("F3")
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("Shift+F3")
[2025-06-09 17:07:58.676] [D] Shortcut bound: QKeySequence("Ctrl+F3")
[2025-06-09 17:07:58.676] [I] Settings applied
[2025-06-09 17:07:58.678] [I] Log level set to: 1
[2025-06-09 17:07:58.724] [I] History dir: /Users/temptrip/.snipaste/history
[2025-06-09 17:07:58.727] [I] Header version: 201
[2025-06-09 17:07:58.727] [I] About to restore pasters...
[2025-06-09 17:07:58.729] [I] Group 0 [OZIE9V]: "Default"
[2025-06-09 17:07:58.729] [I] Record version: 201
[2025-06-09 17:07:58.729] [I] To restore: 0
[2025-06-09 17:07:58.729] [I] Pasters touched
[2025-06-09 17:07:58.729] [I] All pasters activated: true
[2025-06-09 17:07:58.876] [I] Unref images: 0 (0 removed)
[2025-06-09 17:07:58.926] [I] Unref dirs: 0 (0 removed)
[2025-06-09 17:07:58.967] [I] Empty history info files: 0 (0 removed)
[2025-06-09 17:07:58.967] [I] Pasters restored
[2025-06-09 17:07:58.967] [I] Launch time: 3453 ms
[2025-06-09 17:07:59.578] [I] Load default ssl configuration: 1516 ms
[2025-06-09 17:08:01.687] [D] Tray icon clicked: 3
[2025-06-09 17:08:01.687] [I] Parsing command arguments [1]: (sp, show-tray-menu)
我也遇到类似的问题。退出后就无法打开了。报错: failed to get text offset for /Applications/Snipaste.app/Contents/MacOS/Snipaste[2100]: (#3) No such process