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: sheep, Hacker, Stefan2, white

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

TC crash when enter archive file in everything

Post by *kesdoputr » 2018-08-15, 14:28 UTC

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: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-15, 15:49 UTC

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
http://www.ghisler.com

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3479
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC crash when enter archive file in everything

Post by *Horst.Epp » 2018-08-15, 15:54 UTC

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 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.535)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß9 x64 / x86, Everything 1.4.1.959 (x64)

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-15, 15:59 UTC

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
http://www.ghisler.com

User avatar
tuska
Power Member
Power Member
Posts: 1758
Joined: 2007-05-21, 12:17 UTC

Re: TC crash when enter archive file in everything

Post by *tuska » 2018-08-15, 16:23 UTC

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: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 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.
Author of Total Commander
http://www.ghisler.com

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3479
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC crash when enter archive file in everything

Post by *Horst.Epp » 2018-08-15, 19:51 UTC

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 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.535)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß9 x64 / x86, Everything 1.4.1.959 (x64)

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-15, 20:02 UTC

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
http://www.ghisler.com

User avatar
tuska
Power Member
Power Member
Posts: 1758
Joined: 2007-05-21, 12:17 UTC

Re: TC crash when enter archive file in everything

Post by *tuska » 2018-08-15, 21:24 UTC

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: 103
Joined: 2007-12-27, 12:38 UTC

Re: TC crash when enter archive file in everything

Post by *kesdoputr » 2018-08-16, 03:57 UTC

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: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-16, 07:35 UTC

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
http://www.ghisler.com

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

Re: TC crash when enter archive file in everything

Post by *kesdoputr » 2018-08-16, 08:07 UTC

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: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-16, 09:39 UTC

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
http://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 » 2018-08-19, 03:43 UTC

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: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC crash when enter archive file in everything

Post by *ghisler(Author) » 2018-08-19, 07:19 UTC

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
http://www.ghisler.com

Post Reply