TC shuts down when trying to overwrite file and then cancel it with Esc
Moderators: Hacker, petermad, Stefan2, white
TC shuts down when trying to overwrite file and then cancel it with Esc
Here are the steps to reproduce situation:
1) Have two files with identical names - say, C:\Folder1\File1.txt and C:\Folder2\File1.txt.
2) Press Ctrl+C on the file in Folder2.
3) Go to Folder1.
4) Press Ctrl+V. The Windows dialog appears saying "The destination already has a file named File1.txt".
5) Now, if you PRESS and HOLD Esc, TC shuts down after about 2-4 seconds.
1) Have two files with identical names - say, C:\Folder1\File1.txt and C:\Folder2\File1.txt.
2) Press Ctrl+C on the file in Folder2.
3) Go to Folder1.
4) Press Ctrl+V. The Windows dialog appears saying "The destination already has a file named File1.txt".
5) Now, if you PRESS and HOLD Esc, TC shuts down after about 2-4 seconds.
License #299429
There is no knowledge that is not power
There is no knowledge that is not power
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
I could reproduce it, but only in Win11.
Here is the report from Event Viewer:
Here is the report from Event Viewer:
Code: Select all
Faulting application name: TOTALCMD64.EXE, version: 10.0.0.0, time stamp: 0x00000000
Faulting module name: DUI70.dll, version: 10.0.22000.1, time stamp: 0x5213495d
Exception code: 0xc0000005
Fault offset: 0x000000000003733e
Faulting process id: 0x968
Faulting application start time: 0x01d770d657df8923
Faulting application path: C:\Program Files (x86)\Total Commander\TOTALCMD64.EXE
Faulting module path: C:\WINDOWS\SYSTEM32\DUI70.dll
Report Id: e98e06d2-7646-4416-8e16-267c140452fa
Faulting package full name:
Faulting package-relative application ID:
Windows 10 Pro x64, Windows 11 Pro x64
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
Not confirmed.
Tested with TC x64 and x86
Tested with TC x64 and x86
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
I cannot reproduce this. Tested wih 32bit and 64 bit TC 10.00 under Windows 7 and Windows 10 21H1.
So it is probably a Windows 11 problem as umbra points out.
Interesting that the Windows 11 version of DUI70.dll has version: 10.0.22000.1 and not 11.something, but I guess that is Microsoft in a nutshell...

So it is probably a Windows 11 problem as umbra points out.
Interesting that the Windows 11 version of DUI70.dll has version: 10.0.22000.1 and not 11.something, but I guess that is Microsoft in a nutshell...


License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
@petermad @Horst.Epp @umbra
It's Windows 10 Home 21H1 19043.1081 x64
TC is x64, dark theme, regular user mode
It's Windows 10 Home 21H1 19043.1081 x64
TC is x64, dark theme, regular user mode
License #299429
There is no knowledge that is not power
There is no knowledge that is not power
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
Its exactly my environment and as said I can't reproduce it.Sektor wrote: 2021-07-04, 17:09 UTC @petermad @Horst.Epp @umbra
It's Windows 10 Home 21H1 19043.1081 x64
TC is x64, dark theme, regular user mode
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
2Sektor
Except for the Dark theme - it was the same I tested with - I have now tried with TC in Dark mode, but still no crash.It's Windows 10 Home 21H1 19043.1081 x64
TC is x64, dark theme, regular user mode
Last edited by petermad on 2021-07-04, 22:43 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
@petermad @Horst.Epp @umbra
Maybe this info will help: I installed Windows 11 but then got back to Windows 10. Maybe this is the reson?
Maybe this info will help: I installed Windows 11 but then got back to Windows 10. Maybe this is the reson?
License #299429
There is no knowledge that is not power
There is no knowledge that is not power
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
@petermad @Horst.Epp @umbra
Also tested on another computer: Win10 Pro 21H1 19043.1081 x64 (no Win11 installation), TC x64 regular user mode.
Same thing!
Also tested on another computer: Win10 Pro 21H1 19043.1081 x64 (no Win11 installation), TC x64 regular user mode.
Same thing!
License #299429
There is no knowledge that is not power
There is no knowledge that is not power
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
I can reproduce the problem, but it seems to be a bug in Windows itself. It does not need to be in dark mode, it also happens in normal mode. However, it doesn't always happen, only when a Windows dialog flashes shortly on the screen.
The dialog shows:
Title: This cancels all transfers in progress.
Text: Are you sure you want to cancel all transfers?
So what I think happens is that the pressed ESC cancels the dialog multiple times.
Interestingly, I get the same dialog in Explorer, but it doesn't crash...
The dialog shows:
Title: This cancels all transfers in progress.
Text: Are you sure you want to cancel all transfers?
So what I think happens is that the pressed ESC cancels the dialog multiple times.
Interestingly, I get the same dialog in Explorer, but it doesn't crash...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
Total Commander 7.50 Public Beta 4 works fine.
Total Commander 7.50 Public Beta 5 (pre1) doesn't.
Probable cause:
Total Commander 7.50 Public Beta 5 (pre1) doesn't.
Probable cause:
HISTORY.TXT wrote:31.05.09 Fixed: Copy+Paste (Ctrl+C/Ctrl+V): Execute 'paste' in background thread because it hangs on Vista when pasting large files
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
Sorry, I can't move past back to the foreground thread, it can cause the program to hang.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
No one is asking you to. But perhaps you can now better pin point the problem and perhaps fix it.ghisler(Author) wrote: 2022-04-26, 10:01 UTC Sorry, I can't move past back to the foreground thread, it can cause the program to hang.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
I have tried it, when I call the exact same functions from the foreground thread, the error doesn't occur. Unfortunately this has other downsides like possible hangs, so I don't want to do this.
I tried not closing the background thread, but that didn't help either. The error occurs in a completely different thread (created by OLE2) outside of my own code.
I tried not closing the background thread, but that didn't help either. The error occurs in a completely different thread (created by OLE2) outside of my own code.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC shuts down when trying to overwrite file and then cancel it with Esc
Is it possible to prevent that TC exits?