[9.2] TC often crashes in Lister for EXE file with swithing view

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
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

[9.2] TC often crashes in Lister for EXE file with swithing view

Post by *thomasmolover »

When using the F3 Lister to browse the exe file, use the shortcut key 4 to switch the browsing mode, and the TC often crashes and exits directly.

here is my setting file

https://drive.google.com/open?id=1-TcAUe1895XKUY4BJOfJLk_wGxLQ7waS
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *Gral »

Broken main INI - HTML encoded with some garbage.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *Dalai »

Which Lister plugins do you use? Which of them are registered for executables, or can detect the file type based on the file contents? Easy but a little work-intensive way to find the culprit: Disable all Lister plugins, enable them one by one until TC crashes again.

Regards
Dalai
#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: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *petermad »

If the wincmd.ini.txt file inside the archive at https://drive.google.com/open?id=1-TcAUe1895XKUY4BJOfJLk_wGxLQ7waS is really your wincmd.ini - then you have a serious problem - as 2Gral writes: is html encoded and contains a lot of apparantly Chinese characters... And it does not contain a redirection to the other file of yours USER_WLX.INI
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
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *thomasmolover »

I know what it happen

the CADView.wlx cause an error with scaning the exe file when I switch the view mode

https://imgur.com/a/Ug5IniS

but I had force the plugins to view special type like this

13=%COMMANDER_PATH%\PLUGINS\WLX\CADView\CADView.wlx
13_detect="FORCE | EXT="DXF" | EXT="DWG" | EXT="DWT" | EXT="DWF" | EXT="PLT" | EXT="HGL" | EXT="HG" | EXT="HPG" | EXT="PLO" | EXT="HP" | EXT="HP1" | EXT="HP2" | EXT="HPGL" | EXT="HPGL2" | EXT="HPP" | EXT="GL" | EXT="GL2" | EXT="PRN" | EXT="SPL" | EXT="PCL" | EXT="RTL" | EXT="CGM" | EXT="SVG" | EXT="SVGZ" | EXT="WMF" | EXT="EMF""

why it still scan the exe file?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *ghisler(Author) »

FORCE has the opposite effect of what you are expecting: It is set to true when the user chooses option 4, "image/multimedia", manually. Therefore with this detect string, TC will try to open also EXE files with CadView. FORCE means that the user can force to use a plugin with '4'.

Try the same string without FORCE | instead:
13_detect="EXT="DXF" | EXT="DWG" | EXT="DWT" | EXT="DWF" | EXT="PLT" | EXT="HGL" | EXT="HG" | EXT="HPG" | EXT="PLO" | EXT="HP" | EXT="HP1" | EXT="HP2" | EXT="HPGL" | EXT="HPGL2" | EXT="HPP" | EXT="GL" | EXT="GL2" | EXT="PRN" | EXT="SPL" | EXT="PCL" | EXT="RTL" | EXT="CGM" | EXT="SVG" | EXT="SVGZ" | EXT="WMF" | EXT="EMF""
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [9.2] TC often crashes in Lister for EXE file with swithing view

Post by *thomasmolover »

2Gral & Dalai Thank you
2petermad I redirect the plugins setting INI Sec to other file for some debug
2ghisler(Author) Thank you, I know now
Post Reply