[TC8.0RC1 x64] Crash with read-only wincmd.ini
Moderators: Hacker, petermad, Stefan2, white
[TC8.0RC1 x64] Crash with read-only wincmd.ini
For test purposes I have a portable TC with read-only fresh wincmd.ini, so every time I start a new instance it automatically starts with clean ini. And that's how I found this bug.
1. Extract/install/whatever TC, so you have a fresh installation
2. Make sure, its wincmd.ini is not writable and there is no wincmd.key either
3. Start TC, you should see the nag-screen
4. Close the nag-screen by pressing the appropriate number on keyboard, not by mouse
5. Close the options dialog
The dialog looses its modality but stays visible. When you try to close it again, TC crashes.
Only 64b version seem to be affected (tested 8.0 rc1).
1. Extract/install/whatever TC, so you have a fresh installation
2. Make sure, its wincmd.ini is not writable and there is no wincmd.key either
3. Start TC, you should see the nag-screen
4. Close the nag-screen by pressing the appropriate number on keyboard, not by mouse
5. Close the options dialog
The dialog looses its modality but stays visible. When you try to close it again, TC crashes.
Only 64b version seem to be affected (tested 8.0 rc1).
Windows 10 Pro x64, Windows 11 Pro x64
I can confirm the bug, but TC doesn't crash on my system. Don't know if it matters but I used a wincmd.ini of 0 bytes in size (read-only of course).
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
In that case TC should ignore that file and use your system-wide wincmd.ini. As I said, I have that TC in a portable mode ("UseIniInProgramDir=7") isolated from other instances, so that might be a reason why it crashes in my case.... I used a wincmd.ini of 0 bytes in size ...
Windows 10 Pro x64, Windows 11 Pro x64
That file is the system-wide wincmd.ini. I renamed wincmd.ini and created a new wincmd.ini using Shift+F4.umbra wrote:In that case TC should ignore that file and use your system-wide wincmd.ini.... I used a wincmd.ini of 0 bytes in size ...
OK, I missed that part. Now I set this option in the mentioned wincmd.ini but still no crash. Maybe it "needs" some other setting to crash.As I said, I have that TC in a portable mode ("UseIniInProgramDir=7") isolated from other instances, so that might be a reason why it crashes in my case.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
I used the mouse though I know that's not how TC is meant to be usedumbra wrote:How do you close the options dialog after it looses its modality?

It closes itself but without a Windows error message, so I wouldn't consider this a crash. I agree that it isn't normal behaviour and shouldn't happen.So when you start TC, press number-ENTER-ENTER. Does it crash then?
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
If you are using WinXP, then it's the worst crash an user-level application can experience - it crashed so badly, Windows wasn't even able to show an error. In Vista, they changed the way of handling of these crashes, so I guess, that's why I can see the error.It closes itself but without a Windows error message, so I wouldn't consider this a crash.
But anyway, thanks for confirming it.
Windows 10 Pro x64, Windows 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Actually what happens is that the configuration dialog is opened _twice_. This should be fixed in RC2 now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com