[11.51RC1] Memory corruption/fatal error

Moderators: petermad, Stefan2, white, Hacker

Post Reply
User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

[11.51RC1] Memory corruption/fatal error

Post by *Helix751 »

This can't be good. Haven't had any issues like this one until today after installing v11.51RC1 (about 6 hrs ago).

I have no further info about this

Image: https://ibb.co/C98kK2R
Image: https://ibb.co/kBXNHRG
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6867
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [11.51RC1] Memory corruption/fatal error

Post by *Horst.Epp »

Next time you report a Windows error message
use Ctrl-C to copy its content and paste it into your post.
This allows to get addresses and not an image of them.
Windows 11 Home, Version 24H2 (OS Build 26100.3476)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
tuska
Power Member
Power Member
Posts: 4028
Joined: 2007-05-21, 12:17 UTC

Re: [11.51RC1] Memory corruption/fatal error

Post by *tuska »

Total Commander 11.51 RC1 (No responde) - Picture: 2025-01-17-22-16 hosted at ImgBB by Helix751

Code: Select all

Access violation at address 006CE268. Read of address
00000003.
Access violation at address 006CE268. Read of address
00000003
Windows 11 Professional 10.0 (Build 26100), base: 00400000

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

Windows exception: C0000005
Stack trace:
006CE268
004A0F0B 005782A7 0044E371 00450376 >0042BC16
00450376
0042BC16 0044F914 0042BC16 0044F914 00431451
004314DC
0044E371 00450376 0042BC16 0044F914 0042BC16
0043139E
004314EC
Raw:
0044A143 004A0F0B 0044F86A 0042BC16 004506EF
0044E371
00450645 0044F9DE 00450376 00450399 0042BC16
0044F914
0042BC16 005782A7 00446F83 00471337 004023FB
004026C4
00403733 004720AA 0044E371 00450645 0044F9DE
00450376
0042BC16 00450376 00450399 0042BC16 0044F914
0042BC16
0044F914 00431451 004314DC 00402EBA 0044E371
00450645
0042DC11 0044F9DE 00450376 0042BC16 0044F914
0042BC16
0043139E 004314EC 004316A6

Press Ctrl+C to copy this report!
Continue execution?
Si     No
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50254
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC1] Memory corruption/fatal error

Post by *ghisler(Author) »

The access violation happened because Windows was running out of GDI (graphics device interface) objects, so the creation of a bitmap failed. It's just a read error so not a severe problem. You must be having some kind of leak for this to happen. There is currently no known GDI leak in Total Commander itself, so it must be caused by a plugin or other extension.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4028
Joined: 2007-05-21, 12:17 UTC

Re: [11.51RC1] Memory corruption/fatal error

Post by *tuska »

Maybe this helps...
void (Everything - Author) - 22.11.2024 wrote: In the Task Manager (Ctrl + Shift + ESC)
Click the Details tab.
Show the GDI Objects column (View -> Select columns)
How many GDI Objects is Everything using? --> tuska: Check -> Total Commander using...
Are there any processes with over 1000?

The cap is around 10000 per process (and there's a global limit of 65536).
User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: [11.51RC1] Memory corruption/fatal error

Post by *Helix751 »

I'm keeping an eye on 11.51RC1. Haven't had any issue like this one with previous TC versions, though.

Thanks @tuska for the error log transcript. I forgot to take a copy (was in the middle of urgent work).

Here's the info ProcessExplorer throws for the processes:

Code: Select all

Everything64.exe     < 0.01    278.376 K    310.172 K   5260  Everything               voidtools               136
TOTALCMD.EXE                    11.748 K    36.032 K   29084  Total Commander 32 bit   Ghisler Software GmbH  1.708
The last # is the 'GDI Objects' column.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50254
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC1] Memory corruption/fatal error

Post by *ghisler(Author) »

The per app limit is 10000, so you are still far away from that. Also the allocated memory (36MB) is much less than 2GB, so you should be fine with that too.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50254
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.51RC1] Memory corruption/fatal error

Post by *ghisler(Author) »

I have added code to catch this specific error to RC2, but it's probably difficult to test.
Author of Total Commander
https://www.ghisler.com
Post Reply