VMware Communities
mikeplay
Contributor
Contributor

hcmon.sys regularly causing BSOD on Windows 10

Hi,

I have the latest version of VMWare Player (15.0.2). hcmon.sys keeps crashing the system with a BSOD. Windows says it is due to a "page fault in non paged area" from hcmon.sys. hcmon.sys version is 8.11.6.0.

This mostly happens on resume from sleep or hibernate, especially when my Thunderbolt connected devices are attached. It sometimes happens when the system is running.

I am running Windows 10 Pro 1809. I have all of the latest drivers from Intel & Lenovo. The only permanently connected USB device is a USB keyboard. The Thunderbolt driver is from Intel/Lenovo.

Is there any other resolution other than me uninstalling VMWare and going back to Hyper-V?

I specifically started to use VMWare because of its better virtual USB support, but if this continues I will remove it.

34 Replies
Sebastien_J
Contributor
Contributor

Hello,

I have the same error code with BSOD since I installed the V15 version on my WIN10 PRO.

I'm trying to upload to V15.0.2 to see if the problem is solved....

Maybe the technical support will find a solution...

0 Kudos
mikeplay
Contributor
Contributor

I ran a dump through WhoCrashed and this is the report:

This was probably caused by the following module: hcmon.sys (0xFFFFF80253D829DF)

Bugcheck code: 0x50 (0xFFFFB71E385C4648, 0x2, 0xFFFFF80253D829DF, 0x2)

Error: PAGE_FAULT_IN_NONPAGED_AREA

file path: C:\WINDOWS\system32\drivers\hcmon.sys

product: VMware USB monitor

company: VMware, Inc.

description: VMware USB monitor

Bug check description: This indicates that invalid system memory has been referenced.

This appears to be a typical software driver bug and is not likely to be caused by a hardware problem.

A third party driver was identified as the probable root cause of this system error. It is suggested you look for an update for the following driver: hcmon.sys (VMware USB monitor, VMware, Inc.).

WinDbg shows this:

*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

BugCheck 50, {ffffb71e385c4648, 2, fffff80253d829df, 2}


Could not read faulting driver name
Debugger extension ext.Analyze execution is cancelled.
      PC: 00007ffb`5deb5299  VA: 00007ffa`fe6e99ed  R/W: 7  Parameter: 00000067`ddd7dfb0

kd> !analyze -v

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except.
Typically the address is just plain bad or it is pointing at freed memory.
Arguments:
Arg1: ffffb71e385c4648, memory referenced.
Arg2: 0000000000000002, value 0 = read operation, 1 = write operation.
Arg3: fffff80253d829df, If non-zero, the instruction address which referenced the bad memory
address.
Arg4: 0000000000000002, (reserved)

Debugging Details:
------------------

c0000005 Exception in ext.analyze debugger extension.
      PC: 00007ffa`fe6eff5a  VA: 00000000`00000040  R/W: 0  Parameter: 00000000`00000000

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thank you very much for reporting this issue and for your analysis! Looks it is a bug in our USB driver hcmon.sys. I will file an internal bug to track the issue. Will you please kindly run Help > Support > Collect Support Data, select the VM that cause the issue and upload the zip file? Also, please upload the dump file of the BSOD. Thanks very much!

0 Kudos
mikeplay
Contributor
Contributor

Hi,

I have attached the mini dump that I analysed. Note that VMWare was not running at the time - Windows was resuming from hibernate. Sorry, too late for me to give you the VMWare support data because I had to uninstall VMWare since it was continually crashing my PC on resume. I was running latest the free version on Windows 10 Pro 1809.

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thanks very much for your dmp file! We will do investigation. So does issue occur only after upgrading to VMware Workstation 15? What previous version are you running?

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Sorry to bother you, but can you collect a full dump (complete memory dump)? Sorry we cannot reproduce the issue locally.

0 Kudos
mikeplay
Contributor
Contributor

I was running v14.x (I don't recall the exact version). I can't remember if I had the problem when I initially installed 14.x. Shortly after using that version it auto-upgraded me to v15.0.2.

I guess I could try installing v14.x again and see if that overcomes the problem I was having.

0 Kudos
mikeplay
Contributor
Contributor

Sorry, I can't give you a full dump. I de-installed VMware due to the instability it was causing. As noted above, I'll try and install v14.x and see what happens. If the problem recurs, I'll save a full dump.

The crash happened after I plugged in a Thunderbolt expansion box. This box provides USB, Ethernet, Sound, Card Reader & monitor expansion ports along with the power to my laptop. There is no special driver associated with the hardware - it relies upon the standard Microsoft Windows drivers and the Intel Thunderbolt driver. That's why I am reluctant to name the actual device - I think it's more down to the Windows/Intel Thunderbolt/VMware handling of the USB interface.

0 Kudos
Sebastien_J
Contributor
Contributor

I reinstall the version 12.5 and I don’t have anymore the problem.

Maybe I can try to reinstall again the V15 and see if it’s happen again.

I’ll send the debug.

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thanks! Can you please collect a memory full dump (In System Properties > advanced system settings > Settings > Write debugging information to Complete memory dump)? Thanks very much!

0 Kudos
Sebastien_J
Contributor
Contributor

Hello,

I reinstalled the V15.0.2 and I have the same issue. I have a MEMORY.DMP of all the system but the size is 16Go. Do you have an adress where I can share a link?

Best regards

JEANNEROT Sébastien

0 Kudos
Sebastien_J
Contributor
Contributor

Hello,

You can find attached a mini dump :

And the support data

BR

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thanks a lot! Can you upgrade to below FTP site?

FTP Server: ftpsite.vmware.com

User: inbound

Pwd: inbound

Port: 21

0 Kudos
Sebastien_J
Contributor
Contributor

Ok I Upload the file.

Do you have it?

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

Thanks very much! Is it named MEMORY.DMP? I am downloading it.

Sebastien_J
Contributor
Contributor

Hello,

Yes it is! Do you find the bug?

I reinstall the V12.5 and I don't have the trouble... Let me know when I can continue to use the last version ^^

If you need more information, don't hesitate to ask me.

Best regards

JEANNEROT Sébastien

bonnie201110141
VMware Employee
VMware Employee

I am still downloading the .dmp file. The network is very slow. Thanks very much for the help!

0 Kudos
bonnie201110141
VMware Employee
VMware Employee

I am still downloading it. The file is so huge and network is very slow.

MarianoSilva
Contributor
Contributor

I'm extremely interested in this Thread as the exact same thing is happening to me ... I just posted a thread about it, here : HCMON Warning in Event Viewer - "Detected unrecognized USB driver (\Driver\nxusbh)" and "\Driver\nx...

In it I detail the software versions and hardware I'm running when getting the error. As bonnie201110141 says, the error/BSOD happens when VMWare is running, or not, that doesn't matter. It's absolutely a driver bug that does not work ok in notebooks ( Mine is an ASUS, the other is a Lenovo), so i guess it has to do with an incompatibility with the chipset, or some other subsystem ( audio ? )

I'm eager to read more Smiley Happy

Regards,
Mariano

0 Kudos