XYCopy refuses to exit. Multiple running copies. Can't be killed.

Things you’d like to miss in the future...
Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Horst »

I make all updates of the portable version after closing XY
and never had any conflict or problem to update all files.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 01 Nov 2021 19:16 Not the installer, XY itself attempts to close them on exit. No idea why it fails. Cannot reproduce a fail here.

Just curious: Are you upgrading to a new version while the current version is doing file operations in the background?
I am not, upgrades are always performed during an idle state, not in the middle of file manipulation.
At my residence I have other screenshots showing a great number of XYcopy's in the background (I believe I've captured as many as 8-10).

I work with lots of UNC file transfers and occasionally notice glithches or issues (e.g. If you have many queued operations, and perform a delete operation, when it finishes deleting it will start the next action in the queue, despite the prior action being incomplete OR Under a UNC path, create a new folder, immediately hit F2 to rename that "New Folder" folder, XYplorer often crashes (I believe this is an race condition)). That UNC file work is the only thing I could come up with that many people may not run into.

In my experiences; I have never seen XYplorer.exe close XYcopy.exe (as the dev. you know better than I) but I am also unsure of a time when this would occur other than the update process (e.g. I can close XYplorer and XYcopy stays running when doing file operations).

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

Is "Delete [...]" ticked in Configuration | File Operations | File Operations | Background Processing | Apply to...?

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 02 Nov 2021 09:14 Is "Delete [...]" ticked in Configuration | File Operations | File Operations | Background Processing | Apply to...?
Yes, but by the notes Delete runs parallel. By my understanding Delete should not complete it's operation then trigger the next queued operation, correct?

https://i.imgur.com/jAntKdA.png

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

That's correct, and AFAIK this has been reported as bug (and has been fixed) in 2012: viewtopic.php?f=2&t=7599

A completed deletion only triggers the next job in the queue if there are no other queued jobs in progress at this point in time.

But I see a possible hole in the implementation now that I will fill in the next beta (v22.40.0202). Let me know if that makes any difference.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

Jeeves wrote: 01 Nov 2021 23:28 ... Under a UNC path, create a new folder, immediately hit F2 to rename that "New Folder" folder, XYplorer often crashes (I believe this is an race condition)).
Can anybody confirm this?

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 02 Nov 2021 17:04
Jeeves wrote: 01 Nov 2021 23:28 ... Under a UNC path, create a new folder, immediately hit F2 to rename that "New Folder" folder, XYplorer often crashes (I believe this is an race condition)).
Can anybody confirm this?
I apologize for being off-topic. If you prefer I can start a new post regarding this issue.

I also can't repeat it consistently, but it seems to occur when I'm "Moving Quickly" if that makes any sense (hence the belief it's a race condition).

I'll start recording when I'm doing some of that quick sorting work to see if I can't catch it.


The steps (more verbosely) that seem to cause the issue:

º Always in a UNC path (Can't recall if my mapped drives do it or not)
º In a directory:
- Create a new folder (I have a hotkey setup for this: Ctrl+N)
º As "New Folder" appears:
- Hit F2
º Occasionally I can get a letter or two of the name in, but XY crashes here.
º Re-start XY & browse to the folder
º It will still be named "New Folder"
- Regardless if I manage to type letters into the renaming, it always crashes before the renaming occurs. The folder is always named "New Folder" when XY restarts.
Last edited by Jeeves on 02 Nov 2021 17:55, edited 1 time in total.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

How do you create a new folder? (Which command do you use?)

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 02 Nov 2021 17:49 How do you create a new folder? (Which command do you use?)
Apologies, I was editing the comment above when you replied, does this process help?
The steps (more verbosely) that seem to cause the issue:

º Always in a UNC path (Can't recall if my mapped drives do it or not)
º In a directory:
- Create a new folder (I have a hotkey setup for this: Ctrl+N)
º As "New Folder" appears:
- Hit F2
º Occasionally I can get a letter or two of the name in, but XY crashes here.
º Re-start XY & browse to the folder
º It will still be named "New Folder"
- Regardless if I manage to type letters into the renaming, it always crashes before the renaming occurs. The folder is always named "New Folder" when XY restarts.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

I'm surprised about the "Hit F2". It should enter rename mode by itself. No need for F2. :?

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 02 Nov 2021 18:24 I'm surprised about the "Hit F2". It should enter rename mode by itself. No need for F2. :?
It's a fair point. I was trying to convert muscle memory into steps. As I said, I'll work towards capturing it.

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

I do not think this provides enough information (maybe the fault offset).
But XY Crashed (UNC, New Folder, Rename Crash) and this is what Event Viewer had to say;
Faulting application name: XYplorer.exe, version: 22.30.0.211, time stamp: 0x6176d170
Faulting module name: XYplorer.exe, version: 22.30.0.211, time stamp: 0x6176d170
Exception code: 0xc0000005
Fault offset: 0x0032feeb
Faulting process id: 0x5924
Faulting application start time: 0x01d7cf988b0387f0
Faulting application path: D:\Program Files (x86)\XYplorer\XYplorer.exe
Faulting module path: D:\Program Files (x86)\XYplorer\XYplorer.exe
Report Id:
Faulting package full name:
Faulting package-relative application ID:
Windows Error Reporting
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: XYplorer.exe
P2: 22.30.0.211
P3: 6176d170
P4: OLEAUT32.DLL
P5: 10.0.19041.985
P6: fc8f0d5b
P7: c0000005
P8: 0001d270
P9:
P10:
and
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: XYplorer.exe
P2: 22.30.0.211
P3: 6176d170
P4: XYplorer.exe
P5: 22.30.0.211
P6: 6176d170
P7: c0000005
P8: 0032feeb
P9:
P10:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

Thanks, but does not help. I need the steps to reproduce it.

What about the other problem? Still got XYcopy processes hanging around since v22.40.0202?

Jeeves
Posts: 121
Joined: 15 May 2008 07:57

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by Jeeves »

admin wrote: 04 Nov 2021 08:41 Thanks, but does not help. I need the steps to reproduce it.

What about the other problem? Still got XYcopy processes hanging around since v22.40.0202?
I do. Here is what I saw from the single instance I have orphaned at the moment.
Orphaned XYCopy
Orphaned XYCopy
xycopy-hung.png (7.69 KiB) Viewed 1386 times

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYCopy refuses to exit. Multiple running copies. Can't be killed.

Post by admin »

Do you see anything in the debug log? Use this script to show the log:

Code: Select all

dlog;

Post Reply