[9.0a]Crash when pressing F1 when exiting help.

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
hit02
Junior Member
Junior Member
Posts: 2
Joined: 2017-12-08, 21:24 UTC

[9.0a]Crash when pressing F1 when exiting help.

Post by *hit02 » 2017-12-08, 21:41 UTC

Totalcmd crashes when user tries to close help window with F1 key pressed.

How to reproduce:
Press F1 to open help and don't lift the key.
Then press X icon to close help.

Problem seems to reproduce more often when help is opened from lister, or when F1 and F2 are pressed simultaneously.

My totalcmd version is 9.0a 64 bit (2016-12-14)

User avatar
petermad
Power Member
Power Member
Posts: 8080
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-12-09, 04:06 UTC

I can reproduce this with TC 9.12 x 64, but not with the 32bit version.

But what a weird idea to keep holding down the F1 key :roll: :wink:
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3144
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [9.0a]Crash when pressing F1 when exiting help.

Post by *Horst.Epp » 2017-12-09, 10:16 UTC

hit02 wrote:Totalcmd crashes when user tries to close help window with F1 key pressed.

How to reproduce:
Press F1 to open help and don't lift the key.
Then press X icon to close help.

Problem seems to reproduce more often when help is opened from lister, or when F1 and F2 are pressed simultaneously.

My totalcmd version is 9.0a 64 bit (2016-12-14)
Solution for this "Problems" is simple
don't make such strange key presses which no one ever does. :)
Windows 10 Home x64 October 2018 Update, Version 1809 (OS Build 17763.194)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.21a x64 and x86, Everything 1.4.1.922 (x64)

hit02
Junior Member
Junior Member
Posts: 2
Joined: 2017-12-08, 21:24 UTC

Post by *hit02 » 2017-12-09, 19:20 UTC

Haha I know it's strange. :P
Tried to keep F2 pressed using something heavy to automaticly see changes in file and accidently discovered it. :D

User avatar
Dalai
Power Member
Power Member
Posts: 6323
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai » 2017-12-09, 20:36 UTC

Can't reproduce it, neither with TC 9.0a x64 nor 9.12 x64 (on Win7).

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-12-11, 15:01 UTC

No crash here either on Windows 7 x64...
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8080
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-12-11, 21:00 UTC

Hmm, I can reproduce it every time, also with a clean ini file.

Just do it from the main TC screen - Press F1 and keep it down and then click on the red X in the upper right corner of the Help window.

TC 9.12 x64 under Windows 7, Windows 8.1 and Windows 10
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-12-14, 10:46 UTC

No crash here on Windows 7 and 10, sorry. The help just re-opens after a few seconds.
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8080
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-12-14, 15:31 UTC

Hmm, I tried on the same 3 computers with the same result, but alo tried on 2 other Windows 7 PC's, where I cannot reproduce it on one of them but can on the other.

So that is on 4 out of 5 PC's where I can reproduce it - but it also shows that it is not 100% reproducible - so maby you should try it on some other conputers...
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3144
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp » 2017-12-14, 16:00 UTC

petermad wrote:Hmm, I tried on the same 3 computers with the same result, but alo tried on 2 other Windows 7 PC's, where I cannot reproduce it on one of them but can on the other.

So that is on 4 out of 5 PC's where I can reproduce it - but it also shows that it is not 100% reproducible - so maby you should try it on some other conputers...
Thats wasting time for situation which never comes for any normal use :)
Windows 10 Home x64 October 2018 Update, Version 1809 (OS Build 17763.194)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.21a x64 and x86, Everything 1.4.1.922 (x64)

User avatar
petermad
Power Member
Power Member
Posts: 8080
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-12-14, 16:08 UTC

Thats wasting time for situation which never comes for any normal use
That's right...
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Stefan2
Power Member
Power Member
Posts: 2213
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 » 2017-12-14, 16:41 UTC

no, that's fun on hunting a bug










 

User avatar
tuska
Power Member
Power Member
Posts: 1286
Joined: 2007-05-21, 12:17 UTC

Post by *tuska » 2017-12-14, 17:05 UTC

The fun on the matter can go by quickly.

Well,
- let's do a PC restart
- press F1, then press this button down again and keep pressing, afterwords click quickly on the "x" several times

Sometimes TC crashes on the first click on the "X" and sometimes only after the fourth or sixth attempt.
TC 9.12 - 32 bit + 64 bit, Windows 10 Pro (x64) Version 1709 (Build 16299.125)

Nice side effect:
If the browser (EDGE) has been opened first, then TC has crashed and F1 is still pressed,
it will be switched back to the browser and new tabs will be created there.

Therefore, please do not forget to let go of the F1 key at some point! :D

Post Reply