Genymotion 在 OSX 开始时崩溃
Genymotion crash on start in OSX
我正在使用 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: 0 Dispatch 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
0 libcrypto.1.0.0.dylib 0x0000000103f1e758 lh_new + 196
1 libcrypto.1.0.0.dylib 0x0000000103e70467 OBJ_NAME_init + 48
2 libcrypto.1.0.0.dylib 0x0000000103e70780 OBJ_NAME_add + 34
3 libcrypto.1.0.0.dylib 0x0000000103f27f3f EVP_add_cipher + 42
4 libcrypto.1.0.0.dylib 0x0000000103f2b9cd OpenSSL_add_all_ciphers + 19
5 libcrypto.1.0.0.dylib 0x0000000103f2b9b4 OPENSSL_add_all_algorithms_noconf + 14
6 com.yourcompany.genymotion 0x0000000103cde27c 0x103bf6000 + 950908
7 com.yourcompany.genymotion 0x0000000103c9011a 0x103bf6000 + 631066
8 com.yourcompany.genymotion 0x0000000103c975bb 0x103bf6000 + 660923
9 com.yourcompany.genymotion 0x0000000103c871d5 0x103bf6000 + 594389
10 com.yourcompany.genymotion 0x0000000103ca47f6 0x103bf6000 + 714742
11 com.yourcompany.genymotion 0x0000000103c04277 0x103bf6000 + 57975
12 com.yourcompany.genymotion 0x0000000103bfc324 0x103bf6000 + 25380
13 com.yourcompany.genymotion 0x0000000103bfbf84 0x103bf6000 + 24452
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8865befa kevent_qos + 10
1 libdispatch.dylib 0x00007fff90cfe165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff90cfddcd _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 8:
Thread 9:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff8865ad3e __pselect + 10
1 libsystem_kernel.dylib 0x00007fff88658274 pselect50 + 82
2 org.qt-project.QtCore 0x0000000104f09cc8 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 104
3 org.qt-project.QtCore 0x0000000104f0ad80 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672
4 org.qt-project.QtCore 0x0000000104f0be4a QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234
5 org.qt-project.QtCore 0x0000000104eb637d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
6 org.qt-project.QtCore 0x0000000104cac4d5 QThread::exec() + 117
7 org.qt-project.QtCore 0x0000000104caff63 0x104c7b000 + 216931
8 libsystem_pthread.dylib 0x00007fff981c199d _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff981c191a _pthread_start + 168
10 libsystem_pthread.dylib 0x00007fff981bf351 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000103e70488 rbx: 0x00007f91c951f880 rcx: 0x000000000000000f rdx: 0x0000000000000000
rdi: 0x0000000107b58a00 rsi: 0x00007f91c9500000 rbp: 0x00007fff5c009340 rsp: 0x00007fff5c009320
r8: 0x0000000000000007 r9: 0x00000000fffffe00 r10: 0x0000000000000012 r11: 0x00007f91c9500000
r12: 0x0000000103f88cf2 r13: 0x0000000000000000 r14: 0x0000000103e70488 r15: 0x0000000103e704d5
rip: 0x0000000103f1e758 rfl: 0x0000000000010206 cr2: 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]
更新。我降级到 2.6.0 版本,解决了这个问题。
我可以确认 Genymotion 2.6.0 可以在出现此问题的 Mac 上运行。下载 link
我可以使用 OS 10.11.5、Genymotion 2.7.0 or 2.7.1 或使用实际 VirtualBox 5.0.24
的实际 2.7.2 来确认这一点
我什至uninstalled Genymotion totally
如常见问题解答中所述,这样做:
rm $HOME/.Genymobile/genymotion*
rm -rf $HOME/.Genymobile/Genymotion
rm -rf "~/Library/Preferences/com.genymobile.genymotion.plist" "~/Library/Saved Application State/com.genymobile.genymotion.savedState"
killall -u $USER cfprefsd
但没有变化。所有三个版本 2.7.0、2.7.1 和 2.7.2 都无法正常工作,因为它们在启动时立即崩溃,即使之前完全卸载也是如此。
Genymotion 2.6.0 有效,就像其他人写的那样。但是现在图像之间存在差异,在下载中我得到 2.7.2 图像而没有更多 2.6.0 图像,这也会给出警告和困难。
我问了支持,如果有结果,会post在这里。
弗兰克
刚刚弄清楚如何强制 Genymotion 2.7.2 在 OS X 上工作。
您应该安装 Genymotion 2.7.2 和 homebrew。
brew install openssl
或者如果您已经安装了它
brew upgrade openssl
brew cleanup
记住:找到returns一个列表(旧的自制包将被包括在内),所以如果你有几个自制openssl版本你应该跳过第三个命令(cp find
阶段)并手动复制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中的libcrypto.1.0.0.dylib 2.7.0 - 2.7.2 是为 Sandy Bridge 或更新的 CPU 构建的,并且在指令时崩溃
vxorps %xmm0, %xmm0, %xmm0
编辑:
错过了更新嵌入式 player.app(genymotion VM 工具)的命令,但我们也需要更新它...如果我们想要 运行 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 有效
我正在使用 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: 0 Dispatch 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
0 libcrypto.1.0.0.dylib 0x0000000103f1e758 lh_new + 196
1 libcrypto.1.0.0.dylib 0x0000000103e70467 OBJ_NAME_init + 48
2 libcrypto.1.0.0.dylib 0x0000000103e70780 OBJ_NAME_add + 34
3 libcrypto.1.0.0.dylib 0x0000000103f27f3f EVP_add_cipher + 42
4 libcrypto.1.0.0.dylib 0x0000000103f2b9cd OpenSSL_add_all_ciphers + 19
5 libcrypto.1.0.0.dylib 0x0000000103f2b9b4 OPENSSL_add_all_algorithms_noconf + 14
6 com.yourcompany.genymotion 0x0000000103cde27c 0x103bf6000 + 950908
7 com.yourcompany.genymotion 0x0000000103c9011a 0x103bf6000 + 631066
8 com.yourcompany.genymotion 0x0000000103c975bb 0x103bf6000 + 660923
9 com.yourcompany.genymotion 0x0000000103c871d5 0x103bf6000 + 594389
10 com.yourcompany.genymotion 0x0000000103ca47f6 0x103bf6000 + 714742
11 com.yourcompany.genymotion 0x0000000103c04277 0x103bf6000 + 57975
12 com.yourcompany.genymotion 0x0000000103bfc324 0x103bf6000 + 25380
13 com.yourcompany.genymotion 0x0000000103bfbf84 0x103bf6000 + 24452
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8865befa kevent_qos + 10
1 libdispatch.dylib 0x00007fff90cfe165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff90cfddcd _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8865b5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff981c1578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff981bf341 start_wqthread + 13
Thread 8:
Thread 9:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff8865ad3e __pselect + 10
1 libsystem_kernel.dylib 0x00007fff88658274 pselect50 + 82
2 org.qt-project.QtCore 0x0000000104f09cc8 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 104
3 org.qt-project.QtCore 0x0000000104f0ad80 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 672
4 org.qt-project.QtCore 0x0000000104f0be4a QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234
5 org.qt-project.QtCore 0x0000000104eb637d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
6 org.qt-project.QtCore 0x0000000104cac4d5 QThread::exec() + 117
7 org.qt-project.QtCore 0x0000000104caff63 0x104c7b000 + 216931
8 libsystem_pthread.dylib 0x00007fff981c199d _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff981c191a _pthread_start + 168
10 libsystem_pthread.dylib 0x00007fff981bf351 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000103e70488 rbx: 0x00007f91c951f880 rcx: 0x000000000000000f rdx: 0x0000000000000000
rdi: 0x0000000107b58a00 rsi: 0x00007f91c9500000 rbp: 0x00007fff5c009340 rsp: 0x00007fff5c009320
r8: 0x0000000000000007 r9: 0x00000000fffffe00 r10: 0x0000000000000012 r11: 0x00007f91c9500000
r12: 0x0000000103f88cf2 r13: 0x0000000000000000 r14: 0x0000000103e70488 r15: 0x0000000103e704d5
rip: 0x0000000103f1e758 rfl: 0x0000000000010206 cr2: 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]
更新。我降级到 2.6.0 版本,解决了这个问题。
我可以确认 Genymotion 2.6.0 可以在出现此问题的 Mac 上运行。下载 link
我可以使用 OS 10.11.5、Genymotion 2.7.0 or 2.7.1 或使用实际 VirtualBox 5.0.24
的实际 2.7.2 来确认这一点我什至uninstalled Genymotion totally 如常见问题解答中所述,这样做:
rm $HOME/.Genymobile/genymotion*
rm -rf $HOME/.Genymobile/Genymotion
rm -rf "~/Library/Preferences/com.genymobile.genymotion.plist" "~/Library/Saved Application State/com.genymobile.genymotion.savedState"
killall -u $USER cfprefsd
但没有变化。所有三个版本 2.7.0、2.7.1 和 2.7.2 都无法正常工作,因为它们在启动时立即崩溃,即使之前完全卸载也是如此。
Genymotion 2.6.0 有效,就像其他人写的那样。但是现在图像之间存在差异,在下载中我得到 2.7.2 图像而没有更多 2.6.0 图像,这也会给出警告和困难。
我问了支持,如果有结果,会post在这里。
弗兰克
刚刚弄清楚如何强制 Genymotion 2.7.2 在 OS X 上工作。
您应该安装 Genymotion 2.7.2 和 homebrew。
brew install openssl
或者如果您已经安装了它
brew upgrade openssl
brew cleanup
记住:找到returns一个列表(旧的自制包将被包括在内),所以如果你有几个自制openssl版本你应该跳过第三个命令(cp find
阶段)并手动复制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中的libcrypto.1.0.0.dylib 2.7.0 - 2.7.2 是为 Sandy Bridge 或更新的 CPU 构建的,并且在指令时崩溃 vxorps %xmm0, %xmm0, %xmm0
编辑: 错过了更新嵌入式 player.app(genymotion VM 工具)的命令,但我们也需要更新它...如果我们想要 运行 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 有效