totalcmd crashes when open network share without credentials

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

Post Reply
franc
Senior Member
Senior Member
Posts: 242
Joined: 2005-10-27, 14:09 UTC

totalcmd crashes when open network share without credentials

Post by *franc » 2019-09-13, 08:36 UTC

Hallo

on my Windows 8.1 (64-Bit) PC I have a network share on my NAS as Drive A:
Normally I do Hibernate and no shut down, but sometimes when I start my PC the hibernate has gone and the PC starts completely.
I think especially when that happens the credentials for the NAS-Share is gone and I have to enter it again (yes, I check the remember permanently).
I think this is a Windows issue, I tried once to solve it and searched a bit but in vain.

And this is the reproducable situation when Total Commander 9.22a 64-Bit crashes:
In totalcmd I try to open the NAS-Tab (it is a fixed tab) but Windows asks me now for credentials, so I input them and when I hit the 'OK' Button Totalcmd crashes every time. I could Debug (there is a Button for it in the crash MessageBox) but this is not helpful for me :)

This is since several versions of totalcmd, I don't remember when it started.

Is this wellknown, can I do something or at least to clear the exact circumstances?

Thanks.
frank

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3508
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: totalcmd crashes when open network share without credentials

Post by *sqa_wizard » 2019-09-13, 21:13 UTC

I could Debug (there is a Button for it in the crash MessageBox) but this is not helpful for me
What do you expect?
The debug info may not helpful for you, but this info is the only clue which helps the author to determine the cause ...
#5767 Personal license

franc
Senior Member
Senior Member
Posts: 242
Joined: 2005-10-27, 14:09 UTC

Re: totalcmd crashes when open network share without credentials

Post by *franc » 2019-11-21, 10:22 UTC

Here some screenshots, when I need to enter my credentials (when this dialog pops up, there was already a crash-dialog shortly flashing up in the background):
Windows Sicherheit

This time I didnt enter the share-login and I pressed Cancel ('Abbrechen'). The result is the same, totalcmd crashes:
Total Commander funktioniert nicht mehr

When I hit the debug button this opens my Visual Studio 2012 and it stops here:
00007FFA23321CD0 jmp RtlReportCriticalFailure+8Eh (07FFA23321CD2h)
and I get this also:
Microsoft Visual Studio
when I click the continue button it stops again the same address (00007FFA23321CD0), continue not possible.

What is new for me is that it makes no difference if I enter the credentials or not. After restart of totalcmd I can open the network-share without login!
So it must be a bug in totalcmd when killed (by this unexpected reboot, see above).
To ask for the Windows-Dialog for login to the share (192.168.0.100) must be a mistake, I guess.

Thanks!

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

Re: totalcmd crashes when open network share without credentials

Post by *ghisler(Author) » 2019-11-21, 10:35 UTC

It's a known crash happening in the Windows credentials dialog with some display drivers. The only way to fix it is to avoid the Windows dialog and use our own user name and password dialogs:
wincmd.ini
[Configuration]
UseShellConnect=-1

However, this only works in network paths with share, e.g. \\server\share . When you go without credentials to \\server directly to view the list of shares, then Windows itself will show its credentials dialog and crash.
Author of Total Commander
http://www.ghisler.com

franc
Senior Member
Senior Member
Posts: 242
Joined: 2005-10-27, 14:09 UTC

Re: totalcmd crashes when open network share without credentials

Post by *franc » 2019-11-24, 11:13 UTC

Thanks, I added it to my wincmd.ini

So it is not a totalcmd bug but a Windows / Display-driver bug?

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

Re: totalcmd crashes when open network share without credentials

Post by *ghisler(Author) » 2019-11-25, 11:28 UTC

Unfortunately yes. So far I couldn't find a workaround. :(
Author of Total Commander
http://www.ghisler.com

Post Reply