Bug in FlashView plugin causes lister crash - solution

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

StayAtHome
Junior Member
Junior Member
Posts: 13
Joined: 2003-07-14, 21:19 UTC
Location: Ukraine
Contact:

Post by *StayAtHome »

2Boofo
The problem never existed! :)
PLEASE RENAME OR UNSTICK THIS TOPIC!
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

It must have at one time or Christian would never have reported it. ;)
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

StayAtHome wrote: PLEASE RENAME OR UNSTICK THIS TOPIC!
I agree
Christian writes:
In TC 6.01, I will show an error when this bug is detected.
As we now have 6.01, the crash shouldn't happen anymore...

Besides:
Flashview is not an 'official' plugin, so unless Christian is going to make a sticky about every unofficial plugin that might cause a crash, I don't think a 'sticky' is justified

2StayAthome
Maybe you should email Christian about wanting to unstick this topic.
...BRB...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will unstick it now!
Author of Total Commander
https://www.ghisler.com
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Is/was anybody able to download v1.2 or can provide a working downloadlink ? :roll:
Allthough it is listed on StayAtHome's Downloadsite http://www.stayathome.nm.ru/files/, i can only access previous release v1.1.
Tried with no success since days.
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

deus-ex wrote:Is/was anybody able to download v1.2 or can provide a working downloadlink ? :roll:
Allthough it is listed on StayAtHome's Downloadsite http://www.stayathome.nm.ru/files/, i can only access previous release v1.1.
Tried with no success since days.
Just tried it. NP at all. So try again!
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Leif wrote:Just tried it. NP at all. So try again!
Yeah, now it worked. Greetings to Mr. Murphy ;).

Thank you, Leif.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Once again problems with FlashView.

Installing FlashView it adds by default new lines to wincmd.ini:

Code: Select all

15=D:\totalcmd\Lister\Flashview\FlashView.wlx
15_detect="MULTIMEDIA | ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") & force)"
If try to view text file, eg. myfile.txt which is <=2bytes (!) I get an error:
External exception EEDFADE. (...)
If I change the configuration line into:

Code: Select all

15=D:\totalcmd\Lister\Flashview\FlashView.wlx
15_detect="ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") & force)"
everything works ok.
Can anyone confirm it?

(WinXp Pro, TC 6.01, FlashView 1.2)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Confirmed.

Icfu
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is a bad detect string:

15_detect="MULTIMEDIA | ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") & force)"

Since MULTIMEDIA always returns true, this detect string will always be true too. So the SWF plugin will also try to load 2 byte files, and crash in its startup code. The correct dectect string should be
15_detect="MULTIMEDIA & ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") & force)"

Since MULTIMEDIA is always true, this will have the desired effect. TC uses the flag MULTIMEDIA just to find out whether this plugin should override internal multimedia viewers or not!
Author of Total Commander
https://www.ghisler.com
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2StayAtHome
So you must make the next step and change the default detect string in next version ;-)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
StayAtHome
Junior Member
Junior Member
Posts: 13
Joined: 2003-07-14, 21:19 UTC
Location: Ukraine
Contact:

Post by *StayAtHome »

2ghisler(Author)
Thanks for explanation!
2 All
Bug was fixed:
FlashView 1.3
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

It's again a different detect string from the one ghisler proposed but it seems to work, thx. ;)

13_detect="MULTIMEDIA | ext="SWF" &(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") & force)"

Icfu
This account is for sale
StayAtHome
Junior Member
Junior Member
Posts: 13
Joined: 2003-07-14, 21:19 UTC
Location: Ukraine
Contact:

Post by *StayAtHome »

Oops!
I have upload the wrong version! Try again.
Sorry :(
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Correct now, thx. :)

Icfu
This account is for sale
Post Reply