Directory Hotlist access violation

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Directory Hotlist access violation

Post by *StatusQuo »

Hi,

I got this AV in Directory Hotlist:

Code: Select all

---------------------------
Total Commander 7.50a fin
---------------------------
Access violation at address 004BD8D5. Read of address 02464EF0.

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
004BD8D5
443A3D  4443BA  414514  44397B  414514  43404C
43419A  442479  443A3D  4423B7  44476E  4443BA
>414514  44397B  414514  4438E9  414514  443A3D
4443BA  414514  44397B  414514  4023DB  44397B
414514  4BBFEC  56191E  511E00  502A27  4443BA
414514  44397B  414514  419B58  419BF0  69F119

Raw:
5C0043  4438E9  4438E9  414514  444733  442479
444689  433D25  443A3D  4443BA  4443DD  414514
44397B  414514  43404C  43419A  442479  444689
433D25  443A3D  4423B7  44476E  444C31  442479
444689  443A3D  4443BA  414514  44397B  414514
4438E9  414514  444733  442479  444689  433D25
443A3D  4443BA  414514  44397B  414514  4023DB
660875  513568  402E4E  442479  444689  4161F0
4161F0  443A3D  4443BA  414514  44397B  414514
454EDE  4BBFEC  5618DA  56191E  5C0063  422AC0

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja   Nein   
---------------------------
What I did:
- opened Dir Hotlist configuration (Ctrl+D, Configure)
- copied an existing entry (using TC_StartMenu_DuplicateEntry.ahk)
- changed the title of that new entry
- changed 1 Byte of the entry's command line
- created a new line, entered title and command line (net.exe use ...)
- pressed Enter key so save

The newly added lines were saved correctly, though (seen after TC restart).

TC 7.50a, XP Pro SP3
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is a known problem which has been fixed in TC 7.55 beta. It happens because TC tries to draw some lines in the dialog while the list has already been unloaded. The script is probably causing an additional refresh event.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Thanks.
The AV occured while closing the Hotlist window with Return key (when the script was long ago done with copying, but who knows), so your explanation seems to fit.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - can you check withTC 7.55 final whether it fixes it, please?
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Well, I tried with both TC 7.50a and 7.55 - no errors.
But as this occurred only once (not reproducible) I can not say for sure, if it's fixed now, sorry (although I guess so).

For excact reproducing in TC 7.55 the script has to be updated (because of the changed control names), I tested with manually duplicating the line there...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Sidenote:
TC 7.55 changes the used control names while running after some time of testing
(TButton1 gets TButton2 etc. in Dir Hotlist-editor).

On start: TButton1=Help ... TButton7=Add
=> Later: TButton2=Help ... TButton8=Add

In the second case TButton1 is titled "&>>" and hidden/not visible (according to window spy).

I'll update my script to handle this dynamic change ASAP...

TC 7.55, XP SP3 (home version this time)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

I re-checked on several systems (including the original one, which got the error) => not reproducible.

As you already found and fixed something related - how about considering this as fixed?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK thanks, otherwise please create a new bug report in the TC 7.55 bugs forum!
Author of Total Commander
https://www.ghisler.com
Post Reply