Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Big Sur 每隔几个小时,软件就自动退出 #20

@shuiRong

Description

@shuiRong

简单描述这个 Bug:

使用大概几个小时后,程序会自动关闭,没有什么崩溃弹框提示之类的东西,我一般是在发现无法Google后才发现顶部工具栏软件图标消失。我只能重新打开软件继续使用,几个小时(感觉)又自动关闭。往复。

如何触发这个 Bug:

不清楚如何触发...

如果是连接问题,在其他 V2Ray 客户端里出现过吗?

相关截图或日志

/Library/Logs/DiagnosticReports/目录下日志

v2ray的:
Date/Time:        2020-11-20 09:09:14.630 +0800
End time:         2020-11-20 09:13:15.223 +0800
OS Version:       macOS 11.1 (Build 20C5048k)
Architecture:     x86_64h
Report Version:   32
Incident Identifier: 59BFDCB2-50E3-4186-8414-C5439DB6F0DE

Data Source:      Microstackshots
Shared Cache:     BB445AD2-5E1A-3570-9A06-F83464F26516 slid base address 0x7fff200dd000, slide 0xdd000

Command:          v2ray
Path:             /usr/lib/dyld
Version:          ??? (???)
Parent:           UNKNOWN [1]
PID:              6539

Event:            wakeups
Action taken:     none
Wakeups:          45001 wakeups over the last 241 seconds (187 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Wakeups limit:    45000
Limit duration:   300s
Wakeups caused:   45001
Wakeups duration: 241s
Duration:         240.59s
Duration Sampled: 0.00s
Steps:            1

Hardware model:   MacBookPro11,4
Active cpus:      8

Fan speed:        2165 rpm

Heaviest stack for the target process:
  1  thread_start + 15 (libsystem_pthread.dylib + 9339) [0x7fff203e747b]
  1  ??? [0x10644de]
  1  ??? [0x1037986]
  1  ??? [0x1037a63]
  1  ??? [0x1040052]
  1  ??? [0x100ad98]
  1  ??? [0x100abdd]
  1  ??? [0x102f94c]
  1  ??? [0x10523a9]
  1  ??? [0x1061eed]
  1  ??? [0x1064614]
  1  __psynch_cvwait + 10 (libsystem_kernel.dylib + 14546) [0x7fff203b98d2]


Powerstats for:   v2ray [6539]
UUID:             539D3026-8947-3C75-8C34-19A54BF674AB
Path:             /usr/lib/dyld
Architecture:     x86_64
Parent:           UNKNOWN [1]
UID:              501
Footprint:        8920 KB
Start time:       2020-11-20 09:11:59.575 +0800
End time:         2020-11-20 09:11:59.575 +0800
Num samples:      1 (100%)
Primary state:    1 samples Non-Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS Utility, Requested Thread QoS Default, Override Thread QoS Unspecified
User Activity:    0 samples Idle, 1 samples Active
Power Source:     0 samples on Battery, 1 samples on AC
  1  thread_start + 15 (libsystem_pthread.dylib + 9339) [0x7fff203e747b]
    1  ??? [0x10644de]
      1  ??? [0x1037986]
        1  ??? [0x1037a63]
          1  ??? [0x1040052]
            1  ??? [0x100ad98]
              1  ??? [0x100abdd]
                1  ??? [0x102f94c]
                  1  ??? [0x10523a9]
                    1  ??? [0x1061eed]
                      1  ??? [0x1064614]
                        1  __psynch_cvwait + 10 (libsystem_kernel.dylib + 14546) [0x7fff203b98d2]

  Binary Images:
             0xf7f8000 -          0xf8d3fff  dyld (832.7.1)                            <539D3026-8947-3C75-8C34-19A54BF674AB>  /usr/lib/dyld
        0x7fff203b6000 -     0x7fff203e4fff  libsystem_kernel.dylib (7195.60.70.111.1) <46413B30-E4F8-37D8-90F6-CB27202A5E9B>  /usr/lib/system/libsystem_kernel.dylib
        0x7fff203e5000 -     0x7fff203f0fff  libsystem_pthread.dylib (454.40.3)        <3D666D7B-45F6-314D-9022-2637082A19EF>  /usr/lib/system/libsystem_pthread.dylib


qv2ray的:
Date/Time:        2020-11-20 10:08:39.505 +0800
End time:         2020-11-20 10:08:42.935 +0800
OS Version:       macOS 11.1 (Build 20C5048k)
Architecture:     x86_64h
Report Version:   32

Data Source:      KPerf Lightweight PET
Shared Cache:     BB445AD2-5E1A-3570-9A06-F83464F26516 slid base address 0x7fff2009a000, slide 0x9a000
Reason:           Slow response to HID event

Command:          qv2ray
Path:             /Applications/qv2ray.app/Contents/MacOS/qv2ray
Identifier:       com.github.qv2ray
Version:          2.7.0-pre1 (2.7.0-pre1)
PID:              2946
Time Since Fork:  2663s

Event:            spin-lite
Duration:         3.45s
Steps:            344 (10ms sampling interval)
Report threshold: 0.5s

Hardware model:   MacBookPro11,4
Active cpus:      8

Time Awake Since Boot: 2844s


Heaviest stack for the main thread of the target process:
  344  start + 1 (libdyld.dylib + 87585) [0x7fff203c3621]
  344  main + 1127 (qv2ray + 99479) [0x1049bf497]
  344  Qv2ray::Qv2rayWidgetApplication::runQv2rayInternal() + 2095 (qv2ray + 184447) [0x1049d407f]
  344  QCoreApplication::exec() + 130 (QtCore + 2065266) [0x106702372]
  344  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (QtCore + 2047503) [0x1066fde0f]
  344  ??? (libqcocoa.dylib + 233935) [0x10895d1cf]
  343  -[NSApplication run] + 586 (AppKit + 195209) [0x7fff22ca5a89]
  343  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366 (AppKit + 251243) [0x7fff22cb356b]
  343  _DPSNextEvent + 883 (AppKit + 257445) [0x7fff22cb4da5]
  343  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 201151) [0x7fff287181bf]
  343  ReceiveNextEventCommon + 283 (HIToolbox + 201458) [0x7fff287182f2]
  343  RunCurrentEventLoopInMode + 292 (HIToolbox + 202400) [0x7fff287186a0]
  343  CFRunLoopRunSpecific + 563 (CoreFoundation + 521934) [0x7fff2049e6ce]
  342  __CFRunLoopRun + 890 (CoreFoundation + 524577) [0x7fff2049f121]
  342  __CFRunLoopDoSources0 + 248 (CoreFoundation + 530159) [0x7fff204a06ef]
  342  __CFRunLoopDoSource0 + 180 (CoreFoundation + 530804) [0x7fff204a0974]
  342  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 530956) [0x7fff204a0a0c]
  342  ??? (libqcocoa.dylib + 238952) [0x10895e568]
  342  ??? (libqcocoa.dylib + 237049) [0x10895ddf9]
  342  QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 809 (QtCore + 2068649) [0x1067030a9]
  342  QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (QtCore + 2063716) [0x106701d64]
  342  QApplication::notify(QObject*, QEvent*) + 598 (QtWidgets + 74870) [0x10585b476]
  342  QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 (QtWidgets + 69610) [0x105859fea]
  342  QObject::event(QEvent*) + 943 (QtCore + 2240239) [0x10672ceef]
  342  QAction::activate(QAction::ActionEvent) + 310 (QtWidgets + 31158) [0x1058509b6]
  342  void doActivate<false>(QObject*, int, void**) + 1157 (QtCore + 2274021) [0x1067352e5]
  342  Qv2ray::core::handler::QvConfigHandler::StartConnection(Qv2ray::base::ConnectionGroupPair const&) + 325 (qv2ray + 1478085) [0x104b0fdc5]
  148  Qv2ray::core::handler::KernelInstanceHandler::StartConnection(Qv2ray::base::ConnectionGroupPair const&, SAFETYPE_IMPL<Qv2ray::base::safetype::__CONFIGROOT__, QJsonObject>) + 5468 (qv2ray + 1525068) [0x104b1b54c]
  148  Qv2ray::core::handler::KernelInstanceHandler::OnConnected(Qv2ray::base::ConnectionGroupPair const&) + 52 (qv2ray + 1080548) [0x104aaece4]
  148  void doActivate<false>(QObject*, int, void**) + 1157 (QtCore + 2274021) [0x1067352e5]
  148  Qv2ray::core::handler::QvConfigHandler::OnConnected(Qv2ray::base::ConnectionGroupPair const&) + 55 (qv2ray + 1079239) [0x104aae7c7]
  148  void doActivate<false>(QObject*, int, void**) + 1157 (QtCore + 2274021) [0x1067352e5]
  147  MainWindow::OnConnected(Qv2ray::base::ConnectionGroupPair const&) + 1628 (qv2ray + 658076) [0x104a47a9c]
  147  MainWindow::MWSetSystemProxy() + 965 (qv2ray + 702261) [0x104a52735]
  25   Qv2ray::components::proxy::SetSystemProxy(QString const&, int, int) + 2304 (qv2ray + 1250144) [0x104ad8360]
  21   QProcess::execute(QString const&, QStringList const&) + 185 (QtCore + 1557865) [0x106686569]
  21   QProcessPrivate::waitForFinished(int) + 458 (QtCore + 1575418) [0x10668a9fa]
  21   _sigtramp + 0 (libsystem_platform.dylib + 15712) [0x7fff203ecd60]
 *21   unix_syscall64 + 635 (kernel + 7677387) [0xffffff80009625cb]
 *21   poll_nocancel + 1056 (kernel + 6696000) [0xffffff8000872c40]
 *21   kqueue_scan + 2489 (kernel + 6364249) [0xffffff8000821c59]
 *21   thread_block_reason + 175 (kernel + 811455) [0xffffff80002d61bf]


Process:          qv2ray (Qv2ray) [2946] Thread 0x40c0
UUID:             9F2D2C30-550B-36FF-B48E-DE03B9A67B1D
App Version:      2.7.0-pre1
Build Version:    2.7.0-pre1
Path:             /Applications/qv2ray.app/Contents/MacOS/qv2ray
Architecture:     x86_64
Footprint:        56.71 MB
Time Since Fork:  2663s
Num samples:      344 (1-344)
CPU Time:         0.181s (552.1M cycles, 393.3M instructions, 1.40c/i)
Note:             22 other threads omitted

  Thread 0x40c0    DispatchQueue "com.apple.main-thread"(1)    344 samples (1-344)    priority 46 (base 46)    cpu time 0.161s (496.3M cycles, 369.6M instructions, 1.34c/i)
  <thread QoS user interactive (requested user interactive), process unclamped, IO tier 0>
  344  start + 1 (libdyld.dylib + 87585) [0x7fff203c3621] 1-344
    344  main + 1127 (qv2ray + 99479) [0x1049bf497] 1-344
      344  Qv2ray::Qv2rayWidgetApplication::runQv2rayInternal() + 2095 (qv2ray + 184447) [0x1049d407f] 1-344
        344  QCoreApplication::exec() + 130 (QtCore + 2065266) [0x106702372] 1-344
          344  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (QtCore + 2047503) [0x1066fde0f] 1-344
            344  ??? (libqcocoa.dylib + 233935) [0x10895d1cf] 1-344
              1    -[NSApplication run] + 636 (AppKit + 195259) [0x7fff22ca5abb] 1
                1    -[NSAutoreleasePool drain] + 129 (Foundation + 212481) [0x7fff211fee01] 1
                  1    _CFAutoreleasePoolPop + 22 (CoreFoundation + 270832) [0x7fff204611f0] 1
                    1    objc_autoreleasePoolPop + 161 (libobjc.A.dylib + 33598) [0x7fff2024733e] 1
                      1    AutoreleasePoolPage::releaseUntil(objc_object**) + 167 (libobjc.A.dylib + 152477) [0x7fff2026439d] 1
                        1    -[NSMenuWindowManagerWindow dealloc] + 157 (AppKit + 7006517) [0x7fff23324935] 1
                          1    -[NSWindow dealloc] + 1073 (AppKit + 2946826) [0x7fff22f4570a] 1
                            1    -[NSNextStepFrame dealloc] + 79 (AppKit + 2951375) [0x7fff22f468cf] 1
                              1    -[NSView dealloc] + 119 (AppKit + 583316) [0x7fff22d04694] 1
                                1    -[NSView _finalize] + 965 (AppKit + 584597) [0x7fff22d04b95] 1
                                  1    -[NSView removeFromSuperviewWithoutNeedingDisplay] + 36 (AppKit + 1083229) [0x7fff22d7e75d] 1
                                    1    -[NSView removeFromSuperview] + 140 (AppKit + 558525) [0x7fff22cfe5bd] 1
                                      1    -[NSView _setSuperview:] + 1363 (AppKit + 398237) [0x7fff22cd739d] 1
                                        1    -[NSView _viewDidChangeAppearance:] + 252 (AppKit + 405839) [0x7fff22cd914f] 1
                                          1    -[NSView effectiveAppearance] + 187 (AppKit + 406786) [0x7fff22cd9502] 1
                                            1    +[NSCompositeAppearance compositeAppearanceForView:] + 90 (AppKit + 420148) [0x7fff22cdc934] 1
                                              1    -[NSVisualEffectView _preferredAppearance] + 93 (AppKit + 547734) [0x7fff22cfbb96] 1
                                                1    -[NSApplication(NSAppearanceCustomization) effectiveAppearance] + 49 (AppKit + 179994) [0x7fff22ca1f1a] 1
                                                  1    objc_getAssociatedObject + 75 (libobjc.A.dylib + 61450) [0x7fff2024e00a] 1
                                                    1    bool objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object>, objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> >, objc::DenseMapValueInfo<objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> > >, objc::DenseMapInfo<DisguisedPtr<objc_object> >, objc::detail::DenseMapPair<DisguisedPtr<objc_object>, objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> > > >, DisguisedPtr<objc_object>, objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> >, objc::DenseMapValueInfo<objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> > >, objc::DenseMapInfo<DisguisedPtr<objc_object> >, objc::detail::DenseMapPair<DisguisedPtr<objc_object>, objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> > > >::LookupBucketFor<DisguisedPtr<objc_object> >(DisguisedPtr<objc_object> const&, objc::detail::DenseMapPair<DisguisedPtr<objc_object>, objc::DenseMap<void const*, objc::ObjcAssociation, objc::DenseMapValueInfo<objc::ObjcAssociation>, objc::DenseMapInfo<void const*>, objc::detail::DenseMapPair<void const*, objc::ObjcAssociation> > > const*&) const + 183 (libobjc.A.dylib + 143255) [0x7fff20261f97] (running, on cpu 7) 1
              343  -[NSApplication run] + 586 (AppKit + 195209) [0x7fff22ca5a89] 2-344
                343  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366 (AppKit + 251243) [0x7fff22cb356b] 2-344
                  343  _DPSNextEvent + 883 (AppKit + 257445) [0x7fff22cb4da5] 2-344
                    343  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 201151) [0x7fff287181bf] 2-344
                      343  ReceiveNextEventCommon + 283 (HIToolbox + 201458) [0x7fff287182f2] 2-344
                        343  RunCurrentEventLoopInMode + 292 (HIToolbox + 202400) [0x7fff287186a0] 2-344
                          343  CFRunLoopRunSpecific + 563 (CoreFoundation + 521934) [0x7fff2049e6ce] 2-344
                            1    __CFRunLoopRun + 838 (CoreFoundation + 524525) [0x7fff2049f0ed] 2
                              1    __CFRunLoopDoObservers + 549 (CoreFoundation + 527421) [0x7fff2049fc3d] 2
                                1    __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 527789) [0x7fff2049fdad] 2
                                  1    ___NSRunLoopObserverCreateWithHandler_block_invoke + 41 (AppKit + 9508625) [0x7fff23587711] 2
                                    1    __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285 (AppKit + 1847762) [0x7fff22e391d2] 2
                                      1    CA::Transaction::commit() + 1158 (QuartzCore + 8916) [0x7fff26c302d4] 2
                                        1    CA::Layer::free_transaction(CA::Transaction*) + 720 (QuartzCore + 15550) [0x7fff26c31cbe] 2
                                          1    CA::Layer::State::~State() + 49 (QuartzCore + 2012855) [0x7fff26e196b7] 2
                                            1    _CFRelease + 244 (CoreFoundation + 1359090) [0x7fff2056acf2] 2
                                              1    backingStoreFinalize(void const*) + 144 (QuartzCore + 270388) [0x7fff26c70034] 2
                                                1    CA::Render::Shmem::~Shmem() + 14 (QuartzCore + 249158) [0x7fff26c6ad46] 2
                                                  1    CA::Render::Shmem::~Shmem() + 79 (QuartzCore + 249259) [0x7fff26c6adab] 2
                                                    1    _kernelrpc_mach_vm_deallocate_trap + 10 (libsystem_kernel.dylib + 3502) [0x7fff20373dae] 2
                                                     *1    mach_call_munger64 + 627 (kernel + 1813699) [0xffffff80003cacc3] 2
                                                       *1    _kernelrpc_mach_vm_deallocate_trap + 126 (kernel + 610286) [0xffffff80002a4fee] 2
                                                         *1    vm_map_remove + 115 (kernel + 1322915) [0xffffff8000352fa3] 2
                                                           *1    ??? (kernel + 1324629) [0xffffff8000353655] 2
                                                             *1    pmap_remove_options + 502 (kernel + 1796342) [0xffffff80003c68f6] 2
                                                               *1    ??? (kernel + 1793683) [0xffffff80003c5e93] (running, on cpu 4) 2

系统信息

Big Sur 11.1 Beta版(20C5048k)

打开首选项 -> 关于,填写以下信息

版本: 2.7.0-pre1:6039
编译信息:Qv2ray built from Github Action
额外编译信息:qt5.15.0-fa3ead7cdea00bd2ec88146a5ed4dd3e449dff4e-ci.macos-latest

操作系统

  • macOS 11.1

安装来源

  • Github Release / Scoop / Chocolatey

已安装的插件、版本及安装来源

https://github.com/Qv2ray/QvPlugin-Trojan/releases/tag/v3.0.0-pre3
https://github.com/Qv2ray/QvPlugin-SSR/releases/tag/v3.0.0-pre3
https://github.com/Qv2ray/QvPlugin-NaiveProxy/releases/tag/v3.0.0-pre3
https://github.com/Qv2ray/QvPlugin-Trojan-Go/releases/tag/v3.0.0-pre3
https://github.com/Qv2ray/QvPlugin-SS/releases/tag/v3.0.0-pre3
https://github.com/Qv2ray/QvPlugin-Command/releases/tag/v3.0.0-pre3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions