TC crash when enter archive file in everything

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

User avatar
kesdoputr
Member
Member
Posts: 168
Joined: 2007-12-27, 12:38 UTC

TC crash when enter archive file in everything

Post by *kesdoputr »

Hello, i use TC with everything 1.4.1.895 x64

I usually search in everything and press enter on file and back to TC

Today i see TC9.21 final release, i update from 9.20 to 9.21 and a found when i enter in a archive file in everything(it should back to TC)
TC crash with the error message like the picture below
Image: https://i.imgur.com/Hx7L3Dk.png

I test with different archive file and i get the same error, the only different is the TOTALCMD.EXE's version.
When i change the TOTALCMD.EXE to 9.20, it will be all ok with no error.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

So far I couldn't reproduce it, sorry. I have received your e-mail where you write that it could be caused by automatic view mode switching, so I will investigate in that direction.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC crash when enter archive file in everything

Post by *Horst.Epp »

No such crash at least in Windows 10.
The default action for Enter in Everything is not to open an archive in TC,
its opening in the Tool assigned for the file type in Windows.
So what have you set in Everything and or Windows ?
Also its much esier to search with Everything from inside of TC
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

The user has set
$exec("c:\path to total commander\Explorer.exe" /O /A /S "%1")
He has renamed totalcmd64.exe to Explorer.exe, probably because otherwise some virus scanners don't show their context menu entries in Total Commander.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: TC crash when enter archive file in everything

Post by *tuska »

I received your email and have replied and sent 2 pictures.
For me the same problem exists in TC 9.21 x64 only.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

I managed to reproduce it with the ini file you sent me. I will probably have to release a TC 9.21a to fix it.

You can avoid the crash by adding the line
CtrlArrowOpenArchive=0
or
CtrlArrowOpenArchive=4

to your wincmd.ini under [Configuration] . I had this set to 4, that's why I didn't notice it in my tests.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC crash when enter archive file in everything

Post by *Horst.Epp »

ghisler(Author) wrote: 2018-08-15, 19:27 UTC I managed to reproduce it with the ini file you sent me. I will probably have to release a TC 9.21a to fix it.

You can avoid the crash by adding the line
CtrlArrowOpenArchive=0
or
CtrlArrowOpenArchive=4

to your wincmd.ini under [Configuration] . I had this set to 4, that's why I didn't notice it in my tests.
I also have CtrlArrowOpenArchive=4 in my config.
Its the only usefull setting to handle search results from Everything and other such tools.
For me it doesn't make sense to come into an archive content if the name of the archive was searched.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

Well, TC cannot "know" whether it should show the archive as a file or as a directory when you pass c:\path\archivename.zip to it. By default, TC treats archives like directories, and the parameters are meant to pass directories to TC...
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: TC crash when enter archive file in everything

Post by *tuska »

For me, CtrlArrowOpenArchive=1 has the advantage that I can use CTRL+left/right to open directory/archive and display it in the target window.
User avatar
kesdoputr
Member
Member
Posts: 168
Joined: 2007-12-27, 12:38 UTC

Re: TC crash when enter archive file in everything

Post by *kesdoputr »

Sorry for late reply, i put everything in TC and because i use portable i use relative path, my setting in everything.ini like below
open_folder_command2=$exec("..\..\TOTALCMD.EXE" /O /P=L /L="%1")
open_file_command2=$exec("..\..\TOTALCMD.EXE" /O /P=L /L="%1")
open_path_command2=$exec("..\..\TOTALCMD.EXE" /O /P=L /L="$parent(%1)")
I have no CtrlArrowOpenArchive setting in my WINCMD.INI but i have setting ZIPlikeDirectory=1 in [Packer] section

The thing i confuse is that the only diffrent thing is the TOTALCMD.EXE's version.
BTW, i am using Windows7 SP1 x64 with TC x86 and everything x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

2kesdoputr
It's a bug which I added involuntarely when fixing another bug. Until there is an update, just add
CtrlArrowOpenArchive=4

to your wincmd.ini under [Configuration].

You can remove that line once the bug is fixed. I will probably release a new version next week, but I will collect other bug reports first.
Author of Total Commander
https://www.ghisler.com
User avatar
kesdoputr
Member
Member
Posts: 168
Joined: 2007-12-27, 12:38 UTC

Re: TC crash when enter archive file in everything

Post by *kesdoputr »

OK i know, i will back to use 9.20 until the new version release, thanks for your reply so quickly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

You don't need to go back to 9.20! Just add the line CtrlArrowOpenArchive=4 to your wincmd.ini, and it will not crash in 9.21!
Author of Total Commander
https://www.ghisler.com
lostcpu
Junior Member
Junior Member
Posts: 18
Joined: 2006-11-19, 04:55 UTC

Re: TC crash when enter archive file in everything

Post by *lostcpu »

same problem. solved by added the line CtrlArrowOpenArchive=4 to your wincmd.ini !

---------------------------
Total Commander 9.21
---------------------------
Access violation.
Access violation
Windows 7 SP1 Professional 6.1 (Build 7601), base: 0400000

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Stack trace (x64):52369C
52B202 727B8D 73FC20 40F4AD 84D2D0 841C63 4383B9 93F1D1
87FB31 94A19B 76AC9BBD
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------
Single is simple;Double is trouble.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) »

Yes, it's the same problem. A fix has already been tested by one of the bug reporters, and will be released soon.
Author of Total Commander
https://www.ghisler.com
Post Reply