Page 1 of 1
Force quit XYcopy issues
Posted: 20 Oct 2012 11:51
by zer0
It seems that there is a way to make XY think that there is a job in progress when there is not.
To repro:
1. Open Task Manager
2. Start an XYcopy-managed copy job (I did from internal to external HDD)
3. In Task Manager, end XYcopy.exe progress while copy is in progress
XYcopy progress window will close and , after a while, XYcopy.exe will disappear from list of processes. Curiously, the copy does complete successfully (SHA1 comparison), but some corruption does take place. However, Background Job window would still list as in progress.
Re: Force quit XYcopy issues
Posted: 21 Oct 2012 01:33
by nas8e9
zer0 wrote:It seems that there is a way to make XY think that there is a job in progress when there is not.
To repro:
1. Open Task Manager
2. Start an XYcopy-managed copy job (I did from internal to external HDD)
3. In Task Manager, end XYcopy.exe progress while copy is in progress
XYcopy progress window will close and , after a while, XYcopy.exe will disappear from list of processes. Curiously, the copy does complete successfully (SHA1 comparison), but some corruption does take place. However, Background Job window would still list as in progress.
A few questions (and welcome back, of course

):
1. What is the use case for force-quitting a *running* XYcopy.exe-instance? (I'm aware of the dormant instances-problem BTW, which I'm still seeing.)
2. Do you use Custom Copy or Windows Shell copy? (The latter might explain why force-quitting XYcopy.exe doesn't halt the copy.)
3. I'm confused by the copy passing verification and yet you seeing some corruption?
As for the Background Job-window getting confused, I'm guessing that after starting up an XYcopy.exe-instance, it lists the beginning and run-time of the job, but doesn't check regularly with XYcopy.exe and simply waits there for the instance to report completion. If memory serves, Don didn't want to make the Background Jobs a full command center with things like real-time per-job status and queue reordering, in the last XYcopy development round.
Re: Force quit XYcopy issues
Posted: 21 Oct 2012 11:41
by zer0
nas8e9 wrote:
A few questions (and welcome back, of course

):
1. What is the use case for force-quitting a *running* XYcopy.exe-instance? (I'm aware of the dormant instances-problem BTW, which I'm still seeing.)
2. Do you use Custom Copy or Windows Shell copy? (The latter might explain why force-quitting XYcopy.exe doesn't halt the copy.)
3. I'm confused by the copy passing verification and yet you seeing some corruption?
Thanks! I still update on a regular basis and keep an eye out on new features
1. Just because. I was intentionally trying to disrupt the process to see how the app handles the situation.
2. Custom Copy.
3. I was confused as well. In my scenario, a video file did not play correctly.
Re: Force quit XYcopy issues
Posted: 21 Oct 2012 23:07
by nas8e9
zer0 wrote:1. Just because. I was intentionally trying to disrupt the process to see how the app handles the situation.
It seems an unusual source of problems to me.
zer0 wrote:2. Custom Copy.
In that case I can't explain the completion. Roughly how long took these jobs and at which point did you terminate the instance?
zer0 wrote:3. I was confused as well. In my scenario, a video file did not play correctly.
Does the source file exhibit the same playback problem, given its identical hash?
Re: Force quit XYcopy issues
Posted: 22 Oct 2012 20:29
by zer0
nas8e9 wrote:zer0 wrote:1. Just because. I was intentionally trying to disrupt the process to see how the app handles the situation.
It seems an unusual source of problems to me.

Yes, I agree, but still a valid one.
nas8e9 wrote:zer0 wrote:2. Custom Copy.
In that case I can't explain the completion. Roughly how long took these jobs and at which point did you terminate the instance?
It was just one file that experimented with, so probably about 10-15 seconds or so. I killed the process while copying was taking place.
nas8e9 wrote:zer0 wrote:3. I was confused as well. In my scenario, a video file did not play correctly.
Does the source file exhibit the same playback problem, given its identical hash?
Source exhibits no problems.
Re: Force quit XYcopy issues
Posted: 25 Oct 2012 05:08
by nas8e9
zer0 wrote:nas8e9 wrote:Does the source file exhibit the same playback problem, given its identical hash?
Source exhibits no problems.
I'm not sure what to make of this. In terms of diagnosis, a file that a SHA-1 hash deems identical should be identical. Just in case, could you either compare with XYplorer's compare command (which doesn't seem to use hashes, but checks both byte-streams against each other) or else check with something like SHA-512?
As for the cause, I don't like to trivialise data corruption, but having the XYcopy.exe-instance force-terminated in whatever way *should* cause the user to check the copy/move. XYcopy is safe in the sense that it won't delete the source file before the move successfully completes, while copying leave the source alone by definition.