Seafile client 7.0.7 crash macOS Catalina

Hello. Seafile is fighting me every step of the way. I’ve set up a server via Docker on a Windows 10 machine with a colossal drive I want to use. I briefly got Client v. 7.0.7 on MacOS to talk to it. After reboot, the client crashes. I’ve reinstalled it, removed all .plist files etc.

Before I give up on self hosting and revert to DropBox, any idea what may be causing it? I don’t know what to attach - the dump stack trace is too large to post. Here’s a snippet:

Process:               seafile-applet [1146]
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:        ??? [1]
Responsible:           seafile-applet [1146]
User ID:               501

Date/Time:             2020-04-07 20:18:32.475 +0100
OS Version:            Mac OS X 10.15.3 (19D76)
Report Version:        12
Bridge OS Version:     4.2 (17P3050)
Anonymous UUID:        8EDD6B6B-0797-E563-A639-D3BDDE22E07F


Time Awake Since Boot: 440 seconds

System Integrity Protection: enabled

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 [1146]

VM Regions Near 0x90:
--> 
    __TEXT                 000000010f11e000-000000010f425000 [ 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         	0x0000000116a55e1f QUrl::toString(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 31
1   org.qt-project.QtCore         	0x0000000116a56936 QUrl::toEncoded(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 38

thanks

Can you paste 20+ more lines below this line? This will help us to identify the problem.

7.0.7 always crashes for me. I enclose my kernel log. (I hope there is no sensitive data in the log, but as far as I can see everything should be fine.)

It would be nice if seafile would work again quickly.

For information: At first seafile ran over a homebrew installation, but now I have downloaded the client directly from seafile.com. Both versions crashes.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtCore 0x000000010cb01e1f QUrl::toString(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 31
1 org.qt-project.QtCore 0x000000010cb02936 QUrl::toEncoded(QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption>) const + 38
2 com.seafile.seafile-client 0x000000010a94e9ef 0x10a93e000 + 68079
3 com.seafile.seafile-client 0x000000010a94e738 AccountManager::updateAccountInfo(Account const&, AccountInfo const&) + 88
4 com.seafile.seafile-client 0x000000010a9496aa AccountInfoService::onFetchAccountInfoSuccess(AccountInfo const&) + 42
5 org.qt-project.QtCore 0x000000010cbdaa81 QMetaObject::activate(QObject*, int, int, void**) + 913
6 com.seafile.seafile-client 0x000000010a960eb4 FetchAccountInfoRequest::success(AccountInfo const&) + 52
7 com.seafile.seafile-client 0x000000010a972e9a FetchAccountInfoRequest::requestSuccess(QNetworkReply&) + 858
8 org.qt-project.QtCore 0x000000010cbdaa81 QMetaObject::activate(QObject*, int, int, void**) + 913
9 com.seafile.seafile-client 0x000000010a95d454 SeafileApiClient::requestSuccess(QNetworkReply&) + 52
10 com.seafile.seafile-client 0x000000010a9577e4 SeafileApiClient::httpRequestFinished() + 180
11 org.qt-project.QtCore 0x000000010cbdaa81 QMetaObject::activate(QObject*, int, int, void**) + 913
12 org.qt-project.QtNetwork 0x000000010bd6a7ed 0x10bd1f000 + 309229
13 org.qt-project.QtCore 0x000000010cbd3b0c QObject::event(QEvent*) + 156
14 org.qt-project.QtWidgets 0x000000010bed6bdd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
15 org.qt-project.QtWidgets 0x000000010bed94ac QApplication::notify(QObject*, QEvent*) + 5852
16 org.qt-project.QtCore 0x000000010cba99f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
17 org.qt-project.QtCore 0x000000010cbaa740 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 560
18 libqcocoa.dylib 0x000000010d1fe25e 0x10d1d5000 + 168542
19 libqcocoa.dylib 0x000000010d1feb21 0x10d1d5000 + 170785
20 com.apple.CoreFoundation 0x00007fff3905af12 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
21 com.apple.CoreFoundation 0x00007fff3905aeb1 __CFRunLoopDoSource0 + 103
22 com.apple.CoreFoundation 0x00007fff3905accb __CFRunLoopDoSources0 + 209
23 com.apple.CoreFoundation 0x00007fff390599fa __CFRunLoopRun + 927
24 com.apple.CoreFoundation 0x00007fff39058ffe CFRunLoopRunSpecific + 462
25 com.apple.HIToolbox 0x00007fff37c8cabd RunCurrentEventLoopInMode + 292
26 com.apple.HIToolbox 0x00007fff37c8c7d5 ReceiveNextEventCommon + 584
27 com.apple.HIToolbox 0x00007fff37c8c579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28 com.apple.AppKit 0x00007fff362d7c99 _DPSNextEvent + 883
29 com.apple.AppKit 0x00007fff362d64e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
30 com.apple.AppKit 0x00007fff362c81ee -[NSApplication run] + 658
31 libqcocoa.dylib 0x000000010d1fd9bf 0x10d1d5000 + 166335
32 org.qt-project.QtCore 0x000000010cba5631 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 401
33 org.qt-project.QtCore 0x000000010cbaa099 QCoreApplication::exec() + 393
34 com.seafile.seafile-client 0x000000010a9dd860 main + 848
35 com.seafile.seafile-client 0x000000010a949224 start + 52
Thread 1:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 8:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff730eb0fe __select + 10
1 com.apple.CoreFoundation 0x00007fff39083e13 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
3 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 9:
0 libsystem_pthread.dylib 0x00007fff731a1b68 start_wqthread + 0
Thread 10:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff730e2dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff730e3170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff3905b0b5 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff39059b82 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff39058ffe CFRunLoopRunSpecific + 462
5 com.apple.AppKit 0x00007fff364795b4 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 11:: Thread (pooled)
0 libsystem_kernel.dylib 0x00007fff730e5882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff731a6425 _pthread_cond_wait + 698
2 org.qt-project.QtCore 0x000000010c9e369f 0x10c9b6000 + 186015
3 org.qt-project.QtCore 0x000000010c9e34db 0x10c9b6000 + 185563
4 org.qt-project.QtCore 0x000000010c9e33a2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5 org.qt-project.QtCore 0x000000010c9def1e 0x10c9b6000 + 167710
6 org.qt-project.QtCore 0x000000010c9e1e7f 0x10c9b6000 + 179839
7 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
8 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 12:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff730e93d6 poll + 10
1 org.qt-project.QtCore 0x000000010cbfe380 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
2 org.qt-project.QtCore 0x000000010cbff845 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 885
3 org.qt-project.QtCore 0x000000010cba5631 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 401
4 org.qt-project.QtCore 0x000000010c9de19e QThread::exec() + 110
5 org.qt-project.QtCore 0x000000010c9e1e7f 0x10c9b6000 + 179839
6 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 13:: QNetworkAccessManager thread
0 libsystem_kernel.dylib 0x00007fff730e93d6 poll + 10
1 org.qt-project.QtCore 0x000000010cbfe380 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
2 org.qt-project.QtCore 0x000000010cbff845 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 885
3 org.qt-project.QtCore 0x000000010cba5631 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 401
4 org.qt-project.QtCore 0x000000010c9de19e QThread::exec() + 110
5 org.qt-project.QtCore 0x000000010c9e1e7f 0x10c9b6000 + 179839
6 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 14:
0 libsystem_kernel.dylib 0x00007fff730e93be __accept + 10
1 libsearpc.1.dylib 0x000000010b1350aa 0x10b12f000 + 24746
2 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
3 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15
Thread 15:
0 libsystem_kernel.dylib 0x00007fff730e2dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff730e3170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff3905b0b5 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff39059b82 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff39058ffe CFRunLoopRunSpecific + 462
5 com.apple.Foundation 0x00007fff3b6ed2a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
6 com.seafile.seafile-client 0x000000010a9d6b18 0x10a93e000 + 625432
7 com.apple.Foundation 0x00007fff3b6e5882 NSThread__start + 1064
8 libsystem_pthread.dylib 0x00007fff731a6109 _pthread_start + 148
9 libsystem_pthread.dylib 0x00007fff731a1b8b thread_start + 15

Hi @oneiro

Thanks for the information. We found a possible cause and will fix it in the next version.