Viewer (F3) crashes in WSL 2 directory

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
peersoft
Junior Member
Junior Member
Posts: 5
Joined: 2024-11-12, 19:22 UTC

Viewer (F3) crashes in WSL 2 directory

Post by *peersoft »

Hello,

whenever I try to view any file by pressing F3 (internal viewer), Total Commander first freezes and then crashes.

Steps to reproduce:
1. Navigate to any WSL folder, e.g. "\\wsl.localhost\Ubuntu\home\peer"
2. Try to open any file in this directory by focusing it and pressing F3 - it works.
3. Open any subdirectory within this top-level directory.
4. Repeat step 2, this time Total Commander crashes.

Total Commander 64-bit 10.50 beta 5 & 10.03
Windows 10 & 11
All the software in Czech language.
None of the tested files contained any non-ASCII characters.
I would attach the report.wer file, but I can't attach it - but will upload somewhere if desired.
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

Do you have any Lister plugins installed? Did you repeat your test with Alt+Shift+F3 to bypass any Lister plugins installed?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
peersoft
Junior Member
Junior Member
Posts: 5
Joined: 2024-11-12, 19:22 UTC

Re: Viewer (F3) crashes in WSL 2 directory

Post by *peersoft »

Hi,
sorry for that, yep, it points to any of my few plugins installed that probably causes that as it really does not occur with Alt+Shift+F3.
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

Well, then I suggest to disable them one by one (or in pairs of two) until TC longer crashes.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49579
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Viewer (F3) crashes in WSL 2 directory

Post by *ghisler(Author) »

Or more easily, use Alt+Shift+F3 and then try each plugin via "Plugins" menu until it crashes.
Author of Total Commander
https://www.ghisler.com
peersoft
Junior Member
Junior Member
Posts: 5
Joined: 2024-11-12, 19:22 UTC

Re: Viewer (F3) crashes in WSL 2 directory

Post by *peersoft »

Hello,
OK, I tried and have found that the Total7zip.wcx plugin is at fault.
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

Does that mean that you have Total7zip installed as a Lister plugin? If so, how does the detect string for that plugin look like?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
peersoft
Junior Member
Junior Member
Posts: 5
Joined: 2024-11-12, 19:22 UTC

Re: Viewer (F3) crashes in WSL 2 directory

Post by *peersoft »

Hi,
it does not have any #_detect string in the INI file, but the ListerPlugins64 section lists is as "1=1" so it should be active. As far as I remember, it should be able to report file compression properties in the Lister window, but that's not that important either.
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

I see. Well, you could add a detect string that tells TC to load the plugin only after pressing 4 (or selecting "Image/Multimedia" from Lister's menu) like this:

Code: Select all

x_detect="FORCE"
where x is the plugin number. This will avoid the automatic loading of this particular plugin. However, nothing will change if you press 4 when showing a file in the problematic directories.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
peersoft
Junior Member
Junior Member
Posts: 5
Joined: 2024-11-12, 19:22 UTC

Re: Viewer (F3) crashes in WSL 2 directory

Post by *peersoft »

Hi,
ah I see, I can find something similar in the TCMediaInfo plugin's entry like that:

Code: Select all

0=C:\WDX\TCMediaInfo\TCMediaInfo.wdx
0_detect="MULTIMEDIA | FORCE"
User avatar
petermad
Power Member
Power Member
Posts: 15668
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Viewer (F3) crashes in WSL 2 directory

Post by *petermad »

I just have this in my ini:

Code: Select all

[ListerPlugins]
.
.
.
24=%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
24_detect="FORCE"
Usually, if I try it on an unsupported file type nothing happens - the file is shown with TC's internal viewer or as binary text.
License #524 (1994)
Danish Total Commander Translator
TC 11.50b8 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1385a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

Maybe

Code: Select all

x_detect="MULTIMEDIA & FORCE"
is better suited in this case (or even in general).
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 15668
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Viewer (F3) crashes in WSL 2 directory

Post by *petermad »

total7zip.wcx cannot show multimedia files, so why bother?
License #524 (1994)
Danish Total Commander Translator
TC 11.50b8 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1385a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9675
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Viewer (F3) crashes in WSL 2 directory

Post by *Dalai »

Sorry, I thought MULTIMEDIA is also related to a user selecting "Image/Multimedia" from Lister's menu.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49579
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Viewer (F3) crashes in WSL 2 directory

Post by *ghisler(Author) »

MULTIMEDIA tells Total Commander to prefer that plugin over the internal multimedia viewer.
Author of Total Commander
https://www.ghisler.com
Post Reply