Mac SeafileClient 7.0.3 不显示GUI 【macOS 10.15.3】

在某次同步的时候,我登出了账号,然后下次打开时就再也不显示GUI了,但活动监视器里还有seafile相关的进程,只是看不到GUI。

尝试过强退所有seafile进程,然后删除所有程序文件,包括application state之类的,并且把同步目录删了,重装,但问题依旧。

GUI不显示,但是进程还在,有 seaf-daemon 和 Seafile 两个进程,偶尔出现 Seafile FinderSync 进程。

【更新:】
双击SeafileClient.app/Contents/MacOS/seafile-applet之后终于显示GUI了,但是在添加账号的窗口没法输入,具体表现是点击SSO登录窗口,在里面输入,结果输入会跑到另一个地方。
貌似是焦点不对,但我保证输入的时候我是点击了输入框的。
如图,我点击了下面的输入框,然后输入,结果输入的内容跑到了文本编辑app里。

【再次更新:】
在设置里把“不要在dock中显示Seafile图标”这个选项去掉后,就可以正常输入了。
反复实验了一下,就是这个选项的锅,只要选上,就会导致界面得不到焦点。

这是什么Bug?

升级到 7.0.6 版试一下。

用7.0.6还是不行

Mac 客户端版本 7.07,MacOS 10.15.2,打开后仍然闪退。
使用以下方法仍然一样打不开。

双击SeafileClient.app/Contents/MacOS/seafile-applet之后终于显示GUI了

错误信息:

Process:               seafile-applet [2047]
Path:                  /Applications/Seafile Client.app/Contents/MacOS/seafile-applet
Identifier:            com.seafile.seafile-client
Version:               7.0.7 (7.0.7)
Code Type:             X86-64 (Native)
Parent Process:        ??? [2044]
Responsible:           Terminal [1894]
User ID:               501

Date/Time:             2020-05-31 19:24:29.710 +0800
OS Version:            Mac OS X 10.15.2 (19C57)
Report Version:        12
Anonymous UUID:        0213FDC7-488F-E146-DEA5-8327FEA3A5DF


Time Awake Since Boot: 1300 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000090
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [2047]

VM Regions Near 0x90:
--> 
    __TEXT                 000000010accb000-000000010afd2000 [ 3100K] r-x/rwx SM=COW  /Applications/Seafile Client.app/Contents/MacOS/seafile-applet

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore         	0x00000001125fae1f QUrl::toString(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 31
1   org.qt-project.QtCore         	0x00000001125fb936 QUrl::toEncoded(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 38
2   com.seafile.seafile-client    	0x000000010acdb9ef 0x10accb000 + 68079
3   com.seafile.seafile-client    	0x000000010acdb738 AccountManager::updateAccountInfo(Account const&, AccountInfo const&) + 88
4   com.seafile.seafile-client    	0x000000010acd66aa AccountInfoService::onFetchAccountInfoSuccess(AccountInfo const&) + 42
5   org.qt-project.QtCore         	0x00000001126d3a81 QMetaObject::activate(QObject*, int, int, void**) + 913
6   com.seafile.seafile-client    	0x000000010acedeb4 FetchAccountInfoRequest::success(AccountInfo const&) + 52
7   com.seafile.seafile-client    	0x000000010acffe9a FetchAccountInfoRequest::requestSuccess(QNetworkReply&) + 858
8   org.qt-project.QtCore         	0x00000001126d3a81 QMetaObject::activate(QObject*, int, int, void**) + 913
9   com.seafile.seafile-client    	0x000000010acea454 SeafileApiClient::requestSuccess(QNetworkReply&) + 52
10  com.seafile.seafile-client    	0x000000010ace47e4 SeafileApiClient::httpRequestFinished() + 180
11  org.qt-project.QtCore         	0x00000001126d3a81 QMetaObject::activate(QObject*, int, int, void**) + 913
12  org.qt-project.QtNetwork      	0x00000001118507ed 0x111805000 + 309229
13  org.qt-project.QtCore         	0x00000001126ccb0c QObject::event(QEvent*) + 156
14  org.qt-project.QtWidgets      	0x00000001119c6bdd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
15  org.qt-project.QtWidgets      	0x00000001119c94ac QApplication::notify(QObject*, QEvent*) + 5852
16  org.qt-project.QtCore         	0x00000001126a29f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
17  org.qt-project.QtCore         	0x00000001126a3740 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 560
18  libqcocoa.dylib               	0x00000001151e125e 0x1151b8000 + 168542
19  libqcocoa.dylib               	0x00000001151e1b21 0x1151b8000 + 170785
20  com.apple.CoreFoundation      	0x00007fff3bd08b21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21  com.apple.CoreFoundation      	0x00007fff3bd08ac0 __CFRunLoopDoSource0 + 103
22  com.apple.CoreFoundation      	0x00007fff3bd088d4 __CFRunLoopDoSources0 + 209
23  com.apple.CoreFoundation      	0x00007fff3bd07740 __CFRunLoopRun + 1272
24  com.apple.CoreFoundation      	0x00007fff3bd06bd3 CFRunLoopRunSpecific + 499
25  com.apple.HIToolbox           	0x00007fff3a85d65d RunCurrentEventLoopInMode + 292
26  com.apple.HIToolbox           	0x00007fff3a85d39d ReceiveNextEventCommon + 600
27  com.apple.HIToolbox           	0x00007fff3a85d127 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28  com.apple.AppKit              	0x00007fff38eceeb4 _DPSNextEvent + 990
29  com.apple.AppKit              	0x00007fff38ecd690 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
30  com.apple.AppKit              	0x00007fff38ebf3ae -[NSApplication run] + 658
31  libqcocoa.dylib               	0x00000001151e09bf 0x1151b8000 + 166335
32  org.qt-project.QtCore         	0x000000011269e631 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
33  org.qt-project.QtCore         	0x00000001126a3099 QCoreApplication::exec() + 393
34  com.seafile.seafile-client    	0x000000010ad6a860 main + 848
35  com.seafile.seafile-client    	0x000000010acd6224 start + 52

Thread 1:
0   libsystem_pthread.dylib       	0x00007fff73563818 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	0x00007fff73563818 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00007fff73563818 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	0x00007fff73563818 start_wqthread + 0

Thread 5:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff734ac5be __select + 10
1   com.apple.CoreFoundation      	0x00007fff3bd31d8a __CFSocketManager + 632
2   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
3   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff734a425a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff734a45d0 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff3bd08d0b __CFRunLoopServiceMachPort + 322
3   com.apple.CoreFoundation      	0x00007fff3bd078e7 __CFRunLoopRun + 1695
4   com.apple.CoreFoundation      	0x00007fff3bd06bd3 CFRunLoopRunSpecific + 499
5   com.apple.AppKit              	0x00007fff39071a72 _NSEventThread + 132
6   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
7   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 7:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff734a6ce6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff73568185 _pthread_cond_wait + 701
2   org.qt-project.QtCore         	0x00000001124dc69f 0x1124af000 + 186015
3   org.qt-project.QtCore         	0x00000001124dc4db 0x1124af000 + 185563
4   org.qt-project.QtCore         	0x00000001124dc3a2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x00000001124d7f1e 0x1124af000 + 167710
6   org.qt-project.QtCore         	0x00000001124dae7f 0x1124af000 + 179839
7   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 8:: Qt bearer thread
0   libsystem_kernel.dylib        	0x00007fff734aa896 poll + 10
1   org.qt-project.QtCore         	0x00000001126f7380 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
2   org.qt-project.QtCore         	0x00000001126f8845 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 885
3   org.qt-project.QtCore         	0x000000011269e631 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
4   org.qt-project.QtCore         	0x00000001124d719e QThread::exec() + 110
5   org.qt-project.QtCore         	0x00000001124dae7f 0x1124af000 + 179839
6   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
7   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 9:: QNetworkAccessManager thread
0   libsystem_kernel.dylib        	0x00007fff734aa896 poll + 10
1   org.qt-project.QtCore         	0x00000001126f7380 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
2   org.qt-project.QtCore         	0x00000001126f8845 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 885
3   org.qt-project.QtCore         	0x000000011269e631 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
4   org.qt-project.QtCore         	0x00000001124d719e QThread::exec() + 110
5   org.qt-project.QtCore         	0x00000001124dae7f 0x1124af000 + 179839
6   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
7   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 10:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff734a6ce6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff73568185 _pthread_cond_wait + 701
2   org.qt-project.QtCore         	0x00000001124dc69f 0x1124af000 + 186015
3   org.qt-project.QtCore         	0x00000001124dc4db 0x1124af000 + 185563
4   org.qt-project.QtCore         	0x00000001124dc3a2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x00000001124d7f1e 0x1124af000 + 167710
6   org.qt-project.QtCore         	0x00000001124dae7f 0x1124af000 + 179839
7   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 11:
0   libsystem_kernel.dylib        	0x00007fff734aa87e __accept + 10
1   libsearpc.1.dylib             	0x000000010b4bc0aa 0x10b4b6000 + 24746
2   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
3   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 12:
0   libsystem_kernel.dylib        	0x00007fff734a425a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff734a45d0 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff3bd08d0b __CFRunLoopServiceMachPort + 322
3   com.apple.CoreFoundation      	0x00007fff3bd078e7 __CFRunLoopRun + 1695
4   com.apple.CoreFoundation      	0x00007fff3bd06bd3 CFRunLoopRunSpecific + 499
5   com.apple.Foundation          	0x00007fff3e3aa188 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
6   com.seafile.seafile-client    	0x000000010ad63b18 0x10accb000 + 625432
7   com.apple.Foundation          	0x00007fff3e3a2788 __NSThread__start__ + 1064
8   libsystem_pthread.dylib       	0x00007fff73567e65 _pthread_start + 148
9   libsystem_pthread.dylib       	0x00007fff7356383b thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000001129976c0  rbx: 0x0000000001f00000  rcx: 0x00007ffee4f32468  rdx: 0x0000000001f00000
  rdi: 0x00007ffee4f323b8  rsi: 0x0000000000000090  rbp: 0x00007ffee4f323a0  rsp: 0x00007ffee4f32320
   r8: 0x0000000000000002   r9: 0x0000000004890416  r10: 0x0000000000000002  r11: 0x0000000000000002
  r12: 0x0000000000000001  r13: 0x00007ffee4f32470  r14: 0x00007ffee4f323b8  r15: 0x0000000000000090
  rip: 0x00000001125fae1f  rfl: 0x0000000000010202  cr2: 0x0000000000000090
  
Logical CPU:     2
Error Code:      0x00000004 (no mapping for user data write)
Trap Number:     14



后面错误信息太多贴不下了

删了重装试试,把配置之类的全部清空

我用这个方法解决了,多谢多谢。
https://bbs.seafile.com/t/topic/7486/8

@wuacngeo 你这个问题在 7.0.8 版本中已经解决了,7.0.7 版本引入的 bug,7.0.6 版本是好的。

1 个赞

试了7.0.8,已经可以了。
太棒了,感谢感谢:grinning:

你好,我现在用的是7.0.10,遇到了和楼主一模一样的问题和症状,请问该如何解决?楼主好像也没有继续回复了 @rocks

把设置里的类似隐藏dock图标的选项去掉

Mac SeafileClient 7.0.3 不显示GUI 【macOS 10.15.3】 继续讨论:

看我的“再次更新”