This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crash on Ctrl+PgDn on tc920x32_b1.exe

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Mon May 07, 2018 11:14 am    Post subject: Crash on Ctrl+PgDn on tc920x32_b1.exe Reply with quote

I just pressed some unknown key combination by mistake, when being inside of the TC installer executable (tc920x32_b1.exe, Ctrl+PgDn). Then TC 9.12 crashed:

Code:
---------------------------
Total Commander 9.12
---------------------------
in1 (28591)0This code page is not installed (Control Panel)!Delete selected encoding...LCannot delete folders with .
in1 (28591)0This code page is not installed (Control Panel)!Delete selected encoding...LCannot delete folders with
Windows 2000 SP4 5.0 (Build 2195), base: 00400000

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

Delphi exception: EReadError
Stack trace:
793FBCB1
004026B8  004032DA  004032DA  004032DA  004032DA  004032DA
004032DA  004032DA  004032DA  004032DA  004032DA  004032DA
004032DA  004032DA  004032DA  004032DA  004032DA  00511C17
00514599  0058457B  004486A9  0044A6AA  >0042728E  00449C4C
0042728E  0042C95A  0042CAA8 
Raw:
0040F645  004026B8  00403730  00409239  0040F645  0040F645
004032DA  0042728E  004743E6  00403257  0040F7EC  0040E9EB
0040E9EB  0040E9EB  0040E9EB  004026A0  00402D30  0040919B
0040E9EB  0040E9EB  0040EA0B  0040ED47  0040F7CB  004032DA
004032DA  00410017  0040F300  0040F2E2  00411EC7  00447756
004491C0  004032DA  0040F1EB  004032DA  0040F374  004032DA
0040F2B3  004032DA  00411EC7  00447756  004491C0  004032DA
0042892C  004032DA  0040FDA5  004032DA  004032DA  0040E0E1
004032DA  0040C505  004032DA  0040C699  004032DA  004498F9
00449944  0044B92D  004297EC  004486A9  0044A979  00411D62

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Tak   Nie   
---------------------------
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35944
Location: Switzerland

PostPosted: Mon May 07, 2018 2:51 pm    Post subject: Reply with quote

Looks like you switched to a different installed input language system-wide?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Mon May 07, 2018 3:53 pm    Post subject: Reply with quote

I have really no idea. How could I do this?
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35944
Location: Switzerland

PostPosted: Tue May 08, 2018 3:56 am    Post subject: Reply with quote

It's something like left Alt+Shift or left Control+Shift keys to switch through the installed locales. For example, I have installed locales for English, German, French, and Russian (for testing).
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Tue May 08, 2018 5:56 am    Post subject: Reply with quote

I checked and I have 3 languages installed, but all key combinations for switching between them are disabled.

So this must have been something else.
Back to top
View user's profile Send private message Send e-mail
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Tue May 08, 2018 6:21 am    Post subject: Reply with quote

I found something.

When you start Totalcmd.exe (9.12, 32-bit) under a debugger and go to memory address 0x83A9D2 (which is equal to file offset 0x4043D2), you will see the "in1 (28591)0This code page [..]" sequence (in Unicode). It's in the middle of some string, which is contained in a resource section.

Conclusion: due to some problem, error string in the crash report is random and meaningless in this case, and should be ignored. So only the Delphi exception class name (EReadError) may be helpful.
Back to top
View user's profile Send private message Send e-mail
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Tue May 08, 2018 3:50 pm    Post subject: Reply with quote

It seems that the exception has been raised in Classes.pas, in HandleException procedure, which is internal to the TReader.ReadProperty procedure.
Back to top
View user's profile Send private message Send e-mail
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 852
Location: Poland

PostPosted: Thu Jul 05, 2018 11:21 am    Post subject: Reply with quote

Exception message is loaded from EXE resources - and due to some problem with loading from resources, a malformed message has been used (in1 (28591)0This code page is not installed (Control Panel)!Delete selected encoding...LCannot delete folders with).

TReader.ReadProperty reads Delphi form from EXE resources - and due to some problem with loading from resources, EReadError exception has been raised.


So both the exception message and the exception class suggest some problem with loading from TOTALCMD.EXE resources. Since resources are mapped into memory in read-only mode, they cannot be corrupted just by writing to memory. This leads to conclusion that the problem occured due to some random RAM corruption. And this means that there is nothing to fix in TC.

So I think this bug report can be moved to "Will not be changed".

Regards
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35944
Location: Switzerland

PostPosted: Fri Jul 06, 2018 7:27 am    Post subject: Reply with quote

Thanks for the analysis!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group