[TC 10.51rc4] Crash when overwriting a file is canceled

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

[TC 10.51rc4] Crash when overwriting a file is canceled

Post by *yyang »

I found this issue today on my laptop (Windows 10 64-bit Simplified Chinese Edition), and reproduced it in a clean virtual machine (same OS) with a clean installation of TC. Haven't met it before.

1. Prepare a file in the left panel, say foo.txt, and paste it into the right panel.
2. Switch back to the left panel, press Ctrl+C to copy the same foo.txt, Tab to the right panel, and press Ctrl+V. A dialog box will pop up, asking for confirmation.
3. Press Esc quickly and repeatedly to cancel the dialog box. After the dialog box has been canceled, TC may crash. (Before the crash, a small dialog box appears and disappears immediately.)
4. If the crash doesn't happen, go to step 2 and try again. Don't skip the copy operation.

In my test, a crash would happen in less than 10 attempts.
Last edited by yyang on 2022-09-02, 07:43 UTC, edited 1 time in total.
#147523
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.51rc4] Crash when overwriting a file is canceled

Post by *ghisler(Author) »

This is a known bug in Windows itself. The crash happens outside of my code, there is no way for me to prevent it.

You can find the discussion here:
https://www.ghisler.ch/board/viewtopic.php?t=74968
Author of Total Commander
https://www.ghisler.com
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10.51rc4] Crash when overwriting a file is canceled

Post by *yyang »

Oh I see, it does feel like an OLE problem. Thanks for your reply.
#147523
Post Reply