Android Studio BSOD when running virtual device
Asked Answered
M

2

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?

Malm answered 18/3, 2020 at 3:9 Comment(3)
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.Parturient
IRQL_NOT_LESS_OR_EQUAL means that a driver had broken away.Bobette
@brianWhite I'm suffering with this same issue, trying to run Emulator in Android studio for Flutter! (everything was working fine before)Richardricharda
P
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.

Parturient answered 13/6, 2020 at 20:19 Comment(3)
I went to SDK tools and needed to update intel x86 emulator and the emulator stopped crashing. Thanks (y)Tester
You saved my day !! It resoled my crash. ThanksLocust
My BSOD error was PAGE_FAULT_IN_NONPAGED_AREA, but the solution worked for it, too. Thanks!Traps
H
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

Houseline answered 22/9, 2021 at 11:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.