none
ComCtl32.dll CListCtrl Crashing Windows 10 & Windows 8 RRS feed

  • Question

  • Over the last two weeks we have started to have customers calling about our Application crashing. The event viewer shows the exact same DLL every time. Some of these installations have been running for more than a year with no updates and now we are starting to get the exact same call everyday.  It appears to me that Microsoft released a new version of this DLL that is causing the problem. It doesn't appear to matter the version of Visual Studios that is being used.  I have seen the problem in VS2013 all the way back to VS 6.0. Windows 8 and Windows 10 both have the same file crashing. Here is the windows 8 path: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.dll.

    If you select compatibility mode for XP SP3 the crash goes away. If you don't add any rows to the CListCtrl no crashing but the second you add even 1 row to the CListCtrl the dll will crash within 7 seconds.

     
    • Edited by Freelabor Tuesday, May 10, 2016 5:17 PM
    Tuesday, May 10, 2016 5:09 PM

All replies

  • >Over the last two weeks we have started to have customers calling about our Application crashing.

    Can you reproduce this issue with a minimal example application that
    anyone could compile & try?

    Dave

    Tuesday, May 10, 2016 10:38 PM
  • Let me see how possible that would be. The whole application is about 1.5 million lines of code. But it may be possible to strip it down. 
    Wednesday, May 11, 2016 11:57 PM
  •  

    we are experiencing a similar issue.  Some customers are getting a crash when opening a property sheet that contains a CListCtrl on the first property page:

    StampManage caused an Access Violation (0xc0000005)

    in module COMCTL32.dll at 0023:73c5d9e0.

    Friday, May 13, 2016 3:48 PM
  • More Information - Compatibility mode is about 7 times slower than native Windows 10 mode. Customers not liking the solution of compatibility mode. 
    Friday, May 13, 2016 7:32 PM
  • We have seen same problems during last week. Windows 8 users have reported crash problems and crash dump indicates problem in comctl32.dll. Crash has happened on dialog with CListCtrl.
    Thursday, May 19, 2016 12:14 PM
  • regarding this issue.  Curious if your customers having it are using the AVG anti-virus?  a couple of our customers solved the issue by changing their AVG settings and "unprotecting" our EXE file that was crashing.
    Thursday, June 2, 2016 4:07 AM
  • Problems with apps with windows10 is quiet easy. Microsoft changed with win10 the funktion "GetModuleHandle" in Framework 4.x. comctl32.dll will request more then 200 times. Any Anti-Virus software stop the app.

    The Problem seems to be the different behavior of the native function GetModuleHandle under Windows 10. This function gets called in System.Windows.Forms.Control.CreateParams in .NET 4 but not in .NET 2.
    Calling GetModuleHandle("comctl32.dll") under Windows 10 results every time in:

    The same funktion in win7 is 200 times faster since in win10.

    See more:
    https://stackoverflow.com/questions/39673069/windows-10-exessive-use-of-comctl32-dll-in-net-4-0-and-up

    Saturday, September 8, 2018 10:59 AM