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

Post Reply
User avatar
thomasmolover
Member
Member
Posts: 104
Joined: 2016-12-12, 01:32 UTC

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

Post by *thomasmolover » 2018-08-04, 16:48 UTC

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: 714
Joined: 2005-01-26, 15:12 UTC

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

Post by *Gral » 2018-08-04, 17:10 UTC

Broken main INI - HTML encoded with some garbage.

User avatar
Dalai
Power Member
Power Member
Posts: 6586
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 » 2018-08-04, 17:16 UTC

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
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
petermad
Power Member
Power Member
Posts: 8405
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2018-08-04, 17:52 UTC

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 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
thomasmolover
Member
Member
Posts: 104
Joined: 2016-12-12, 01:32 UTC

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

Post by *thomasmolover » 2018-08-05, 03:57 UTC

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: 37410
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) » 2018-08-05, 07:12 UTC

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

User avatar
thomasmolover
Member
Member
Posts: 104
Joined: 2016-12-12, 01:32 UTC

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

Post by *thomasmolover » 2018-08-05, 13:21 UTC

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