haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
476 stars 279 forks source link

Crash on official community build on macOS #1319

Open kotori2 opened 4 years ago

kotori2 commented 4 years ago

This bug happens when you tries to right click on any folder on macOS 11.0.0 beta 6. The crash stack trace indicate that it sounds like a Qt bug, but unfortunately I can't find this bug on Qt bug tracker. But anyway I tried to compile with Qt 5.15.0 and it works fine. Probably you should update Qt on your CI (5.9) to newer version. Here is the stack trace:

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

Date/Time:             2020-09-11 04:18:21.591 +0800
OS Version:            Mac OS X 10.16 (20A5364e)
Report Version:        12
Bridge OS Version:     5.0 (18P50370a)
Anonymous UUID:        0CEC7D7D-2BF6-0C61-F18B-31230B0D6F11

Sleep/Wake UUID:       448B4369-6463-45AA-AA43-CE5F5730643D

Time Awake Since Boot: 260000 seconds
Time Since Wake:       30000 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 0x0000000000000038
Exception Note:        EXC_CORPSE_NOTIFY

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

VM Regions Near 0x38:
--> 
    __TEXT                        10b03b000-10b342000        [ 3100K] r-x/rwx SM=COW  /Applications/Seafile Client.app/Contents/MacOS/seafile-applet

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.HIServices            0x00007fff2766acab HIShapeEnumerate + 51
1   org.qt-project.QtWidgets        0x000000010c983e35 0x10c5be000 + 3956277
2   org.qt-project.QtWidgets        0x000000010c993c2f 0x10c5be000 + 4021295
3   org.qt-project.QtWidgets        0x000000010c683327 0x10c5be000 + 807719
4   org.qt-project.QtWidgets        0x000000010c735626 0x10c5be000 + 1537574
5   org.qt-project.QtWidgets        0x000000010c73b6c4 QMenu::popup(QPoint const&, QAction*) + 484
6   org.qt-project.QtWidgets        0x000000010c73c4ce QMenu::exec(QPoint const&, QAction*) + 78
7   com.seafile.seafile-client      0x000000010b147cad RepoTreeView::contextMenuEvent(QContextMenuEvent*) + 253
8   org.qt-project.QtWidgets        0x000000010c60a2aa QWidget::event(QEvent*) + 2826
9   org.qt-project.QtWidgets        0x000000010c6ff2dd QFrame::event(QEvent*) + 45
10  org.qt-project.QtWidgets        0x000000010c783573 QAbstractScrollArea::viewportEvent(QEvent*) + 179
11  org.qt-project.QtWidgets        0x000000010c83fdc6 QAbstractItemView::viewportEvent(QEvent*) + 1526
12  org.qt-project.QtWidgets        0x000000010c883be1 QTreeView::viewportEvent(QEvent*) + 513
13  org.qt-project.QtWidgets        0x000000010c784125 0x10c5be000 + 1859877
14  org.qt-project.QtCore           0x000000010d2a2c8a QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 202
15  org.qt-project.QtWidgets        0x000000010c5cfbc8 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 248
16  org.qt-project.QtWidgets        0x000000010c5d1495 QApplication::notify(QObject*, QEvent*) + 1733
17  org.qt-project.QtCore           0x000000010d2a29f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
18  org.qt-project.QtWidgets        0x000000010c62ad9f 0x10c5be000 + 445855
19  org.qt-project.QtWidgets        0x000000010c62958f 0x10c5be000 + 439695
20  org.qt-project.QtWidgets        0x000000010c5cfbdd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
21  org.qt-project.QtWidgets        0x000000010c5d24ac QApplication::notify(QObject*, QEvent*) + 5852
22  org.qt-project.QtCore           0x000000010d2a29f4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
23  org.qt-project.QtGui            0x000000010cbc4de7 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2855
24  org.qt-project.QtGui            0x000000010cbac25b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
25  libqcocoa.dylib                 0x000000010f766b21 0x10f73d000 + 170785
26  com.apple.CoreFoundation        0x00007fff20fc34bc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27  com.apple.CoreFoundation        0x00007fff20fc3424 __CFRunLoopDoSource0 + 180
28  com.apple.CoreFoundation        0x00007fff20fc319f __CFRunLoopDoSources0 + 248
29  com.apple.CoreFoundation        0x00007fff20fc1bd1 __CFRunLoopRun + 890
30  com.apple.CoreFoundation        0x00007fff20fc116e CFRunLoopRunSpecific + 563
31  com.apple.HIToolbox             0x00007fff29cb72e0 RunCurrentEventLoopInMode + 292
32  com.apple.HIToolbox             0x00007fff29cb6f32 ReceiveNextEventCommon + 283
33  com.apple.HIToolbox             0x00007fff29cb6dff _BlockUntilNextEventMatchingListInModeWithFilter + 64
34  com.apple.AppKit                0x00007fff239d6809 _DPSNextEvent + 879
35  com.apple.AppKit                0x00007fff239d5035 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
36  com.apple.AppKit                0x00007fff239c7628 -[NSApplication run] + 586
37  libqcocoa.dylib                 0x000000010f7659bf 0x10f73d000 + 166335
38  org.qt-project.QtCore           0x000000010d29e631 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
39  org.qt-project.QtCore           0x000000010d2a3099 QCoreApplication::exec() + 393
40  com.seafile.seafile-client      0x000000010b0d9a70 main + 848
41  com.seafile.seafile-client      0x000000010b0454d4 start + 52
RawDawg commented 4 years ago

@kotori2 Could you put the version you have compiled up to download until the official build is fixed?

pplomg commented 4 years ago

你好,编译好的客户端可否给我一份? 另外点击头像更换账号时 也会崩溃。

kotori2 commented 4 years ago

@RawDawg @pplomg Not sure if there is any required dependencies. seafile-applet.zip

RawDawg commented 4 years ago

@kotori2

Not sure if there is any required dependencies.

Yes, a whole bunch of. This is not my territory, I was hoping for an installer 😆 But thank you!

killing commented 4 years ago

We plan to update our build infra in version 7.0.10.

pplomg commented 4 years ago

我们计划在7.0.10版中更新我们的构建基础。

Can you tell when to update? Anxious

pplomg commented 4 years ago

@RawDawg @pplomg不确定是否存在任何必需的依赖项。 seafile-applet.zip

可否直接给你现在使用得app。 应用程序里面 直接打包 seafile client.app macos 的软件 可以直接使用

jloms commented 4 years ago

Problem is resolved in last beta Big Sur (30/09/20).