When shutting down Windows, CopyQ issues the following message is displayed:
Command “copyq onExit”
Error: Process crashed
Upon looking at CopyQ's log, I see
Note [2019-11-01 20:03:38.534] <Server-2228>: Command “copyq --clipboard-access monitorClipboard”
Note [2019-11-01 20:03:38.534] <Server-2228>: Error: Process crashed
Note [2019-11-01 20:03:38.534] <Server-2228>: 1. copyq --clipboard-access monitorClipboard
Note [2019-11-01 20:09:47.941] <Server-2208>: Command “copyq --clipboard-access monitorClipboard”
Note [2019-11-01 20:09:47.941] <Server-2208>: Error: Process crashed
Note [2019-11-01 20:09:47.941] <Server-2208>: 1. copyq --clipboard-access monitorClipboard
Note [2019-11-01 20:09:48.003] <Server-2208>: Command “copyq --clipboard-access monitorClipboard”
Note [2019-11-01 20:09:48.003] <Server-2208>: Error: Process crashed
Note [2019-11-01 20:09:48.003] <Server-2208>: 1. copyq --clipboard-access monitorClipboard
Note [2019-11-01 20:09:50.172] <Server-2208>: Command “copyq onExit”
Note [2019-11-01 20:09:50.172] <Server-2208>: Error: Process crashed
Note [2019-11-01 20:09:50.172] <Server-2208>: 1. copyq onExit
Note [2019-11-01 20:09:50.218] <Server-2208>: Command “copyq onExit”
Note [2019-11-01 20:09:50.218] <Server-2208>: Error: Process crashed
Note [2019-11-01 20:09:50.218] <Server-2208>: 1. copyq onExit
The system was turned off and restarted twice during that time.
It looks like one error might be happening when Windows starts (CopyQ is run on startup), and another when Windows is shut down.
I do have CopyQ syncing with an empty sync path to clear the CopyQ data between reboots (see https://github.com/hluk/CopyQ/issues/1063).
Version, OS and Environment
Looks like Qt can emit aboutToExit signal multiple times. I'm fixing this.
Thanks for the report.
You're welcome. Thanks for the fix!
Thanks for trying to fix this.
I think the error on startup is now fixed in v3.9.3, but the error on shutdown persists (same exact error in the log).
I think the error on startup is now fixed in v3.9.3, but the error on shutdown persists (same exact error in the log).
Hmm, are you sure the errors are from recent run with the updated version and not from an old CopyQ version?
Unfortunately, yes. I just tested it again a moment ago, and the issue persists. :( Sorry!
This issue, unfortunately, needs to be reopened. Still getting this error on every Windows shutdown:
Command “copyq --clipboard-access monitorClipboard”
Error: Process crashed
1. copyq --clipboard-access monitorClipboard
@Gitoffthelawn Can you provide copyq version output?
Yes. It took me a little bit to figure out how to do it, but I got it! :)
CopyQ Clipboard Manager v3.10.0
Qt: 5.12.6
Compiler: GCC
Arch: i386-little_endian-ilp32
OS: Windows 7 SP 1 (6.1)
Most helpful comment
Looks like Qt can emit
aboutToExitsignal multiple times. I'm fixing this.Thanks for the report.