Crash when press delete key

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
hughro
Junior Member
Junior Member
Posts: 3
Joined: 2021-08-16, 05:31 UTC

Crash when press delete key

Post by *hughro »

Hi
want to delete file or folder, press the delete key will issue the TC crash.
I try to search this issue, looks more topic still no solution.
Only change to 32bit version, this issue can be temporary resolve.
This issue only happened on 64bit, can you help to check the 32bit/64bit difference? :?:

OS: Windows 10 v10.0.17763.1879

Thanks.
User avatar
Stefan2
Power Member
Power Member
Posts: 4126
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Crash when press delete key

Post by *Stefan2 »

Hi, welcome 2hughro and thank you for your report.


Did you get a Crash-Report? Please copy and paste it here.

On which TC-version did you see this?
Any special with that file or folder? Size? Location, local, share or NAS?




 
hughro
Junior Member
Junior Member
Posts: 3
Joined: 2021-08-16, 05:31 UTC

Re: Crash when press delete key

Post by *hughro »

Hi

1. How to dump the crash report?
2. Try to use the v9.51 64bit and v10.0 64bit has the same issue, v10.0 32bit is working no any issue found.
3. no special folder or file size, any folder or file will issue the crash when press delete key to delete it.
User avatar
Stefan2
Power Member
Power Member
Posts: 4126
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Crash when press delete key

Post by *Stefan2 »

hughro wrote: 2021-08-16, 06:17 UTC 1. How to dump the crash report?
You should get an dialog from TC where you can copy the report, no?


Please tell us your option set in menu "Configuration > Options... > Copy/Delete > General Copy+Delete options > [x]Use Explorer..."
And can you also try to delete such file with WinExplorer as an test?






 
hughro
Junior Member
Junior Member
Posts: 3
Joined: 2021-08-16, 05:31 UTC

Re: Crash when press delete key

Post by *hughro »

Hi
Check the v10.0 32bit and 64bit setting.
the Configuration > Operation > Copy/Delete
the 2 version setting is the same = "Use standard copy method"
and only apply "F8/Del deletes to recycle bin (Shift=directly)
Other setting by default, I have no change any setting in this page.

Where can find the dialog?
User avatar
Stefan2
Power Member
Power Member
Posts: 4126
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Crash when press delete key

Post by *Stefan2 »

Thanks for the update.
hughro wrote: 2021-08-16, 08:39 UTC Where can find the dialog?
You should get an dialog automatically from TC if an crash occurs, from there you can copy the report.



Wait till Mr. Ghisler (or some user with more knowledge than I) will jump in, or...



post by *ghisler(Author)

You could also create a crash dump with procdump, this would allow me to see in the stack trace which module is crashing:
https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

1. Create new directory c:\dumps
2. Create a lnk file of procdump.exe or procdump64.exe (for 64-bit Windows)with Ctrl+Shift+F5, e.g. procdump.lnk
3. Open the properties the lnk file with Alt+Enter
4. Change the command from c:\path\procdump.exe to
c:\path\procdump.exe -ma -i c:\dumps
5. Important: Click on "Advanced" and check option "As administrator"
6. Run procdump with this link file
7. Wait until the crash occurs.
8. Send me the dump from c:\dumps.
It depends on how big it is (zipped).
If it's smaller than 25MB, please send it to my GMail address: cghisler at gmail dot com.
Otherwise please upload it somewhere (e.g. Google Drive, OneDrive, Dropbox),
share it (everyone who has the link), and send me the link to the same e-mail address.



To analyze the dump yourself , please get windbg from here:
https://developer.microsoft.com/en-us/windows/hardware/download-windbg

Usage:
1. Create new directory c:\Symbols
2. Run Windbg
3. File - Symbol search path, add the following:
srv*C:\SYMBOLS*http://msdl.microsoft.com/download/symbols
4. File - Open crash dump - choose the dmp file
5. Enter the following in the command line (including the ! at the start):
!analyze -v
(including the exclamation mark!) and press ENTER.
6. Wait
7. When the result is there, select all, press Ctrl+C and paste the result to the email body.




 
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Crash when press delete key

Post by *petermad »

2hughro
Does it happen if you start your TC with a fresh .ini file - can be done for example with the command line parameter /i=path\cleanini.ini
Last edited by petermad on 2021-08-17, 01:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Crash when press delete key

Post by *Hacker »

I assume it's a shell extension again.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Crash when press delete key

Post by *ghisler(Author) »

Sounds indeed like a shell extension. Some assume they are called from Explorer and try to access it without error checking.

To correct it, please try the following:
1. Get the free tool ShellExView:
http://www.nirsoft.net/utils/shexview.html
2. Start it. If using Total Commander 32-bit, you need to get the 32-bit
version, otherwise the 64-bit version of ShellExView. The 32-bit
version needs to be called like this: shexview.exe /wow64
3. Sort the shell extensions by type
4. Disable all context menu shell extensions one by one (you can hide/keep
those belonging to Windows, they are usually OK).
5. Continue until Total Commander stops crashing
6. Now you can re-enable the extensions which don't cause any problems
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Crash when press delete key

Post by *ghisler(Author) »

Moderator message

Moved to "will not be changed"
Author of Total Commander
https://www.ghisler.com
Post Reply