在OSX啟動時的Genymotion崩潰
我使用Mac OS El Capitan 10.11.5
已安裝VirtualBox 5.0.24
Genymotion 2.7.2
當我開始Genymotion我崩潰 – 看影象: –

來自崩潰報告的文字
Process:genymotion [1051] Path:/Applications/Genymotion.app/Contents/MacOS/genymotion Identifier:com.yourcompany.genymotion Version:??? Code Type:X86-64 (Native) Parent Process:??? [1] Responsible:genymotion [1051] User ID:501 Date/Time:2016-07-03 10:38:17.680 +0300 OS Version:Mac OS X 10.11.5 (15F34) Report Version:11 Anonymous UUID:890BAC95-7988-7846-0ECE-0DEC8BFB2C9E Sleep/Wake UUID:10886C01-28E6-49CC-B63D-2AA32EEC3A87 Time Awake Since Boot: 6500 seconds Time Since Wake:3700 seconds System Integrity Protection: enabled Crashed Thread:0Dispatch queue: com.apple.main-thread Exception Type:EXC_BAD_INSTRUCTION (SIGILL) Exception Codes:0x0000000000000001, 0x0000000000000000 Exception Note:EXC_CORPSE_NOTIFY Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0libcrypto.1.0.0.dylib0x0000000103f1e758 lh_new + 196 1libcrypto.1.0.0.dylib0x0000000103e70467 OBJ_NAME_init + 48 2libcrypto.1.0.0.dylib0x0000000103e70780 OBJ_NAME_add + 34 3libcrypto.1.0.0.dylib0x0000000103f27f3f EVP_add_cipher + 42 4libcrypto.1.0.0.dylib0x0000000103f2b9cd OpenSSL_add_all_ciphers + 19 5libcrypto.1.0.0.dylib0x0000000103f2b9b4 OPENSSL_add_all_algorithms_noconf + 14 6com.yourcompany.genymotion0x0000000103cde27c 0x103bf6000 + 950908 7com.yourcompany.genymotion0x0000000103c9011a 0x103bf6000 + 631066 8com.yourcompany.genymotion0x0000000103c975bb 0x103bf6000 + 660923 9com.yourcompany.genymotion0x0000000103c871d5 0x103bf6000 + 594389 10com.yourcompany.genymotion0x0000000103ca47f6 0x103bf6000 + 714742 11com.yourcompany.genymotion0x0000000103c04277 0x103bf6000 + 57975 12com.yourcompany.genymotion0x0000000103bfc324 0x103bf6000 + 25380 13com.yourcompany.genymotion0x0000000103bfbf84 0x103bf6000 + 24452 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0libsystem_kernel.dylib0x00007fff8865befa kevent_qos + 10 1libdispatch.dylib0x00007fff90cfe165 _dispatch_mgr_invoke + 216 2libdispatch.dylib0x00007fff90cfddcd _dispatch_mgr_thread + 52 Thread 2: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 3: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 4: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 5: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 6: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 7: 0libsystem_kernel.dylib0x00007fff8865b5e2 __workq_kernreturn + 10 1libsystem_pthread.dylib0x00007fff981c1578 _pthread_wqthread + 1283 2libsystem_pthread.dylib0x00007fff981bf341 start_wqthread + 13 Thread 8: Thread 9:: Qt bearer thread 0libsystem_kernel.dylib0x00007fff8865ad3e __pselect + 10 1libsystem_kernel.dylib0x00007fff88658274 pselect$1050 + 82 2org.qt-project.QtCore0x0000000104f09cc8 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 104 3org.qt-project.QtCore0x0000000104f0ad80 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672 4org.qt-project.QtCore0x0000000104f0be4a QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234 5org.qt-project.QtCore0x0000000104eb637d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381 6org.qt-project.QtCore0x0000000104cac4d5 QThread::exec() + 117 7org.qt-project.QtCore0x0000000104caff63 0x104c7b000 + 216931 8libsystem_pthread.dylib0x00007fff981c199d _pthread_body + 131 9libsystem_pthread.dylib0x00007fff981c191a _pthread_start + 168 10libsystem_pthread.dylib0x00007fff981bf351 thread_start + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000103e70488rbx: 0x00007f91c951f880rcx: 0x000000000000000frdx: 0x0000000000000000 rdi: 0x0000000107b58a00rsi: 0x00007f91c9500000rbp: 0x00007fff5c009340rsp: 0x00007fff5c009320 r8: 0x0000000000000007r9: 0x00000000fffffe00r10: 0x0000000000000012r11: 0x00007f91c9500000 r12: 0x0000000103f88cf2r13: 0x0000000000000000r14: 0x0000000103e70488r15: 0x0000000103e704d5 rip: 0x0000000103f1e758rfl: 0x0000000000010206cr2: 0x00000001050518a0 Logical CPU:0 Error Code:0x0200018a Trap Number:133
如果從終端我開始得到下一個文字
iMac-Alex-Neo:~ alexneo$/Applications/Genymotion.app/Contents/MacOS/genymotion ; exit; Logging activities to file: /Users/alexneo/.Genymobile/genymotion.log Illegal instruction: 4 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. Deleting expired sessions...none found. [Process completed]
剛剛知道如何強制Genymotion 2.7.2在OS X上工作.
您應該安裝Genymotion 2.7.2和自制軟體.
brew install openssl
或者如果您已經安裝了它
brew upgrade openssl brew cleanup
記住:find返回一個列表(將包含舊的homebrew包),所以如果你有幾個homebrew openssl版本,你應該跳過第三個命令(cp find stage)並手動複製openssl dylib
修復:Genymotion.app
cd /Applications/Genymotion.app/Contents/Frameworks mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion.app/Contents/Frameworks/
修復:Genymotion Shell.app
cd /Applications/Genymotion\ Shell.app/Contents/Frameworks mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion\ Shell.app/Contents/Frameworks/
P.S .: Genymotion 2.7.0 – 2.7.2中的libcrypto.1.0.0.dylib似乎是為Sandy Bridge或者更新的CPU而編譯的,並且在指令
vxorps%xmm0,%xmm0,%xmm0
編輯:
錯過了更新嵌入式player.app(genymotion VM工具)的命令,但是我們也需要更新它,如果我們想執行虛擬機器;-)
修復:player.app
cd /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/Frameworks mv libcrypto.1.0.0.dylib libcrypto.1.0.0.dylib.bak sudo cp `find /usr/local/Cellar/openssl -name libcrypto.1.0.0.dylib` /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/Frameworks/
現在Genymotion 2.7.2的作品
http://stackoverflow.com/questions/38167803/genymotion-crash-on-start-in-osx