我一直试图让第二个Google Drive实例在运行Mavericks的MBP上的另一个用户下运行。
我一直按照这里的说明http://truongtx.me/2013/06/30/macos-using-multiple-google-drive-accounts-at-the-same-time/。
每次我尝试使用sudo su user -c "/Applications/Google\ Drive.app/Contents/MacOS/Google\ Drive"
我运行新实例时都会遇到以下错误:
/Applications/Google Drive.app/Contents/Resources/lib/python2.7/lib-dynload
2014-05-09 14:30:15.593 Google Drive[97308:c07] GsyncAppDeletegate.py : Finder debug level logs : False
2014-05-09 14:30:15.876 Google Drive[97308:c07] CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.
2014-05-09 14:30:15.877 Google Drive[97308:c07] CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2014-05-09 14:30:15.973 Google Drive[97308:c07] CoreText performance note: Client called CTFontCreateWithName() using name "Open Sans" and got font with PostScript name "OpenSans-Light". For best performance, only use PostScript names when calling this API.
我运行基于MacPorts的Python版本:
which python
/opt/local/bin/python
而版本是
python --version
Python 2.7.6
安装MacPorts Python 3.4并使用sudo port select --set python python34
它无效,因为Google Drive似乎运行自己的Python包
可以在此处找到完整崩溃报告,但这里是标题:
Process: Google Drive [30284]
Path: /Applications/Google Drive.app/Contents/MacOS/Google Drive
Identifier: Google Drive
Version: 1.15 (1.15.6556.8063)
Code Type: X86 (Native)
Parent Process: su [30283]
Responsible: Terminal [63738]
User ID: 508
Date/Time: 2014-06-16 19:27:36.320 +0300
OS Version: Mac OS X 10.9.3 (13D65)
Report Version: 11
Anonymous UUID: 5F4A3A72-1448-6EBD-1C39-DDA29A092B8B
Sleep/Wake UUID: 79EE99BE-CBF8-4D70-B4AC-9BB9E85E45F9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
表示内存问题。请在此处查看Apple Dev Docs 。
Exception Codes: KERN_INVALID_ADDRESS at 0x000000001c2ad000
这是由线程访问未映射的内存引起的。它可以由数据访问或取指令触发; “线程状态”部分描述了如何区分(请参阅前面的Apple Developer信息链接)。
VM Regions Near 0x1c2ad000:
MALLOC_LARGE 0000000008c6f000-0000000008ce9000 [ 488K] rw-/rwx SM=PRV
-->
__TEXT 000000008fe3b000-000000008fe6e000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.python.python 0x0044b5fa PyObject_Malloc + 90
1 org.python.python 0x0045690f PyString_FromString + 127
2 org.python.python 0x00445573 PyDict_GetItemString + 19
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x1c2ad000 ebx: 0x006c8724 ecx: 0x081c2000 edx: 0x00525240
edi: 0x00000018 esi: 0x0044b5ae ebp: 0xbfffa778 esp: 0xbfffa750
ss: 0x00000023 efl: 0x00010207 eip: 0x0044b5fa cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x1c2ad000
eip是异常发生时的程序计数器。也就是说,它是导致异常的指令的地址。对于大多数非内存访问异常(例如,由整数除以零引起的EXC_ARITHMETIC / EXC_I386_DIV),这是键值。
它似乎与一个Python线程相关 - eip 0x0044b5fa
PyObject_Malloc-并且在这里提到了类似的Python bug 。PyObject_Malloc是一个Python对象分配器。
Logical CPU: 1
Error Code: 0x00000004
Trap Number: 14
这里有人知道如何通过这次崩溃和Python错误并使第二个Google Drive启动吗?它尝试但一直崩溃,我真的很想在我的Mac上运行两个驱动器。