Open ylluminate opened 3 years ago
There have been multiple reports of barrier server 2.3.3 (macOS) crashing with a segmentation fault. I could add my own crash report, but I'd only add to the list. This keeps happening, several times a day. No pressure, that's not my intent, but please don't close due to inactivity . It would be wonderful if it could be addressed.
I've found that the server frequently crashes when waking the Mac in the morning (Barrier 2.3.3, MacOS 11.2.3 M1). I tried running it in a background terminal and all I got was Segmentation fault: 11
. Crash report is:
Process: barrier [21653]
Path: /Applications/Barrier.app/Contents/MacOS/barrier
Identifier: barrier
Version: 2.3.3-release (2.3.3-release)
Code Type: X86-64 (Translated)
Parent Process: bash [21607]
Responsible: iTerm2 [1087]
User ID: 501
Date/Time: 2021-05-05 09:17:09.769 +0100
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: 2C9074C6-8B6E-891F-AB71-A0F7235D97CF
Sleep/Wake UUID: 980499F7-0E52-4E19-BBC2-ABA81C92B23A
Time Awake Since Boot: 360000 seconds
Time Since Wake: 2 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 0x0000000000000028
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [21653]
VM Regions Near 0x28:
-->
__TEXT 102f37000-103044000 [ 1076K] r-x/r-x SM=COW /Applications/Barrier.app/Contents/MacOS/barrier
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libqcocoa.dylib 0x000000010e15de04 0x10e13d000 + 134660
1 libqcocoa.dylib 0x000000010e15767b 0x10e13d000 + 108155
2 libqcocoa.dylib 0x000000010e157a3f 0x10e13d000 + 109119
3 com.apple.Foundation 0x00007fff21110d6b -[__NSObserver _doit:] + 287
4 com.apple.CoreFoundation 0x00007fff2046f895 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
5 com.apple.CoreFoundation 0x00007fff2050b224 ___CFXRegistrationPost_block_invoke + 49
6 com.apple.CoreFoundation 0x00007fff2050b1a7 _CFXRegistrationPost + 454
7 com.apple.CoreFoundation 0x00007fff20440546 _CFXNotificationPost + 787
8 com.apple.Foundation 0x00007fff210e4abe -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
9 com.apple.AppKit 0x00007fff234764ec -[NSWindow _postWindowDidChangeBackingPropertiesAndDisplayWindowForPreviousBackingScaleFactor:previousColorSpace:] + 192
10 com.apple.AppKit 0x00007fff22e1a50d __67-[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:]_block_invoke + 552
11 com.apple.AppKit 0x00007fff22c1fd0e NSPerformVisuallyAtomicChange + 132
12 com.apple.AppKit 0x00007fff22e1a2df -[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:] + 69
13 com.apple.AppKit 0x00007fff22fab11b -[NSWindow _screenChanged:] + 176
14 com.apple.AppKit 0x00007fff22fab04f -[NSWindow _displayChangedSoAdjustWindows:] + 140
15 com.apple.AppKit 0x00007fff236f4f41 ___NSApplicationPerformScreenInvalidationReactions_block_invoke + 72
16 com.apple.AppKit 0x00007fff22bc7c5d -[NSApplication enumerateWindowsWithOptions:usingBlock:] + 280
17 com.apple.AppKit 0x00007fff236f48f8 ___NSApplicationReactToScreenInvalidation_block_invoke + 708
18 com.apple.AppKit 0x00007fff236f438e _NSApplicationReactToScreenInvalidation + 129
19 com.apple.AppKit 0x00007fff236f45b4 -[NSApplication(ScreenHandling) _reactToDisplayChanges:] + 371
20 com.apple.AppKit 0x00007fff232bd59e _NSCGSDisplayConfigurationUpdateAndInvokeObservers + 441
21 com.apple.AppKit 0x00007fff232bd8bb _NSCGSDisplayConfigurationDidReconfigureNotificationHandler + 287
22 com.apple.SkyLight 0x00007fff24b3add5 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 1071
23 com.apple.SkyLight 0x00007fff24ddcda0 CGSDatagramReadStream::dispatchMainQueueDatagrams() + 202
24 com.apple.SkyLight 0x00007fff24ddccc7 invocation function for block in CGSDatagramReadStream::mainQueueWakeup() + 18
25 libdispatch.dylib 0x00007fff201d55dd _dispatch_call_block_and_release + 12
26 libdispatch.dylib 0x00007fff201d67c7 _dispatch_client_callout + 8
27 libdispatch.dylib 0x00007fff201e2b86 _dispatch_main_queue_callback_4CF + 940
28 com.apple.CoreFoundation 0x00007fff204b7356 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
29 com.apple.CoreFoundation 0x00007fff20479188 __CFRunLoopRun + 2745
30 com.apple.CoreFoundation 0x00007fff20477fe2 CFRunLoopRunSpecific + 567
31 com.apple.HIToolbox 0x00007fff28946630 RunCurrentEventLoopInMode + 292
32 com.apple.HIToolbox 0x00007fff2894642c ReceiveNextEventCommon + 709
33 com.apple.HIToolbox 0x00007fff2894614f _BlockUntilNextEventMatchingListInModeWithFilter + 64
34 com.apple.AppKit 0x00007fff22bcd9b1 _DPSNextEvent + 883
35 com.apple.AppKit 0x00007fff22bcc177 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
36 com.apple.AppKit 0x00007fff22bbe68a -[NSApplication run] + 586
37 libqcocoa.dylib 0x000000010e17533c 0x10e13d000 + 230204
38 org.qt-project.QtCore 0x000000010d5a375f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
39 org.qt-project.QtCore 0x000000010d5a7b62 QCoreApplication::exec() + 130
40 barrier 0x0000000102f78827 main + 1175
41 libdyld.dylib 0x00007fff2039d621 start + 1
Thread 1:: com.apple.CFSocket.private
0 ??? 0x00007ffe96396ab8 ???
1 libsystem_kernel.dylib 0x00007fff203561fe __select + 10
2 libsystem_pthread.dylib 0x00007fff20382950 _pthread_start + 224
3 libsystem_pthread.dylib 0x00007fff2037e47b thread_start + 15
Thread 2:: com.apple.rosetta.exceptionserver
0 runtime 0x00007ffdffdf9238 0x7ffdffdf7000 + 8760
1 runtime 0x00007ffdffe03354 0x7ffdffdf7000 + 50004
2 runtime 0x00007ffdffe041f8 0x7ffdffdf7000 + 53752
Thread 3:: com.apple.NSEventThread
0 ??? 0x00007ffe96396ab8 ???
1 libsystem_kernel.dylib 0x00007fff2034de7e mach_msg_trap + 10
2 com.apple.SkyLight 0x00007fff24b38d5a CGSSnarfAndDispatchDatagrams + 169
3 com.apple.SkyLight 0x00007fff24dd8e86 SLSGetNextEventRecordInternal + 278
4 com.apple.SkyLight 0x00007fff24c2fc79 SLEventCreateNextEvent + 9
5 com.apple.HIToolbox 0x00007fff2895372b PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 45
6 com.apple.HIToolbox 0x00007fff289536c6 MessageHandler(__CFMachPort*, void*, long, void*) + 48
7 com.apple.CoreFoundation 0x00007fff204a7066 __CFMachPortPerform + 250
8 com.apple.CoreFoundation 0x00007fff2047aab4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 com.apple.CoreFoundation 0x00007fff2047a996 __CFRunLoopDoSource1 + 622
10 com.apple.CoreFoundation 0x00007fff2047903f __CFRunLoopRun + 2416
11 com.apple.CoreFoundation 0x00007fff20477fe2 CFRunLoopRunSpecific + 567
12 com.apple.AppKit 0x00007fff22d537c6 _NSEventThread + 124
13 libsystem_pthread.dylib 0x00007fff20382950 _pthread_start + 224
14 libsystem_pthread.dylib 0x00007fff2037e47b thread_start + 15
Thread 4:
0 runtime 0x00007ffdffe5199c 0x7ffdffdf7000 + 371100
Thread 5:
0 runtime 0x00007ffdffe5199c 0x7ffdffdf7000 + 371100
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff2021ebc0 rcx: 0x0100000000000000 rdx: 0x043dffff8840ce01
rdi: 0x0000000000000000 rsi: 0x00007f8677449350 rbp: 0x000000030a1ddf40 rsp: 0x000000030a1ddf40
r8: 0x00007f86775315d0 r9: 0x000000030a1de198 r10: 0x00007fff8840ce00 r11: 0x00007fff21110c4c
r12: 0x00007f8677523f90 r13: 0x00007f868750b590 r14: 0x00007f867750f080 r15: 0x00007f867750f0e0
rip: 0x000000010e15de04 rfl: 0x0000000000000242
Binary Images:
0x102f37000 - 0x103043fff +barrier (2.3.3-release - 2.3.3-release) <1E5ADB27-5B3F-3D9C-A1AB-9A4122C482B8> /Applications/Barrier.app/Contents/MacOS/barrier
0x10b3ab000 - 0x10b7f6fff +org.qt-project.QtWidgets (5.15 - 5.15.0) <CADDCF3F-5A20-317B-9B5F-0FD958B44042> /Applications/Barrier.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
0x10c16d000 - 0x10c27dfff +org.qt-project.QtNetwork (5.15 - 5.15.0) <5CBA58FE-7CE1-30A8-B267-C9398CF0D9BE> /Applications/Barrier.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
0x10c4e3000 - 0x10c9d4fff +org.qt-project.QtGui (5.15 - 5.15.0) <BBABAD94-6E6E-3538-8992-9679A1A744D3> /Applications/Barrier.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
0x10d3b6000 - 0x10d909fff +org.qt-project.QtCore (5.15 - 5.15.0) <960BF818-5053-34BC-B2F7-ACF2662E55C7> /Applications/Barrier.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
....
....
0x7fff6e1fe000 - 0x7fff6e256fff com.apple.opencl (4.5 - 4.5) <40B70A3B-D981-3E4A-9BEC-F22EF84118F5> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff6f2d5000 - 0x7fff6f2dcfff com.apple.agl (3.3.4 - AGL-3.3.3) <25240534-44D6-3350-9C56-0D0CEAC3830B> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x7fff70467000 - 0x7fff70471fff com.apple.AccessibilityBundles (1.0 - 173) <76F01EE4-1FEA-3334-B8B1-C1390A2C4F21> /System/Library/PrivateFrameworks/AccessibilityBundles.framework/Versions/A/AccessibilityBundles
0x7fff783c3000 - 0x7fff783cafff libRosetta.dylib (203.30) <44C477D9-013F-3A6D-A9FE-68A89214E6A5> /usr/lib/libRosetta.dylib
Translated Code Information:
tmp0: 0x000000010e15766b tmp1: 0x000000010e15766b tmp2: 0x000000010e15767b
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 94
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 367741
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=751.0M resident=0K(0%) swapped_out_or_unallocated=751.0M(100%)
Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 2016K 6
CG image 76K 19
CoreAnimation 40K 8
CoreGraphics 16K 3
CoreUI image data 864K 14
Dispatch continuations 64.0M 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 146.2M 47
MALLOC guard page 192K 8
MALLOC_MEDIUM (reserved) 840.0M 7 reserved VM address space (unallocated)
Rosetta Arena 2048K 1
Rosetta Generic 744K 183
Rosetta IndirectBranch 1024K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 120K 12
Rosetta Thread Context 120K 12
STACK GUARD 8K 2
Stack 10.0M 5
Stack Guard 56.0M 3
VM_ALLOCATE 3280K 57
VM_ALLOCATE (reserved) 16K 2 reserved VM address space (unallocated)
__CTF 759 1
__DATA 14.8M 340
__DATA_CONST 12.1M 175
__DATA_DIRTY 547K 99
__FONT_DATA 4K 1
__LINKEDIT 509.8M 30
__OBJC_RO 60.6M 1
__OBJC_RW 2449K 2
__TEXT 241.3M 339
__UNICODE 588K 1
mapped file 4.3G 454
shared memory 64K 4
unshared pmap 8544K 5
=========== ======= =======
TOTAL 6.4G 1849
TOTAL, minus reserved VM space 5.5G 1849
To update: This is somewhat reliably happening almost every time I wake from sleep
On macOS 10.15.7 after starting up
barrier
for the first time and configuring it I received a crash report forbarriers
and while it appears that the process was restarted automatically, I thought I should document this crash: