-v8.50 beta 3 - crashes on Search archives
Moderators: Hacker, petermad, Stefan2, white
-v8.50 beta 3 - crashes on Search archives
v8.50 beta 3 - very repeatedly crashes on cm_SearchFor with "Search Archives" checked. It only seems to crash when the directory I am performing the search on includes the latest version of TeraCopy setup file, teracopy23beta2.exe. It doesn't matter what file name I am searching for; it only seems to crash when Archives is checked, and the search includes the file teracopy23beta2.exe. I assume that it thinks teracopy23beta2.exe is an archive, and it tries to search inside it? I am running TC 32 bit, on a Windows 7 x64 machine.
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
2crconner,
Do you search for text in your archives?
teracopysetup.exe is an Inno Setup file.
Seems you have MultiArc ad-don installed and configured the ad-don flags in [PackerPlugins] section of wincmd.ini to be able to "Can search in archive".
My flag for Inno Setup exe files in PackerPlugins] is 324.
exe=324,%COMMANDER_PATH%\plugins\wcx\Pack\Multiarc\multiarc.wcx
You could replace it manually with an editor or configure it with TcPluginManager.
May be you configured another wcx plugin than MultiArc for extracting executable files?
If I wrote trash, someone corrects me.
Do you search for text in your archives?
teracopysetup.exe is an Inno Setup file.
Seems you have MultiArc ad-don installed and configured the ad-don flags in [PackerPlugins] section of wincmd.ini to be able to "Can search in archive".
My flag for Inno Setup exe files in PackerPlugins] is 324.
exe=324,%COMMANDER_PATH%\plugins\wcx\Pack\Multiarc\multiarc.wcx
You could replace it manually with an editor or configure it with TcPluginManager.
May be you configured another wcx plugin than MultiArc for extracting executable files?
If I wrote trash, someone corrects me.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
plugin InstallExplorer was crashing
I had been using TC v7.04a with plugin "InstallExplorer InstExpl.wcx v0.9.1" for years. No problems. And, it doesn't cause a problem with the Teracopy setup file.
But when I upgraded to TC v8.50b3, now TC crashes when the Teracopy setup file is one of the files searched. I was not searching for text inside, just for any filename (inside). There is no error message other than the Windows message box saying "Total Commander 32 bit has stopped working.", and TC crashes.
From TychoBarfy's suggestion, I looked at my packer plugins. I do not have MultiArc. But I narrowed the crash down to the fact that the InstallExplorer v0.9.1 plugin is now causing TC v8.50b3 to crash. I find it strange that the new TC crashes, and old TC doesn't.
Well, I suppose I need to get rid of InstallExplorer; I am trying out MultiArc now. Any other suggestions are very welcome, as I am going through a major "update TC and plugins" project for several months.

But when I upgraded to TC v8.50b3, now TC crashes when the Teracopy setup file is one of the files searched. I was not searching for text inside, just for any filename (inside). There is no error message other than the Windows message box saying "Total Commander 32 bit has stopped working.", and TC crashes.
From TychoBarfy's suggestion, I looked at my packer plugins. I do not have MultiArc. But I narrowed the crash down to the fact that the InstallExplorer v0.9.1 plugin is now causing TC v8.50b3 to crash. I find it strange that the new TC crashes, and old TC doesn't.
Well, I suppose I need to get rid of InstallExplorer; I am trying out MultiArc now. Any other suggestions are very welcome, as I am going through a major "update TC and plugins" project for several months.

My hero, Mr. Ghisler. License #37856 since 1999.
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
I also have InstallExplorer v0.9.1 plugin for unknown exe file purposes with flag 324 in [PackerPlugins] section and I have no issues searching (e.g. for *.txt) in folders, containing archives and an exe, which is not an archive in TC 32bit and 64bit 5.50 beta 3.
May be it is a special exe file, that causes the problem? Maybe in context with an anti-virus program?
May be it is a special exe file, that causes the problem? Maybe in context with an anti-virus program?
-- TB --
1. Yes, it is only that one .exe file teracopy23beta2.exe, not any other .exe files that I could find. For some reason, this .exe file is special in some way. FileInfo says "This installation was built with Inno Setup."
2. I had the file extensions for InstallExplorer to trigger on .exe & .msi in the PlugIn Manager. I believe the .exe extension setting is what causes TC to invoke the InstallExplorer plugin to open the Teracopy file.
3. I removed the .exe extension trigger for InstallExplorer, so it just triggers on .msi. Now I can do a "Search Archives" without 8.50b3 crashing.
4. BUT, 8.50b3 and InstallExplorer combination STILL CRASHES if I put the cursor on the Terabyte file, and do a ctrl-page down (which invokes cm_GoToDir). So, the problem is still there, the way to show it just changed a little bit by deleting the .exe trigger.
5. I exited my antivirus program. Still crashes.
2. I had the file extensions for InstallExplorer to trigger on .exe & .msi in the PlugIn Manager. I believe the .exe extension setting is what causes TC to invoke the InstallExplorer plugin to open the Teracopy file.
3. I removed the .exe extension trigger for InstallExplorer, so it just triggers on .msi. Now I can do a "Search Archives" without 8.50b3 crashing.
4. BUT, 8.50b3 and InstallExplorer combination STILL CRASHES if I put the cursor on the Terabyte file, and do a ctrl-page down (which invokes cm_GoToDir). So, the problem is still there, the way to show it just changed a little bit by deleting the .exe trigger.
5. I exited my antivirus program. Still crashes.
My hero, Mr. Ghisler. License #37856 since 1999.
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
I would recommend creating the Inno Setup Sections in MultiArc (here you will find my .ini and here is the .ini in HTML format with working links to packers and unpackers).
Under Extensions you can write i.e. exe, exe_IS and in [PackerPlugins] section of wincmd.ini call it with exe_IS=324,...
Call your InstallExplorer in [PackerPlugins] section with exe_unknown=324,....
Than it should work.
Under Extensions you can write i.e. exe, exe_IS and in [PackerPlugins] section of wincmd.ini call it with exe_IS=324,...
Call your InstallExplorer in [PackerPlugins] section with exe_unknown=324,....
Than it should work.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I don't think that I can do anything about it - TC still calls the plugin the same way as before. Because of the larger EXE size, it's possible that some offsets changed, so a bug which had no effect before may now be causing a crash...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I've been writing software and embedded OS's for almost 50 years, mostly in Assembly code. It never ceases to amaze me the incredibly bizarre ways some bugs manifest themselves. Often they are triggered by the most miniscule, unrelated code situations imaginable. And their effects can appear in extremely strange ways.ghisler(Author) wrote:I don't think that I can do anything about it - TC still calls the plugin the same way as before. Because of the larger EXE size, it's possible that some offsets changed, so a bug which had no effect before may now be causing a crash...
I have ultimate confidence in Mr. Ghisler and his opinions and expertise. So, if Mr. Ghisler says it is some latent bug in the plugin, that is more than good enough for me. It's rare that I've ever found software to be as error free as TC has been for the last 14 years. And, in 50 years, I don't think I've ever been as enamored with a piece of software as I am with TC.
TychoBarfy, I looked at your MultiArc work and your website work, and am a little overwhelmed by it right now. Wow, you are really into MultiArc! It's going to take me some time to digest it all, as I have other real world job pressures. Upgrading TC is my fun. But, I will get it done.
Thanks to Mr. Ghisler and TychoBarfy for your time and considerations.
If anyone else has any more suggestions, I would love to hear them.
My hero, Mr. Ghisler. License #37856 since 1999.