Delphi exception: EInvalidPointer after some mouse clicks

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Delphi exception: EInvalidPointer after some mouse clicks

Post by *DrShark »

The error:

Code: Select all

---------------------------
Total Commander 9.0a
---------------------------
Invalid pointer operation.
Invalid pointer operation
Windows Vista SP2 6.0 (Build 6002), base: 00400000

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

Delphi exception: EInvalidPointer
Stack trace:
769EFC56
00402249  004026B8  004026B8  00448EAE  00447881  0044983E
>00426AE0  00448DE3  00426AE0  0042C1C9  0042C264  
Raw:
004026A0  00402D30  0040917B  00402726  0044005A  00407AA6
00402249  004023EF  004026B8  00403707  004037F6  00407DC2
004013F1  00401516  00401DF9  0044005A  00448D51  00426AE0
00449BB7  00447881  00449B0D  00438B2A  00448E36  00448EAE
0044983E  00449861  00426AE0  00448DE3  00426AE0  004023EF
004026B8  00403707  0044B665  00449BB7  00448DE3  00426AE0
00448D51  00426AE0  00449BB7  00429375  0044A316  0044B470
00447881  00449B0D  004287E4  00448EAE  0044983E  00449861
00426AE0  00448DE3  00426AE0  00448D51  00426AE0  00449BB7
0044A316  00402E8E  00447881  00449B0D  00448EAE  0044983E

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Да   Нет   
---------------------------
It happened when I did a 2 or 3 left mouse button clicks at the bottom of right file panel. In the background the separate search instance was searching for some file on a USB HDD, but I couldn't reproduce the error even after starting the same search again and trying to do the same actions in TC panel.
After pressing "Yes" TC continued to work normally.

The stack trace is similar to one reported earlier for TC 9.0 beta 2 here.

Edit: valid link to a screenshot from a below post
Last edited by DrShark on 2020-02-04, 21:45 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. Unfortunately the error doesn't seem to be within TC itself. Do you have any third party program showing in the TC title bar?
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:Unfortunately the error doesn't seem to be within TC itself. Do you have any third party program showing in the TC title bar?
I have a native Windows language switcher there (it always on top of TC title) and sometimes the Explorer vertical toolbars with IM and Browsers folders also go over TC (a good chance to get it like that is after a click on 1-2-3 TC nag screen, and after a switch to TC using Alt+Esc or Alt+Tab especially when all windows were minimized before and some other app is running in always on top mode). Wikipedia says Vista is the last Windows version with this Explorer feature to show folders as vertical toolbars on Desktop.

Screenshot.

What can I do to help to find out the reason of the error if it will happen ever again? Will the dump(s) for totalcmd.exe process(es) help if will be made manually using Windows Task Manager after the error appearance?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

DrShark wrote:
ghisler(Author) wrote:Unfortunately the error doesn't seem to be within TC itself. Do you have any third party program showing in the TC title bar?
I have a native Windows language switcher there (it always on top of TC title) and sometimes the Explorer vertical toolbars with IM and Browsers folders also go over TC (a good chance to get it like that is after a click on 1-2-3 TC nag screen, and after a switch to TC using Alt+Esc or Alt+Tab especially when all windows were minimized before and some other app is running in always on top mode). Wikipedia says Vista is the last Windows version with this Explorer feature to show folders as vertical toolbars on Desktop.

Screenshot.

What can I do to help to find out the reason of the error if it will happen ever again? Will the dump(s) for totalcmd.exe process(es) help if will be made manually using Windows Task Manager after the error appearance?
You running unregistered TC :)
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Horst.Epp wrote:You running unregistered TC :)
I guess it's ok to do so for testing as long as I have a license key file on a PC.
And it was necessary to make this particular screenshot:
DrShark wrote:...a good chance to get it like that is after a click on 1-2-3 TC nag screen..."
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have a native Windows language switcher there
That could be the problem - how did you get it there? Is this a third party program? I would like to test it.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:
DrShark wrote:I have a native Windows language switcher there
...how did you get it there?
Using a setting "Floating On Desktop" of the Windows Language bar.
The screenshots:
* language bar settings (russian language) on my Windows
* hot to open the settings (in english)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But then it's just floating there, not attached to the title bar, right?
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:But then it's just floating there, not attached to the title bar, right?
Right. Then I have nothing attached to TC title bar.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The error comes from a window or control within the Total Commander process, but not a Delphi control. It could be a third party button/icon in the title bar, a Total Commander plugin (maybe a hidden window), or an Explorer extension window. I can't tell from the crash dump what it is, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:It could be ... a Total Commander plugin (maybe a hidden window), or an Explorer extension window. I can't tell from the crash dump what it is, sorry.
If some hidden or invisible window is the reason of this rare error and the dump can't help too, I don't know how can I help more. Can you add some code to TC to get all information you need when this Delphi exception: EInvalidPointer with Stack trace 769EFC56 will happen?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply