Windows 8.1 Pro x64 - crash comctl32.dll
Moderators: Hacker, petermad, Stefan2, white
Windows 8.1 Pro x64 - crash comctl32.dll
Hello,
Host Windows 8.1 Pro x64, Total Commander 9.12 x64.
Total Commander crashing when I press F3 randomly on random file.
I can recreate this exception almost always when:
0) login/relogin on Windows account,
1) open TC64,
2) open folder with few (I have 25 files) in left panel,
3) select first file in panel and press F3
4) press ESC,
5) select next file with arrow key [down],
6) press F3,
7) quickly repeat 4-6 steps
When TC crash then I can't recreate crash without relogin.
Crash doesn't occur when I run TCx64 with compatibility with "Windows Vista".
Crash doesn't occur when I use Total Commander 32-bit.
Crash doesn't occur when I run TCx64 in Windows Safe Mode.
I tried (in Windows normal mode):
1) disable any autorun programs,
2) disable shell extensions,
Nothing helps.
This is crazy. This bug hunting me from about half a year.
Please help!
I like to post wer file with link to memory dump but forum doesn't allow me (I am new forum user).
EDIT (2018-06-17):
25 test files needed to recreate bug:
https://drive.google.com/file/d/1_SrM1GKwlMkUbh1a8UIsyocNJ74EFmev/view?usp=sharing
Host Windows 8.1 Pro x64, Total Commander 9.12 x64.
Total Commander crashing when I press F3 randomly on random file.
I can recreate this exception almost always when:
0) login/relogin on Windows account,
1) open TC64,
2) open folder with few (I have 25 files) in left panel,
3) select first file in panel and press F3
4) press ESC,
5) select next file with arrow key [down],
6) press F3,
7) quickly repeat 4-6 steps
When TC crash then I can't recreate crash without relogin.
Crash doesn't occur when I run TCx64 with compatibility with "Windows Vista".
Crash doesn't occur when I use Total Commander 32-bit.
Crash doesn't occur when I run TCx64 in Windows Safe Mode.
I tried (in Windows normal mode):
1) disable any autorun programs,
2) disable shell extensions,
Nothing helps.
This is crazy. This bug hunting me from about half a year.
Please help!
I like to post wer file with link to memory dump but forum doesn't allow me (I am new forum user).
EDIT (2018-06-17):
25 test files needed to recreate bug:
https://drive.google.com/file/d/1_SrM1GKwlMkUbh1a8UIsyocNJ74EFmev/view?usp=sharing
Last edited by johny123 on 2018-06-17, 12:15 UTC, edited 1 time in total.
The first you should try is using the actual TC 9.20 beta 6.
Also try a fresh wincmd.ini in case you have installed any Lister plugins.
Also try a fresh wincmd.ini in case you have installed any Lister plugins.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
2johny123
Maybe your comctl32.dll file is outdated. In my Windows 8.1 Home the File version is 5.82.9600.17810 and the Productversion is 6.3.9600.17810.
I tried doing what you describe in my TC 9.12 under Windows 8.1 - but I cannot reproduce the crash. What kind of files ary you esperiencing it with? Anything that TC will not show as text, binary or hex (i.e multimedia)
Maybe your comctl32.dll file is outdated. In my Windows 8.1 Home the File version is 5.82.9600.17810 and the Productversion is 6.3.9600.17810.
I tried doing what you describe in my TC 9.12 under Windows 8.1 - but I cannot reproduce the crash. What kind of files ary you esperiencing it with? Anything that TC will not show as text, binary or hex (i.e multimedia)
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
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
I have this version of comctl32.dll:petermad wrote:2johny123
Maybe your comctl32.dll file is outdated. In my Windows 8.1 Home the File version is 5.82.9600.17810 and the Productversion is 6.3.9600.17810.
Code: Select all
Faulting application name: TOTALCMD64.EXE, version: 9.2.0.0, time stamp: 0x00000000
Faulting module name: comctl32.dll, version: 6.10.9600.18006, time stamp: 0x55c3a468
In left panel i have 25 files contains minified JavaScript source code as UTF-8 text.petermad wrote:2johny123
I tried doing what you describe in my TC 9.12 under Windows 8.1 - but I cannot reproduce the crash. What kind of files ary you esperiencing it with? Anything that TC will not show as text, binary or hex (i.e multimedia)
Ok, at last I can add posts with URLs.
TC 9.12 memdump and wer file:
https://drive.google.com/file/d/1EdMkSE7J0rfawmDvEqAKGuJCTncz6XZ8/view?usp=sharing
My comctl32.dll loaded by TC:
https://drive.google.com/file/d/11xdSv1I2G9MDTW_iM0rKsJkzaUPNz6Eo/view?usp=sharing
TC 9.20 b6 memdump and wer file:
https://drive.google.com/file/d/13TPkVzgzG_lcj5OUE6En2HZYzc-50uoi/view?usp=sharing
Crash info:
Maybe related:
https://www.ghisler.ch/board/viewtopic.php?t=43271
viewtopic.php?t=49127
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/a0d52eaa-9722-489f-9002-b599cba91159/comctl32dll-clistctrl-crashing-windows-10-windows-8?forum=windbg
https://forums.wxwidgets.org/viewtopic.php?t=13266
https://social.msdn.microsoft.com/Forums/vstudio/en-US/cfd9d1c9-0506-48b2-87e5-e1cb6caac8b7/clistctrl-access-violation-started-after-years-of-use?forum=vcgeneral
https://social.msdn.microsoft.com/Forums/vstudio/en-US/e9f638af-931a-428d-9cb3-f1ad575016a3/treeview-control-from-comctl32dll-failing-on-64-bits?forum=vcgeneral
TC 9.12 memdump and wer file:
https://drive.google.com/file/d/1EdMkSE7J0rfawmDvEqAKGuJCTncz6XZ8/view?usp=sharing
My comctl32.dll loaded by TC:
https://drive.google.com/file/d/11xdSv1I2G9MDTW_iM0rKsJkzaUPNz6Eo/view?usp=sharing
TC 9.20 b6 memdump and wer file:
https://drive.google.com/file/d/13TPkVzgzG_lcj5OUE6En2HZYzc-50uoi/view?usp=sharing
Crash info:
Code: Select all
Faulting application name: TOTALCMD64.EXE, version: 9.2.0.0, time stamp: 0x00000000
Faulting module name: comctl32.dll, version: 6.10.9600.18006, time stamp: 0x55c3a468
Exception code: 0xc0000005
Fault offset: 0x00000000000878f3
Faulting process id: 0xd64
Faulting application start time: 0x01d4009bcad9ea6d
Faulting application path: C:\totalcmd64beta\TOTALCMD64.EXE
Faulting module path: C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.18006_none_623f33d3ecbe86e8\comctl32.dll
Report Id: 0d8054b0-6c8f-11e8-892c-e2c6f1eee612
Faulting package full name:
Faulting package-relative application ID:
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: TOTALCMD64.EXE
P2: 9.2.0.0
P3: 00000000
P4: comctl32.dll
P5: 6.10.9600.18006
P6: 55c3a468
P7: c0000005
P8: 00000000000878f3
P9:
P10:
Attached files:
C:\Users\dev\AppData\Local\Temp\WER9F0A.tmp.appcompat.txt
C:\Users\dev\AppData\Local\Temp\WER9F1A.tmp.WERInternalMetadata.xml
C:\Users\dev\AppData\Local\Microsoft\Windows\WER\ReportQueue\AppCrash_TOTALCMD64.EXE_71b4476ab2c919a71a1e38ea598fa9a3893c6f_1c209ee8_cab_0ea09f19\memory.hdmp
C:\Users\dev\AppData\Local\Microsoft\Windows\WER\ReportQueue\AppCrash_TOTALCMD64.EXE_71b4476ab2c919a71a1e38ea598fa9a3893c6f_1c209ee8_cab_0ea09f19\triagedump.dmp
WERGenerationLog.txt
These files may be available here:
C:\Users\dev\AppData\Local\Microsoft\Windows\WER\ReportQueue\AppCrash_TOTALCMD64.EXE_71b4476ab2c919a71a1e38ea598fa9a3893c6f_1c209ee8_cab_0ea09f19
Analysis symbol:
Rechecking for solution: 0
Report Id: 0d8054b0-6c8f-11e8-892c-e2c6f1eee612
Report Status: 6
Hashed bucket:
https://www.ghisler.ch/board/viewtopic.php?t=43271
viewtopic.php?t=49127
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/a0d52eaa-9722-489f-9002-b599cba91159/comctl32dll-clistctrl-crashing-windows-10-windows-8?forum=windbg
https://forums.wxwidgets.org/viewtopic.php?t=13266
https://social.msdn.microsoft.com/Forums/vstudio/en-US/cfd9d1c9-0506-48b2-87e5-e1cb6caac8b7/clistctrl-access-violation-started-after-years-of-use?forum=vcgeneral
https://social.msdn.microsoft.com/Forums/vstudio/en-US/e9f638af-931a-428d-9cb3-f1ad575016a3/treeview-control-from-comctl32dll-failing-on-64-bits?forum=vcgeneral
To repeat Horsts question: Which Lister plugins do you use?
Have you tried starting TC with a fresh wincmd.ini like this?
[EDIT]
Oh, sorry, I missed one of your posts above where you mentioned that you already tried a fresh wincmd.ini.
Shell extensions come to my mind next. Search the forum for ShellExView to find instructions on how to use it.
[/EDIT]
Regards
Dalai
Have you tried starting TC with a fresh wincmd.ini like this
Code: Select all
totalcmd64.exe /i="%temp%\fresh.ini"
[EDIT]
Oh, sorry, I missed one of your posts above where you mentioned that you already tried a fresh wincmd.ini.
Shell extensions come to my mind next. Search the forum for ShellExView to find instructions on how to use it.
[/EDIT]
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 don't use any Lister plugins (I did not install any plugins).Dalai wrote:To repeat Horsts question: Which Lister plugins do you use?
Have you tried starting TC with a fresh wincmd.ini like this?Code: Select all
totalcmd64.exe /i="%temp%\fresh.ini"
Regards
Dalai
I haven't tried starting TC with
Code: Select all
totalcmd64.exe /i="%temp%\fresh.ini"
I am familiar with ShellExView. I have already tried it without success (TC crash anyway).Dalai wrote:Shell extensions come to my mind next. Search the forum for ShellExView to find instructions on how to use it.
I have tried also shmnview-x64.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for the dump files. The one for TC 9.12 didn't reveal anything, but the one for 9.20 beta 6 did:
Apparently the crash happens when TC calls:
SetScrollPos(handle,SB_VERT,nVScrollPos,true);
here is the entire stack (without the numbers):
It might be a problem with the theme. Do you use a custom theme, or a replacement uxtheme.dll?
Apparently the crash happens when TC calls:
SetScrollPos(handle,SB_VERT,nVScrollPos,true);
here is the entire stack (without the numbers):
Code: Select all
STACK_TEXT:
comctl32!SBSetParms+0x81f13
comctl32!CCSetScrollInfo+0xed
uxtheme!ThemeSetScrollInfoProc+0x310 [d:\blue\shell\themes\uxtheme\sethook.cpp @ 1203]
user32!SetScrollInfo+0x8c
user32!SetScrollPos+0x32
TOTALCMD64+0x1f0d52
0x1cc3cd0
TOTALCMD64+0x43fb85
0x3`00000003
0x8`00000000
0x6448020
0x6448020
0x102be
0x10300
0x1cc3d20
TOTALCMD64+0x1f0f1d
0x6448020
TOTALCMD64+0x1f0943
0x8000
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks for checking!ghisler(Author) wrote: It might be a problem with the theme. Do you use a custom theme, or a replacement uxtheme.dll?
I don't use custom theme. I just changed few options like anti aliasing. See screenshots below.
uxtheme.dll - i know this name but this is all I know about uxtheme.dll

This is my Personalization window:
Image: https://imgur.com/IKZD7m9.png
'Niezapisana kompozycja' = unsaved composition or something like that
Performance options - Visual Effects
Image: https://imgur.com/N9fzHXj.png
I have also checked TC 9.20 b6 with new fresh Windows account with default theme and TC still crashing (same exception).
Edit:
my uxtheme.dll loaded with TC 9.20 b6:
https://drive.google.com/file/d/1UNha1Hk8O7yTFF_6rnEA-DtqjMAGduzP/view?usp=sharing
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The dll is OK, signed by Microsoft. Sorry, I don't have any other ideas of what could be wrong. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I do some more testing and I think this is only Microsoft Windows 8.1 x64 bug.
I did not mention earlier but this comctl32.dll error occurs (happens randomly) in Windows Explorer(explorer restarts) and other programs that use comctl32.dll also.
I have added test files to my first post in this thread.
0) with fresh installation Windows 8.1 x64 PRO (MSDN ISO) - crashed
1) with fresh installation Windows 7 x64 Pro SP1(MSDN ISO) - no crash!
2) with fresh installation Windows 10 Pro x64 customer (MSDN ISO) - no crash!
3) with fresh installation Windows 8.1 x64 PRO (MSDN ISO) on different computer (different hardware) - crashed!!!
I did not mention earlier but this comctl32.dll error occurs (happens randomly) in Windows Explorer(explorer restarts) and other programs that use comctl32.dll also.
I have added test files to my first post in this thread.
I have tested fresh TC 9.12 x64:
0) with fresh installation Windows 8.1 x64 PRO (MSDN ISO) - crashed
1) with fresh installation Windows 7 x64 Pro SP1(MSDN ISO) - no crash!
2) with fresh installation Windows 10 Pro x64 customer (MSDN ISO) - no crash!
3) with fresh installation Windows 8.1 x64 PRO (MSDN ISO) on different computer (different hardware) - crashed!!!
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I can reproduce it on Windows 8.1 too - but only once, then I have to reboot to reproduce it again. It also doesn't seem to occur with the 32-bit verison. I will try to find a workaround.I do some more testing and I think this is only Microsoft Windows 8.1 x64 bug.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
More like an x64 bug.johny123 wrote:I do some more testing and I think this is only Microsoft Windows 8.1 x64 bug.
Another old bug report, allegedly theme related: viewtopic.php?t=45312&start=0&postdays=0&postorder=asc
I used to get it when heavily using Lister, Synchronize Directories and Compare by Content.
Just happened in Windows Server 2016, standard theme. TC 9.2 rc3, Administrator account.
Twice, without re-logins.
Not sure about first crash, but the second - without using sync tool.