5

When I attempt to start a virtual device the laptop crashes and I get a BSOD with the error: IRQL_NOT_LESS_OR_EQUAL. I opened up the crash log and I found the culprit to be:

MODULE_NAME: IntelHaxm

IMAGE_NAME:  IntelHaxm.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  5cb6c325

STACK_COMMAND:  .thread ; .cxr ; kb

BUCKET_ID_FUNC_OFFSET:  28a8

FAILURE_BUCKET_ID:  AV_CODE_AV_IntelHaxm!unknown_function

BUCKET_ID:  AV_CODE_AV_IntelHaxm!unknown_function

PRIMARY_PROBLEM_CLASS:  AV_CODE_AV_IntelHaxm!unknown_function

Any suggestions on how to fix this?

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
Sushil Kattel
  • 51
  • 1
  • 2
  • I'm hitting this, too. New install of AS (Pixel, Intel Atom, latest "10" image), went to BIOS to enable VT-x, back to AS, Run, BSOD. Every time AS tries to launch the virtual device: BSOD. Go to BIOS and disable VT-x. Now no crash. Won't launch device either, of course. – Brian White Jun 13 '20 at 19:29
  • `IRQL_NOT_LESS_OR_EQUAL` means that a driver had broken away. – Martin Zeitler Jun 13 '20 at 20:24
  • @brianWhite I'm suffering with this same issue, trying to run Emulator in Android studio for Flutter! (everything was working fine before) – KHALDOUN Mohsen Feb 03 '21 at 15:19

2 Answers2

15

This happens when the IntelHaxm driver isn't properly installed. If VT-x is not enabled in the BIOS when Android Studio installs, Haxm will not setup properly.

If you then enable VT-x but not reinstall the driver, Android Studio will try to use the unconfigured driver and you'll get this crash.

To reinstall Haxm, go under Tools > SDK Manager and install it manually. (image ref)

enter image description here

There was also a version of the driver that had a bug that caused this. Make sure you Help > Check for Updates... so you have the latest edition. Be sure VT-x is enabled in the BIOS first.

Brian White
  • 8,332
  • 2
  • 43
  • 67
0

If you have "Intell x 86 Emulator" to be sure that you use the actual version. Try to update it. if you use not the latest version there would be an updating available.

enter image description here

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847