TC 7.5PB6: Crash in lister

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

TC 7.5PB6: Crash in lister

Post by *Denis268 »

After opening and scrolling of large file (270 Kb) of js (only at the nonactive transfer - "wrap text" in lister)
Viewing made through plugin SciLister

Code: Select all

---------------------------
Total Commander
---------------------------
Stack overflow.
Please report this error to the Author,
with a description of what you were doing when this error occurred!
Continue execution?

Windows exception: C00000FD
Stack trace:
02587795  00413E4C  7E368732  7E368814
7E37A011  7E37A037  00442FDE  00413E4C
7E368732  7E368814  7E379279  7E37F409
02567E72  0255C717  02585A0C  02585A0C
025555BB  02553986  02555DBA  025702F7
02570339  02561EB1  0256662E  0255F96E
025669CC  025679B1  02566689  0255C015
0255533D  025539F2  02560858  025608B1
025669CC  025679B1  025679B1  0256948B
024D5338  024D7EEC  024DBE45  024DE6A1
7E368B24  7E369486  024D107A  024D1173
006015F8  024D1173  006015F8  006199EF
00441BB5  00443C7D  7C910200  
Press Ctrl+C to copy this report!
---------------------------
Да   Нет   
---------------------------
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the stack trace, it's indeed helpful, although I don't have this problem here.

Lister calls a lister plugin function, listplugin.ListNotificationReceived, which seems to trigger some kind of infinite loop, probably because the plugins sends a WM_COMMAND or WM_NOTIFY message to Lister during that function call, which causes Lister to call ListNotificationReceived again, etc.

I will try to catch this loop.
Author of Total Commander
https://www.ghisler.com
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

Post by *Denis268 »

It is possible additionally will help to decide a problem.
On reference there is plugin and file which causes a problem. The other files do not cause an error.

http://depositfiles.com/files/avpl2rd7a
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the test file! I do not get any crash when I hold PageDown, but the plugin hangs for several seconds in two locations of the file in PB6. These hangs are greatly reduced with my fix, so I assume that there is indeed some kind of loop (which stops sometimes on my system before the stack is filled).
Author of Total Commander
https://www.ghisler.com
Denis268
Junior Member
Junior Member
Posts: 12
Joined: 2009-06-14, 10:57 UTC
Location: Ukraine, Poltava

Post by *Denis268 »

Fixed in TC 7.50b7
Thank you! :)

P.S.:Now after opening of a problem file only:
plugin hangs for several seconds in two locations of the file
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for confirming the fix! It seems that the syntax colorizer has some troubles analyzing the file, which causes these hangs.
Author of Total Commander
https://www.ghisler.com
Post Reply