2013-10-08 29 views
157

我剛剛更新到OS X v10.9(小牛),現在每當我啓動我的任何仿真器,只要模擬器啓動,我的整個計算機凍結與在屏幕中心旋轉進度指示器(不是沙灘球,進度指示器與關機時看到的相似,但屏幕沒有變灰)。Android模擬器凍結OS X v10.9(小牛)與HAXM

Notice the progress indicator in the bottom center of the screen. The computer is frozen at this point.

我已經試過:

  • 關閉GPU加速
  • 卸載並重新安裝了最新的英特爾HAXM
  • 重新創建我的自動真空澱積
  • 更新我的Android SDK-Tools

唯一可行的是卸載Intel HAXM /不使用硬件加速。

我猜測有一個與小牛和HAXM類似的動機爲操作系統的HAXM 1.0.6發佈的錯誤  X   v10.8(山獅)?

以下崩潰報告指示HAXM生成的內核恐慌。

Anonymous UUID:  2C84F70F-FE54-51E7-4FBE-6E601ED377AF 

Tue Oct 8 21:49:39 2013 
Panic(CPU 3): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff802deca4d8, spinlock owner: 0xffffff80409f4cf0, current_thread: 0xffffff80409f4cf0, spinlock_owner_cpu: 0x3 
RAX: 0xffffff80409f4cf0, RBX: 0xffffff802ded4c40, RCX: 0xffffff80409f4cf0, RDX: 0x0000000700000000 
RSP: 0xffffff8115bb9c30, RBP: 0xffffff8115bb9c70, RSI: 0x0000000792aac9d6, RDI: 0xffffff802deca4d8 
R8: 0x0000000000000010, R9: 0x0000000000000269, R10: 0x0000000000000000, R11: 0x0000000000000246 
R12: 0x0000000000000000, R13: 0xffffff7faf6b3d92, R14: 0xffffff802deca4d8, R15: 0xffffff802d830040 
RFL: 0x0000000000000006, RIP: 0xffffff802d8d0470, CS: 0x0000000000000008, SS: 0x0000000000000010 
Backtrace (CPU 3), Frame : Return Address 
0xffffff8115bb9aa0 : 0xffffff802d8e21f1 
0xffffff8115bb9ad0 : 0xffffff802d8db75f 
0xffffff8115bb9b20 : 0xffffff802d8f3930 
0xffffff8115bb9c70 : 0xffffff802dbeda5f 
0xffffff8115bb9c90 : 0xffffff802d82f741 
0xffffff8115bb9dc0 : 0xffffff802d830018 
0xffffff8115bb9e30 : 0xffffff7faf6a7f86 
0xffffff8115bb9ed0 : 0xffffff802d8e351e 
0xffffff8115bb9f10 : 0xffffff802d8e2e3e 
0xffffff8115bb9f50 : 0xffffff802d8e21c6 
0xffffff8115bb9f80 : 0xffffff802d8db75f 
0xffffff8115bb9fd0 : 0xffffff802d8f37c9 
0xffffff815a62bd00 : 0xffffff802d9fd8bd 
0xffffff815a62bd80 : 0xffffff802d9f3787 
0xffffff815a62bdc0 : 0xffffff802dbf0eeb 
0xffffff815a62beb0 : 0xffffff802dbf0b88 
0xffffff815a62bf50 : 0xffffff802dc3de23 
0xffffff815a62bfb0 : 0xffffff802d8f3e06 
     Kernel Extensions in backtrace: 
     com.intel.kext.intelhaxm(1.0.6)[49CE9C16-9447-31FE-A856-4BDD043A302D]@0xffffff7faf6a6000->0xffffff7faf6c2fff 

BSD process name corresponding to current thread: syslogd 

Mac OS version: 
13A598 

Kernel version: 
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393 
Kernel slide:  0x000000002d600000 
Kernel text base: 0xffffff802d800000 
System model name: MacBookPro8,1 (Mac-94245B3640C91C81) 

System uptime in nanoseconds: 5867020237 
last loaded kext at 5616463499: com.intel.kext.intelhaxm 1.0.6 (addr 0xffffff7faf6a6000, size 118784) 
loaded kexts: 
com.intel.kext.intelhaxm 1.0.6 
com.razerzone.razerapo 1.00.84 
com.cyberic.SmoothMouse 7 
com.apple.driver.AppleTyMCEDriver 1.0.2d2 
com.apple.driver.AGPM 100.14.11 
com.apple.iokit.IOBluetoothSerialManager 4.2.0f6 
com.apple.driver.AppleMikeyHIDDriver 124 
com.apple.driver.AppleHDAHardwareConfigDriver 2.5.2fc2 
com.apple.driver.AppleHDA 2.5.2fc2 
com.apple.driver.AudioAUUC 1.60 
com.apple.iokit.IOUserEthernet 1.0.0d1 
com.apple.Dont_Steal_Mac_OS_X 7.0.0 
com.apple.driver.AppleHWAccess 1 
com.apple.driver.AppleUpstreamUserClient 3.5.13 
com.apple.driver.ApplePolicyControl 3.4.12 
com.apple.iokit.IOBluetoothUSBDFU 4.2.0f6 
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6 
com.apple.driver.AppleIntelHD3000Graphics 8.1.8 
com.apple.driver.AppleThunderboltIP 1.0.10 
com.apple.driver.AppleSMCLMU 2.0.4d1 
com.apple.driver.AppleMikeyDriver 2.5.2fc2 
com.apple.driver.AppleSMCPDRC 1.0.0 
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0 
com.apple.driver.AppleLPC 1.7.0 
com.apple.driver.AppleIntelSNBGraphicsFB 8.1.8 
com.apple.driver.AppleMuxControl 3.4.12 
com.apple.driver.AppleBacklight 170.3.5 
com.apple.driver.AppleMCCSControl 1.1.12 
com.apple.driver.SMCMotionSensor 3.0.4d1 
com.apple.driver.AppleUSBTCButtons 240.2 
com.apple.driver.AppleUSBTCKeyEventDriver 240.2 
com.apple.driver.AppleUSBTCKeyboard 240.2 
com.apple.driver.AppleIRController 325.7 
com.apple.driver.AppleFileSystemDriver 3.0.1 
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1 
com.apple.BootCache 35 
com.apple.driver.XsanFilter 404 
com.apple.driver.AppleSDXC 1.4.0 
com.apple.iokit.AppleBCM5701Ethernet 3.6.9b9 
com.apple.iokit.IOAHCIBlockStorage 2.4.0 
com.apple.driver.AppleUSBHub 650.4.4 
com.apple.driver.AppleFWOHCI 4.9.9 
com.apple.driver.AirPort.Brcm4331 700.20.22 
com.apple.driver.AppleAHCIPort 2.9.5 
com.apple.driver.AppleUSBEHCI 650.4.1 
com.apple.driver.AppleUSBUHCI 650.4.0 
com.apple.driver.AppleSmartBatteryManager 161.0.0 
com.apple.driver.AppleACPIButtons 2.0 
com.apple.driver.AppleRTC 2.0 
com.apple.driver.AppleHPET 1.8 
com.apple.driver.AppleSMBIOS 2.0 
com.apple.driver.AppleACPIEC 2.0 
com.apple.driver.AppleAPIC 1.7 
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0 
com.apple.nke.applicationfirewall 153 
com.apple.security.quarantine 3 
com.apple.driver.AppleIntelCPUPowerManagement 216.0.0 
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.0 
com.apple.AppleGraphicsDeviceControl 3.4.12 
com.apple.iokit.IOSerialFamily 10.0.7 
com.apple.driver.DspFuncLib 2.5.2fc2 
com.apple.vecLib.kext 1.0.0 
com.apple.iokit.IOFireWireIP 2.2.5 
com.apple.iokit.IOAudioFamily 1.9.4fc11 
com.apple.kext.OSvKernDSPLib 1.14 
com.apple.iokit.IOSurface 91 
com.apple.iokit.IOBluetoothFamily 4.2.0f6 
com.apple.driver.AppleHDAController 2.5.2fc2 
com.apple.iokit.IOHDAFamily 2.5.2fc2 
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.0f6 
com.apple.driver.AppleThunderboltEDMSink 1.2.1 
com.apple.driver.AppleThunderboltDPOutAdapter 2.5.0 
com.apple.driver.AppleSMBusPCI 1.0.12d1 
com.apple.driver.IOPlatformPluginLegacy 1.0.0 
com.apple.driver.IOPlatformPluginFamily 5.5.1d27 
com.apple.driver.AppleGraphicsControl 3.4.12 
com.apple.driver.AppleBacklightExpert 1.0.4 
com.apple.iokit.IONDRVSupport 2.3.6 
com.apple.driver.AppleSMBusController 1.0.11d1 
com.apple.iokit.IOGraphicsFamily 2.3.6 
com.apple.driver.AppleSMC 3.1.6d1 
com.apple.driver.AppleThunderboltDPInAdapter 2.5.0 
com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0 
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0 
com.apple.driver.AppleUSBMultitouch 240.6 
com.apple.iokit.IOUSBHIDDriver 650.4.4 
com.apple.driver.AppleUSBMergeNub 650.4.0 
com.apple.driver.AppleUSBComposite 650.4.0 
com.apple.driver.AppleThunderboltNHI 1.9.2 
com.apple.iokit.IOThunderboltFamily 2.8.5 
com.apple.iokit.IOEthernetAVBController 1.0.3b3 
com.apple.driver.mDNSOffloadUserClient 1.0.1b4 
com.apple.iokit.IOUSBUserClient 650.4.4 
com.apple.iokit.IOFireWireFamily 4.5.5 
com.apple.iokit.IO80211Family 600.34 
com.apple.iokit.IONetworkingFamily 3.2 
com.apple.iokit.IOAHCIFamily 2.6.0 
com.apple.iokit.IOUSBFamily 650.4.4 
com.apple.driver.AppleEFINVRAM 2.0 
com.apple.driver.AppleEFIRuntime 2.0 
com.apple.iokit.IOHIDFamily 2.0.0 
com.apple.iokit.IOSMBusFamily 1.1 
com.apple.security.sandbox 278.10 
com.apple.kext.AppleMatch 1.0.0d1 
com.apple.security.TMSafetyNet 7 
com.apple.driver.AppleKeyStore 2 
com.apple.driver.DiskImages 371.1 
com.apple.iokit.IOStorageFamily 1.9 
com.apple.iokit.IOReportFamily 21 
com.apple.driver.AppleFDEKeyStore 28.30 
com.apple.driver.AppleACPIPlatform 2.0 
com.apple.iokit.IOPCIFamily 2.8 
com.apple.iokit.IOACPIFamily 1.4 
com.apple.kec.pthread 1 
com.apple.kec.corecrypto 1.0 
panic(cpu 1 caller 0xffffff802dbeda5f): "Spinlock acquisition timed out: lock=0xffffff802deca4d8, lock owner thread=0xffffff80409f4cf0, current_thread: 0xffffff8040364450, lock owner active on CPU 0x3, current owner: 0xffffff80409f4cf0"@/SourceCache/xnu/xnu-2422.1.72/osfmk/i386/locks_i386.c:365 
Backtrace (CPU 1), Frame : Return Address 
0xffffff815a5db810 : 0xffffff802d822f69 
0xffffff815a5db890 : 0xffffff802dbeda5f 
0xffffff815a5db8b0 : 0xffffff802d82f741 
0xffffff815a5db9e0 : 0xffffff802d830018 
0xffffff815a5dba50 : 0xffffff7faf6a7f86 
0xffffff815a5dbaf0 : 0xffffff802d8e351e 
0xffffff815a5dbb30 : 0xffffff802d8e3c78 
0xffffff815a5dbb70 : 0xffffff7faf6b01e0 
0xffffff815a5dbba0 : 0xffffff7faf6aa2e0 
0xffffff815a5dbbe0 : 0xffffff7faf6a6e3c 
0xffffff815a5dbc00 : 0xffffff802dc58316 
0xffffff815a5dbc60 : 0xffffff802dc56051 
0xffffff815a5dbcb0 : 0xffffff802dc5497e 
0xffffff815a5dbd10 : 0xffffff802dc5465c 
0xffffff815a5dbd80 : 0xffffff802dc67074 
0xffffff815a5dbe10 : 0xffffff802d85c590 
0xffffff815a5dbe50 : 0xffffff802d826bb1 
0xffffff815a5dbe80 : 0xffffff802d8139b5 
0xffffff815a5dbef0 : 0xffffff802d81e003 
0xffffff815a5dbf70 : 0xffffff802d8c921d 
0xffffff815a5dbfb0 : 0xffffff802d8f3e26 
     Kernel Extensions in backtrace: 
     com.intel.kext.intelhaxm(1.0.6)[49CE9C16-9447-31FE-A856-4BDD043A302D]@0xffffff7faf6a6000->0xffffff7faf6c2fff 

BSD process name corresponding to current thread: kextd 

System Profile: 
Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 1.68f99 
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB 
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020 
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020 
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.100.22) 
Bluetooth: Version 4.2.0f6 12982, 3 services, 15 devices, 1 incoming serial ports 
Network Service: Wi-Fi, AirPort, en1 
Serial ATA Device: OCZ-VERTEX3, 120.03 GB 
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB 
USB Device: FaceTime HD Camera (Built-in) 
USB Device: Hub 
USB Device: Apple Internal Keyboard/Trackpad 
USB Device: BRCM2070 Hub 
USB Device: Bluetooth USB Host Controller 
USB Device: Hub 
USB Device: IR Receiver 
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1 
Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 1.68f99 
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB 
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020 
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020 
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.100.22) 
Bluetooth: Version 4.2.0f6 12982, 3 services, 15 devices, 1 incoming serial ports 
Network Service: Wi-Fi, AirPort, en1 
Serial ATA Device: OCZ-VERTEX3, 120.03 GB 
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB 
USB Device: FaceTime HD Camera (Built-in) 
USB Device: Hub 
USB Device: Apple Internal Keyboard/Trackpad 
USB Device: BRCM2070 Hub 
USB Device: Bluetooth USB Host Controller 
USB Device: Hub 
USB Device: IR Receiver 
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1 
+1

檢查控制檯日誌。 –

+0

添加了崩潰報告。內核恐慌。 –

+0

您是否向英特爾報告過此問題? – Pandalover

回答

140

英特爾發佈一個補丁程序的英特爾硬件加速執行管理器(HAXM)。如果您在Microsoft Windows * 8.1或OS X 10.9上安裝了HAXM,則應安裝修補程序。從HAXM下載頁面的修補程序

下載:http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

謝謝, 亞歷克斯(英特爾)

CNC中

它看起來像補丁程序鏈接已被移動(暫時? ..)。使用這個鏈接去的OSX修補程序:

http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macos-hotfix

+4

+1對於你們在英特爾誰快速解決這個問題 – HpTerm

+1

使用intellij,這整個過程是我的模擬器在小牛身上唯一的工作。 「HAX工作正常,模擬器運行在快速虛擬模式下」這麼漂亮的東西可以看到 - 東西的運行速度快了50倍 – michaelsnowden

+0

這也適用於Mountain Lion MacOS X 10.8.5 – Chepech

60

好消息!目前英特爾的大傢伙正在測試一個補丁,現在正在測試它(亞歷山大從下面粘貼英特爾公司的反應)

Hi,

We identified the root cause of this issue. The Intel HaXM team is testing an update to support newly released OSes (Microsoft Windows* 8.1 and OS X Mavericks*). Look for word on our upcoming update.

Thanks, Alex

這是一個已知的問題,雖然小牛GM最近才以開發商公佈爲準。我在這裏通知英特爾:

http://software.intel.com/en-us/forums/topic/477793

UPDATE:

這是Intel的響應我在下面粘貼從他們的論壇

Hi,

Thanks for your replies. We are investigating into this issue at the moment. Please note that OS X 10.9 is not an supported OS version for the actual version of HAXM. I will update this thread as soon as I have new information or a fix/workaround is available.

Thanks, Alex

Click here to view this Forum topic and respond:
http://software.intel.com/en-us/comment/1761988#comment-1761988

並有進一步的更新:

We identified the root cause of this issue. The Intel HaXM team is testing an update to support newly released OSes (Microsoft Windows* 8.1 and OS X Mavericks*). Look for word on our upcoming update.

另一個更新:

I assume we release a fix somewhere between a few days and two weeks. We know that a lot of people are waiting for the fix, so we try to release it as fast as possible.

Thanks for your patience!

INTEL已經提供了一個修補程序

Great news: The hotfix is available for download! Please go to http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/ . There is a hotfix for Microsoft Windows* 8.1 and one for OS X 10.9.
Let us know if the hotfix is working for you.

Thanks all for helping us resolving this issue!

+0

非常感謝,我昨天發表了評論,但沒有顯示,我認爲它一定要適度。 –

+1

一位英特爾紳士回答並詢問了內核日誌。我用同一個線索把它發給他。隨着事情的變化,我會繼續評論。 – Pandalover

+2

同時,我一直在使用Genymotion,儘管我可以使用具有root訪問權限的虛擬機來訪問數據庫。另一方面,虛擬機擁有完整的Google Play服務,包括Play商店。 – Pandalover

1

的修補程序(幾乎)解決了這個問題對我來說。安裝修補程序後,我的模擬器仍未使用HAXM。我不得不使用SDK管理器卸載舊版本。一旦我做到了,我就能夠運行HAXM。您可以通過在啓動新仿真器時在啓動窗口中查找消息來確定它正在運行。

+0

您遇到了我在Panalover答案中提到的問題嗎?這是否與我擁有4GB RAM的MacMini有關?我試過edi的AVD使用1024MB,並使用600MB有效地工作,但我無法讓任何啓用了Intel Atom的仿真器再次運行。 – whyoz

9

即使安裝並運行獲取「HAX工作正常,仿真程序以快速虛擬模式運行」,似乎問題仍將持續存在。如果您在運行Android Studio時打開Xcode,那麼即使SIM不能打開,Xcode也會爲其模擬器保留一個分區。

您可能在「6. Android」選項卡中看到「無連接的設備」,但看到它在DDMS中運行。您也可能會看到「Emulator null 5556 [OFFLINE]」顯示,然後鬆動連接並恢復爲「未連接的設備」。

我一直在我的Mac Mini 4GB RAM機器上成功使用HAXM模擬器,但只要我嘗試運行Nexus 10仿真器,我就開始發現啓動應用程序的大量問題。

總之,您需要關閉/禁用Xcode,VirtualBox,Hyper-V或使用虛擬化技術高效運行HAXM仿真器和默認模擬器的任何其他虛擬機。

關閉Xcode後,我能夠打開模擬器,沒有問題,很可能是因爲我的系統的CPU限制。

+0

感謝您的提示。我仍然遇到內核恐慌與上面的假設修復,但現在我想我知道爲什麼。我安裝了VMWare Fusion,它總是在後臺運行,所以可能會造成所有的麻煩。 – daveangel

+0

這個!這非常有幫助,我的xcode和vbox都在運行。把它們關掉就行了。吮吸我無法使用我的vbox服務器env與一個像樣的android模擬器雖然=/ – rooftop

+0

哇,非常感謝這個答案。我有最新的Macbook Air,解決方案是我需要關閉VirtualBox。再次感謝! – tomazahlin

0

Hotfix在10.9的Macbook Retina上工作。我從Android SDK管理器版本3安裝了HAX,並且凍結了我的AVD(使用HOST GPU的x86 CPU)。我下載並安裝了該修補程序,而無需卸載HAX版本3(執行kextstat | grep intel以確認版本)。

的AVD在不到10秒的啓動....

2

對於我們這些使用老的Mac上,特別是酷睿2噸的機器,我覺得還是有問題。我有一臺運行Yosemite(10.10.1)的8GB內存的2009年初iMac,並安裝了1.1.1版本的HAXM(試用了Android SDK Manager下載的版本以及上面在Intel網站上提到的版本)。

我可以運行較舊的ARM映像,但與運行x86映像時遇到問題的許多其他人一樣,例如, Nexus 5,Nexus 6,它仍然適合我。

https://software.intel.com/en-us/forums/topic/536330,有幾個人與Core Duo 2 Mavericks機器有問題。它指出在HAXM 1.1.1 Release Notes.txt文件:

HAXM driver does not support emulating a 64 bit system image on Intel systems based on Core microarchitecture (Core, Core2 Duo etc.).

但是,好像甚至試圖模仿32位系統是有問題的。

注意:ARM圖像工作正常。