Lister crash

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Lister crash

Post by *poiuytr »

I guess there is a problem related to plugins detect string in Lister.
If i try to view some file with filelength less then higher number of detect symbol in detect string Lister crashes!
For example make a text file with only one symbol. This file lenght will be one byte. Then if there is installed plugin with detect string like "[1] = "A"" and i will try to view this file in Lister crash occures. I try to debug this error and got this: Read beyond end of file.
Here is screenshot: Image: http://rarview.times.lv/exception.png
My guess is that Lister is forced by detect string to read second byte but file contains only one byte. Therefore exception was generated.
I hope my explanation is clear enough.

p.s.
I tryed to find similar bug report but found nothing.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

One is good...

Post by *Clo »

2poiuytr
:D Hello!
¤ I just tried with a *.txt file containing only one character: "a"
8) No problem, Lister displayed the "a", and didn't crash...
¤ Under Win98 SE (French)
:roll: However, I've no many plugins installed:
- ICL-View
- Cdbfview
* No more...
:idea: Maybe could you - temporarily - uninstall the plugins one by one, except mine if you have, they don't disturb anything I guess, until the Lister no longer crashes?
- Hence, you'ld find the faulty one :twisted: :!:
:?: What do you thinK?
Glad to hear from you about this,
:) Kind regards,
Claude,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2poiuytr
Clo may be right, there could exist any conflict between lister plugins. try to temporarily remove the other ones and check if it still shows an error.
For which plugin have you used string detection?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

Clo wrote: ... Maybe could you - temporarily - uninstall the plugins one by one, ...
Shame on me I didn't do it before starting a thread :oops: .
I think I locate faulty plugin, its is FlashView 1.2
Here is plugins detect string:

Code: Select all

0_detect="MULTIMEDIA | ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") 
I guess this is the problem of FlashView plugin or...?
FlashView is the only one plugin installed. My test file is "a.txt" with only one symbol "a". IMHO such a file must be rejected by detect string, but crash still occures.
But there is no problems with other plugins installed which detect string contains [1 or 2]="symbol" and so on.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

poiuytr wrote:Here is plugins detect string:

Code: Select all

0_detect="MULTIMEDIA | ext="SWF" |(([0]="F" & [1]="W" & [2]="S")|([0]="C" & [1]="W" & [2]="S") 
I guess this is the problem of FlashView plugin or...?
Try to change it into:

Code: Select all

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

DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

It works ok now, thank you djk. So Lister is innocent :)
Post Reply