Page 3 of 5

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

Posted: 04 Nov 2021 16:03
by Jeeves
admin wrote: 04 Nov 2021 15:28 Do you see anything in the debug log? Use this script to show the log:

Code: Select all

dlog;
The window appears but is also empty (nothing below the header info).

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

Posted: 04 Nov 2021 16:09
by admin
And you're sure that's v22.40.0202 or later?

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

Posted: 04 Nov 2021 16:12
by Jeeves
admin wrote: 04 Nov 2021 16:09 And you're sure that's v22.40.0202 or later?
Very.
2021-11-04_091203.png
2021-11-04_091203.png (6.93 KiB) Viewed 1865 times

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

Posted: 04 Nov 2021 16:33
by admin
Thanks. :)

In the next beta (v22.40.0206) there WILL be debug logging, and a special killer command:

1) Add the following script to Configuration | General | Custom Event Actions | Other Events | Exit: dlog; and select action "Run script" for that "Exit" event. When you exit the app the debug log will be shown and should contain some info about killing XYcopy. Show the log.

2) If you see XYcopy instances hanging around after queued background file operations are completed, try this script, it tries to kill all processes called "XYcopy": killxycopy; Does it?

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

Posted: 04 Nov 2021 16:39
by Jeeves
admin wrote: 04 Nov 2021 16:33 Thanks. :)

In the next beta (v22.40.0206) there WILL be debug logging, and a special killer command:

1) Add the following script to Configuration | General | Custom Event Actions | Other Events | Exit: dlog; and select action "Run script" for that "Exit" event. When you exit the app the debug log will be shown and should contain some info about killing XYcopy. Show the log.

2) If you see XYcopy instances hanging around after queued background file operations are completed, try this script, it tries to kill all processes called "XYcopy": killxycopy; Does it?
1) I have added this in prep for .0206. Currently it pops up the blank window as above.
2) I'll stash that for when you release the above beta.

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

Posted: 04 Nov 2021 16:48
by admin
v22.40.0206 released. 8)

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

Posted: 04 Nov 2021 17:02
by Jeeves
admin wrote: 04 Nov 2021 16:48 v22.40.0206 released. 8)
Were updates made to XYCopy?

I ask because I have the orphaned process. If I can replace all files except XYCopy then I can use the new xyplorer.exe to troubleshoot the orphan process.

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

Posted: 04 Nov 2021 17:04
by admin
It's better for the test to create a fresh orphan.

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

Posted: 04 Nov 2021 17:05
by Jeeves
admin wrote: 04 Nov 2021 17:04 It's better for the test to create a fresh orphan.
Aye aye.

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

Posted: 08 Nov 2021 10:56
by admin
Any news? I have to remove that debug code soon...

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

Posted: 08 Nov 2021 18:24
by Jeeves
admin wrote: 08 Nov 2021 10:56 Any news? I have to remove that debug code soon...
I did not spend much of the weekend on the computer. I will check at home and see if it has anything abandoned. I can stay on an older version to hold onto the debug code too.
Thanks

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

Posted: 08 Nov 2021 18:26
by admin
Okay, v22.40.0215 from today is the last version with the debug code.

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

Posted: 08 Nov 2021 23:41
by Jeeves
admin wrote: 08 Nov 2021 18:26 Okay, v22.40.0215 from today is the last version with the debug code.
I will stay on this version and post back as I get orphans, I'm sure they'll come. :)
Thanks!

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

Posted: 09 Nov 2021 01:53
by Jeeves
Did not have to wait long;
xycopy-orphan.png
xycopy-orphan.png (6.42 KiB) Viewed 1773 times
XYplorer 22.40.0215 - Windows 10 Enterprise, 64-bit, Release 2009, Build 19043.1288 - 2021-11-08 17:47:01.506
=================================================================================================================

0 - 2021-11-08 12:12:30.409 --N qu_CloseXYcopy 1: 26412648 - Validate: False
0 - 2021-11-08 12:12:30.409 --N qu_CloseXYcopy 5: 26412648
0 - 2021-11-08 12:12:30.409 --N qu_CloseXYcopy 6: 26412648 - Success: True
--------------------------------------------------------------------------------------------------
3:20:34.429 - 2021-11-08 15:33:04.838 --N qu_CloseXYcopy 1: 7475522 - Validate: False
0 - 2021-11-08 15:33:04.838 --N qu_CloseXYcopy 5: 7475522
0 - 2021-11-08 15:33:04.838 --N qu_CloseXYcopy 6: 7475522 - Success: True
--------------------------------------------------------------------------------------------------
5.433 - 2021-11-08 15:33:10.271 --N qu_CloseXYcopy 1: 3219540 - Validate: False
0 - 2021-11-08 15:33:10.271 --N qu_CloseXYcopy 5: 3219540
0 - 2021-11-08 15:33:10.271 --N qu_CloseXYcopy 6: 3219540 - Success: True
--------------------------------------------------------------------------------------------------
35.616 - 2021-11-08 15:33:45.887 --N qu_CloseXYcopy 1: 5772560 - Validate: False
0 - 2021-11-08 15:33:45.887 --N qu_CloseXYcopy 5: 5772560
0 - 2021-11-08 15:33:45.887 --N qu_CloseXYcopy 6: 5772560 - Success: True
--------------------------------------------------------------------------------------------------
1:00.027 - 2021-11-08 15:34:45.914 --N qu_CloseXYcopy 1: 4402180 - Validate: False
0 - 2021-11-08 15:34:45.914 --N qu_CloseXYcopy 5: 4402180
0 - 2021-11-08 15:34:45.914 --N qu_CloseXYcopy 6: 4402180 - Success: True
--------------------------------------------------------------------------------------------------
30.915 - 2021-11-08 15:35:16.829 --N qu_CloseXYcopy 1: 7872370 - Validate: False
0 - 2021-11-08 15:35:16.829 --N qu_CloseXYcopy 5: 7872370
0 - 2021-11-08 15:35:16.829 --N qu_CloseXYcopy 6: 7872370 - Success: True
--------------------------------------------------------------------------------------------------
18.610 - 2021-11-08 15:35:35.439 --N qu_CloseXYcopy 1: 11079208 - Validate: False
0 - 2021-11-08 15:35:35.439 --N qu_CloseXYcopy 5: 11079208
0 - 2021-11-08 15:35:35.439 --N qu_CloseXYcopy 6: 11079208 - Success: True
--------------------------------------------------------------------------------------------------
5.601 - 2021-11-08 15:35:41.040 --N qu_CloseXYcopy 1: 16854470 - Validate: False
0 - 2021-11-08 15:35:41.040 --N qu_CloseXYcopy 5: 16854470
0 - 2021-11-08 15:35:41.040 --N qu_CloseXYcopy 6: 16854470 - Success: True
--------------------------------------------------------------------------------------------------
14.831 - 2021-11-08 15:35:55.871 --N qu_CloseXYcopy 1: 5448272 - Validate: False
0 - 2021-11-08 15:35:55.871 --N qu_CloseXYcopy 5: 5448272
92 - 2021-11-08 15:35:55.963 --N qu_CloseXYcopy 6: 5448272 - Success: True
--------------------------------------------------------------------------------------------------
19.611 - 2021-11-08 15:36:15.574 --N qu_CloseXYcopy 1: 10166142 - Validate: False
0 - 2021-11-08 15:36:15.574 --N qu_CloseXYcopy 5: 10166142
0 - 2021-11-08 15:36:15.574 --N qu_CloseXYcopy 6: 10166142 - Success: True
--------------------------------------------------------------------------------------------------
17:42.684 - 2021-11-08 15:53:58.258 --N qu_CloseXYcopy 1: 3544306 - Validate: False
0 - 2021-11-08 15:53:58.258 --N qu_CloseXYcopy 5: 3544306
1 - 2021-11-08 15:53:58.259 --N qu_CloseXYcopy 6: 3544306 - Success: True
--------------------------------------------------------------------------------------------------
1:16.696 - 2021-11-08 15:55:14.955 --N qu_CloseXYcopy 1: 2567166 - Validate: False
0 - 2021-11-08 15:55:14.955 --N qu_CloseXYcopy 5: 2567166
0 - 2021-11-08 15:55:14.955 --N qu_CloseXYcopy 6: 2567166 - Success: True
--------------------------------------------------------------------------------------------------
2:56.594 - 2021-11-08 15:58:11.550 --N qu_CloseXYcopy 1: 15999236 - Validate: False
0 - 2021-11-08 15:58:11.550 --N qu_CloseXYcopy 5: 15999236
0 - 2021-11-08 15:58:11.550 --N qu_CloseXYcopy 6: 15999236 - Success: True
--------------------------------------------------------------------------------------------------
34:56.301 - 2021-11-08 16:33:07.851 --N qu_ProcessData: trigger skipped
Data: State: Aborted
MappingsTo:
Action: Next
--------------------------------------------------------------------------------------------------
6.819 - 2021-11-08 16:33:14.670 --N qu_CloseXYcopy 1: 2036912 - Validate: False
0 - 2021-11-08 16:33:14.670 --N qu_CloseXYcopy 5: 2036912
0 - 2021-11-08 16:33:14.670 --N qu_CloseXYcopy 6: 2036912 - Success: True
--------------------------------------------------------------------------------------------------
17.681 - 2021-11-08 16:33:32.352 --N qu_CloseXYcopy 1: 4922216 - Validate: False
0 - 2021-11-08 16:33:32.352 --N qu_CloseXYcopy 5: 4922216
0 - 2021-11-08 16:33:32.352 --N qu_CloseXYcopy 6: 4922216 - Success: True
341 - 2021-11-08 16:33:32.693 --N qu_CloseXYcopy 1: 8459590 - Validate: False
0 - 2021-11-08 16:33:32.693 --N qu_CloseXYcopy 5: 8459590
1 - 2021-11-08 16:33:32.694 --N qu_CloseXYcopy 6: 8459590 - Success: True
--------------------------------------------------------------------------------------------------
4.824 - 2021-11-08 16:33:37.518 --N qu_CloseXYcopy 1: 4729762 - Validate: False
0 - 2021-11-08 16:33:37.518 --N qu_CloseXYcopy 5: 4729762
0 - 2021-11-08 16:33:37.518 --N qu_CloseXYcopy 6: 4729762 - Success: True
--------------------------------------------------------------------------------------------------
38:08.842 - 2021-11-08 17:11:46.360 --N qu_CloseXYcopy 1: 9244376 - Validate: False
0 - 2021-11-08 17:11:46.360 --N qu_CloseXYcopy 5: 9244376
0 - 2021-11-08 17:11:46.360 --N qu_CloseXYcopy 6: 9244376 - Success: True
--------------------------------------------------------------------------------------------------
2.664 - 2021-11-08 17:11:49.024 --N qu_CloseXYcopy 1: 90835322 - Validate: False
0 - 2021-11-08 17:11:49.024 --N qu_CloseXYcopy 5: 90835322
0 - 2021-11-08 17:11:49.024 --N qu_CloseXYcopy 6: 90835322 - Success: True
--------------------------------------------------------------------------------------------------
23.083 - 2021-11-08 17:12:12.107 --N qu_CloseXYcopy 1: 1509622 - Validate: False
0 - 2021-11-08 17:12:12.107 --N qu_CloseXYcopy 5: 1509622
0 - 2021-11-08 17:12:12.107 --N qu_CloseXYcopy 6: 1509622 - Success: True
--------------------------------------------------------------------------------------------------
28:57.847 - 2021-11-08 17:41:09.954 --N qu_CloseXYcopy 1: 7876012 - Validate: False
0 - 2021-11-08 17:41:09.954 --N qu_CloseXYcopy 5: 7876012
0 - 2021-11-08 17:41:09.954 --N qu_CloseXYcopy 6: 7876012 - Success: True
--------------------------------------------------------------------------------------------------
1:14.046 - 2021-11-08 17:42:24.000 --N qu_CloseXYcopy 1: 8464140 - Validate: False
0 - 2021-11-08 17:42:24.000 --N qu_CloseXYcopy 5: 8464140
1 - 2021-11-08 17:42:24.001 --N qu_CloseXYcopy 6: 8464140 - Success: True
--------------------------------------------------------------------------------------------------
18.647 - 2021-11-08 17:42:42.648 --N Gonna do a refresh: C:\TMP\~Testing\DenverSpecs
XYCopy stayed running after the close of XYPlorer. The active time shows that it has been there for more than an hour, there is not an active window nor any file manipulation occurring.

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

Posted: 09 Nov 2021 12:12
by admin
1) Did you try the killxycopy; command?

2) The next beta has a fix attempt, and *more* debug info. Again use Configuration | General | Custom Event Actions | Other Events | Exit: dlog; to see it.