?Crash after editing Start Menu (when running elevated)

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

?Crash after editing Start Menu (when running elevated)

Post by *Guillaume »

Windows 10 64-bit
TC 9.0 beta1, 2 & 3, (only) 64-bit, running as Administrator

I've found TC to crash every single time after pressing OK in the Change Start Menu dialog. If there are items in it already, it even happens when no actual changes were made and just the OK button was pressed.

I also removed the whole [user] block from wincmd.ini and started anew: same problem.

Changes DO get saved, so the crash happens after returning to the main window. It just stops responding and after a while Windows allows me to close it. TC's log has no entries concerning the crash and Windows Event Log just states "unknown" in the crash details.

The same wincmd.ini has no such difficulties in 8.52a.

Follow-up: only happens when TC is running as Administrator.
Last edited by Guillaume on 2016-06-23, 17:57 UTC, edited 3 times in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Not confirmed for TC 9.0b3 x64
I have an empty Start Menu
No problem whatever I use to leave the Change Start Menu dialog
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Just found out that it ONLY happens if TC is running as Administrator.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Checked that here too:

TC 9.0b3 x32 on Win7/32
Fresh INI
TC > Context menu > Run as Admin
Open "Start > Change Start Menu"
Press Enter key OR click [OK] OR click [Cancel]
Start Menu editing dialog is closed for good, no crash



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

Post by *Horst.Epp »

Guillaume wrote:Just found out that it ONLY happens if TC is running as Administrator.
Still not confirmed, it doesn't happen with TC as Administrator
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Stefan2 wrote:Checked that here too:

TC 9.0b3 x32 on Win7/32
Fresh INI
TC > Context menu > Run as Admin
Open "Start > Change Start Menu"
Press Enter key OR click [OK] OR click [Cancel]
Start Menu editing dialog is closed for good, no crash
Doesn't happen for me in 32-bit TC either.
Horst.Epp wrote:
Guillaume wrote:Just found out that it ONLY happens if TC is running as Administrator.
Still not confirmed, it doesn't happen with TC as Administrator
If you were using a fresh .ini, did you at least add one entry to the Start Menu, not just press OK while the Start Menu was empty? For me it happens ONLY if at least one entry is present before opening the edit dialog, then pressing OK, or if you add at least one entry if the menu is empty and then press OK.

There's no exception, it's fully reproducable for me:
64-bit TC, run as Admin, have at least one entry in the Start Menu, crash after pressing ok and the Start Menu dialog closes.

Follow-up: I had one entry in the Start Menu, then started TC, went into the Change Start Menu dialog and just pressed Cancel the first time (no crash) and then entered the Change Start Menu dialog again. Result:

Image: http://i.imgur.com/9GgF22o.png

Only the first entry is what I actually added. IF I press OK, there will be 198 entries with 氠 for every item in the .ini (item1 is the one I added myself), e.g:
menu199=氠
cmd199=氠
param199=氠
path199=氠
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

I also added one entry to the empty Start Menu
Again, no problems at all.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Guillaume

I cannot reproduce this either...
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed here either, TC9 b3 x64 run as admin.

Maybe it depends on what you do in the start menu editor?
Does it happen when you just
1. Add a new entry via "Add item", but leave it empty and click OK?
2. In addition to 1, choose a command via magnifying glass
3. In addition to 1, enter a command manually, like notepad.exe?
4. Something else?
Author of Total Commander
https://www.ghisler.com
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Thanks Christian, I've just been searching for some more things that would narrow down the circumstances in which it happened and that led me to the conclusion that it's somehow purely related to my specific Windows installation (perhaps some Window manager issues combined with new widgets/UI elements that weren't in 8.5x, or somehow the process stack (see 2)?):
  1. Tried it with clean TC in a new user profile = still occurs
  2. Because I didn't have TC pinned yet on the taskbar I started TC from an elevated Command Prompt and it DIDN'T occur!
  3. But when starting it from Explorer (Run as Admin), it still occurs
  4. On my other system with TC x64 as well, the error does not occur at all.
I think by now it far too specific to keep this under investigation. I'll soon reinstall Windows on the system presenting these problems and report back.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do you perhaps run one of the tools aquasnap or sizer? They are known to interfere with TC 64-bit for some other users.
Author of Total Commander
https://www.ghisler.com
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Nope, never had these tools. I didn't have anything running apart from AMD driver nonsense and Synaptics touchpad driver annoyances while testing in a new profile.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, no idea then. Any crash address or stack trace?
Author of Total Commander
https://www.ghisler.com
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

I did a new Windows 10 x64 install (fully vanilla, I normally use MSMG Toolkit to pull out the Metro/Modern nonsense, Biometrics and some more, but it might break something along the way), but it still occurred on my lil' Medion Akoya E1318T.

I created a dump with Sysinternals' ProcDump, can be downloaded here.

Report.wer:

Code: Select all

Version=1
EventType=AppHangB1
EventTime=131116698286052421
ReportType=3
Consent=1
UploadTime=131116698350275655
ReportIdentifier=7eea6470-3de4-11e6-aa2c-240a64b3a9a2
IntegratorReportIdentifier=7eea6471-3de4-11e6-aa2c-240a64b3a9a2
NsAppName=totalcmd64.exe
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=totalcmd64.exe
Sig[1].Name=Application Version
Sig[1].Value=9.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=00000000
Sig[3].Name=Hang Signature
Sig[3].Value=756b
Sig[4].Name=Hang Type
Sig[4].Value=134217728
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.10586.2.0.0.768.101
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Hang Signature 1
DynamicSig[22].Value=756be1700a142c078aa21c18729139e8
DynamicSig[23].Name=Additional Hang Signature 2
DynamicSig[23].Value=2e69
DynamicSig[24].Name=Additional Hang Signature 3
DynamicSig[24].Value=2e69357d18b47cc147c2a516f2e951db
DynamicSig[25].Name=Additional Hang Signature 4
DynamicSig[25].Value=756b
DynamicSig[26].Name=Additional Hang Signature 5
DynamicSig[26].Value=756be1700a142c078aa21c18729139e8
DynamicSig[27].Name=Additional Hang Signature 6
DynamicSig[27].Value=2e69
DynamicSig[28].Name=Additional Hang Signature 7
DynamicSig[28].Value=2e69357d18b47cc147c2a516f2e951db
UI[3]=Total Commander is not responding
UI[4]=If you close the program, you might lose information.
UI[5]=Close the program
UI[6]=Close the program
UI[7]=Close the program
LoadedModule[0]=D:\Programs\Utilities\Total Commander\totalcmd64.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=C:\Windows\system32\apphelp.dll
LoadedModule[5]=C:\Windows\system32\advapi32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\system32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\system32\comdlg32.dll
LoadedModule[10]=C:\Windows\system32\combase.dll
LoadedModule[11]=C:\Windows\system32\bcryptPrimitives.dll
LoadedModule[12]=C:\Windows\system32\shcore.dll
LoadedModule[13]=C:\Windows\system32\USER32.dll
LoadedModule[14]=C:\Windows\system32\GDI32.dll
LoadedModule[15]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[16]=C:\Windows\system32\SHELL32.dll
LoadedModule[17]=C:\Windows\system32\cfgmgr32.dll
LoadedModule[18]=C:\Windows\system32\windows.storage.dll
LoadedModule[19]=C:\Windows\system32\kernel.appcore.dll
LoadedModule[20]=C:\Windows\system32\powrprof.dll
LoadedModule[21]=C:\Windows\system32\profapi.dll
LoadedModule[22]=C:\Windows\system32\FirewallAPI.dll
LoadedModule[23]=C:\Windows\system32\NETAPI32.dll
LoadedModule[24]=C:\Windows\system32\ole32.dll
LoadedModule[25]=C:\Windows\system32\oleaut32.dll
LoadedModule[26]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_8c15ae12515e1c22\comctl32.dll
LoadedModule[27]=C:\Windows\SYSTEM32\mpr.dll
LoadedModule[28]=C:\Windows\SYSTEM32\version.dll
LoadedModule[29]=C:\Windows\SYSTEM32\winmm.dll
LoadedModule[30]=C:\Windows\SYSTEM32\winspool.drv
LoadedModule[31]=C:\Windows\SYSTEM32\WINMMBASE.dll
LoadedModule[32]=C:\Windows\SYSTEM32\bcrypt.dll
LoadedModule[33]=C:\Windows\SYSTEM32\DAVHLPR.DLL
LoadedModule[34]=C:\Windows\system32\IMM32.DLL
LoadedModule[35]=C:\Windows\SYSTEM32\fwbase.dll
LoadedModule[36]=C:\Windows\system32\uxtheme.dll
LoadedModule[37]=C:\Windows\SYSTEM32\msimg32.dll
LoadedModule[38]=C:\Windows\SYSTEM32\WindowsCodecs.dll
LoadedModule[39]=C:\Windows\SYSTEM32\PROPSYS.dll
LoadedModule[40]=C:\Windows\system32\clbcatq.dll
LoadedModule[41]=C:\Windows\System32\EhStorShell.dll
LoadedModule[42]=C:\Windows\system32\SETUPAPI.dll
LoadedModule[43]=C:\Windows\system32\MSCTF.dll
LoadedModule[44]=C:\Windows\system32\dwmapi.dll
LoadedModule[45]=C:\Windows\System32\drprov.dll
LoadedModule[46]=C:\Windows\System32\WINSTA.dll
LoadedModule[47]=C:\Windows\System32\ntlanman.dll
LoadedModule[48]=C:\Windows\System32\davclnt.dll
LoadedModule[49]=C:\Windows\System32\wkscli.dll
LoadedModule[50]=C:\Windows\system32\dataexchange.dll
LoadedModule[51]=C:\Windows\system32\d3d11.dll
LoadedModule[52]=C:\Windows\system32\dcomp.dll
LoadedModule[53]=C:\Windows\system32\dxgi.dll
LoadedModule[54]=C:\Windows\system32\twinapi.appcore.dll
LoadedModule[55]=C:\Windows\SYSTEM32\cscapi.dll
LoadedModule[56]=C:\Windows\System32\netutils.dll
LoadedModule[57]=C:\Windows\SYSTEM32\mscms.dll
LoadedModule[58]=C:\Windows\SYSTEM32\USERENV.dll
LoadedModule[59]=C:\Windows\System32\dlnashext.dll
LoadedModule[60]=C:\Windows\System32\PlayToDevice.dll
LoadedModule[61]=C:\Windows\System32\DevDispItemProvider.dll
LoadedModule[62]=C:\Windows\System32\MMDevApi.dll
LoadedModule[63]=C:\Windows\System32\DEVOBJ.dll
LoadedModule[64]=C:\Windows\System32\PortableDeviceApi.dll
LoadedModule[65]=C:\Windows\system32\WINTRUST.dll
LoadedModule[66]=C:\Windows\system32\MSASN1.dll
LoadedModule[67]=C:\Windows\system32\CRYPT32.dll
LoadedModule[68]=C:\Windows\System32\EhStorAPI.dll
LoadedModule[69]=C:\Windows\System32\WTSAPI32.dll
LoadedModule[70]=C:\Windows\system32\coml2.dll
LoadedModule[71]=C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
LoadedModule[72]=C:\Windows\SYSTEM32\SspiCli.dll
LoadedModule[73]=C:\Windows\System32\thumbcache.dll
LoadedModule[74]=C:\Windows\system32\USP10.DLL
LoadedModule[75]=C:\Windows\SYSTEM32\SRVCLI.DLL
LoadedModule[76]=C:\Windows\SYSTEM32\MrmCoreR.dll
LoadedModule[77]=C:\Windows\SYSTEM32\iertutil.dll
FriendlyEventName=Stopped responding and was closed
ConsentKey=AppHangXProcB1
AppName=Total Commander
AppPath=D:\Programs\Utilities\Total Commander\totalcmd64.exe
ReportDescription=A problem caused this program to stop interacting with Windows.
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=35285F4BBDDD66B7C5151CFD9BCA1708
Last edited by Guillaume on 2016-06-29, 17:04 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I will analyze it.
Author of Total Commander
https://www.ghisler.com
Post Reply