(False Positiv) Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 493
Joined: 2013-12-04, 09:56 UTC

(False Positiv) Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

Post by *funkymonk »

... if called in the TC command line while quick view is currently used with a lister plugin. TC simply terminates without any error message.

(At least on several of my machines with TC 10.52x32.)
User avatar
Dalai
Power Member
Power Member
Posts: 9964
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

Post by *Dalai »

Well, does your Quick View use a Lister plugin? It's up to the user to make sure no plugin is (actively) used anywhere in TC before calling the cm_UnloadPlugins command.

Regards
Dalai
Last edited by Dalai on 2023-04-26, 16:36 UTC, edited 1 time in total.
#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
tuska
Power Member
Power Member
Posts: 4052
Joined: 2007-05-21, 12:17 UTC

Re: Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

Post by *tuska »

funkymonk wrote: 2023-04-26, 13:35 UTC ... if called in the TC command line while quick view is currently used with a lister plugin.
TC simply terminates without any error message.

(At least on several of my machines with TC 10.52x32.)
This problem did NOT occur with the lister plug-in "TCIrfanView" version 1.8.2 from 24.4.2023 in TC 10.52 x64 and x86 and
Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1635 - 25.4.2023).

1) Was it a specific lister plugin?
2) Did you use 'Ctrl+Q: Quick View Panel' or 'F3: Show File Contents'?
3) What was the sequence of steps?
4) Was a Report.wer file created in C:\ProgramData\Microsoft\Windows\WER\...?
5) Which version of Windows are you using?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6973
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

Post by *Horst.Epp »

For my tests there where no problems or crashes using cm_UnloadPlugins.
Tested with following Lister plugins:
IrfanView
EMLView
Slister
Ulister
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
funkymonk
Senior Member
Senior Member
Posts: 493
Joined: 2013-12-04, 09:56 UTC

Re: Calling cm_UnloadPlugins while using QuickView seems to kill TC ...

Post by *funkymonk »

Sorry for the false alarm!
I have tracked down the problem to a totally different reason:

I use autorun.wdx 2.2.10 beta for launching a periodic thread via "RunThread".
As long as this thread is running, cm_UnloadPlugins causes TC to terminate as described above.
(Quick solution: Use "Pragma AutorunBlockUnload" in the autorun configuration to prevent unloading the plugin. I will post this problem to the autorun forum thread later.)

Sorry again for the confusion.
Post Reply