mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #135] macOS Mojave causes the app not to open #106
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheCire on GitHub (Sep 25, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/135
Operating System
macOS Mojave (10.14)
Barrier Version
2.1
Steps to reproduce bug
Other info
Workaround:
When you first open Barrier on Mojave, enable Accessibility access and then disable then reenable.
(Thank you @stevedrees )
Here's the crash log from Barrier:
Process: barrierc [23037]
Path: /Applications/Barrier.app/Contents/MacOS/barrierc
Identifier: barrier
Version: 2.1.0-RELEASE (2.1.0-RELEASE)
Code Type: X86-64 (Native)
Parent Process: barrier [10145]
Responsible: barrierc [23037]
User ID: 501
Date/Time: 2018-09-07 10:53:54.614 -0700
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 12
Anonymous UUID: 1AD62B37-58F1-A921-33A6-3F10194832A9
Sleep/Wake UUID: 7351C2E9-ED63-4701-89B8-09C728D8C54C
Time Awake Since Boot: 200000 seconds
Time Since Wake: 1000 seconds
System Integrity Protection: enabled
Crashed Thread: 3
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x10:
-->
__TEXT 000000010d425000-000000010d600000 [ 1900K] r-x/rwx SM=COW /Applications/Barrier.app/Contents/MacOS/barrierc
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff73d0120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff73d00724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4bcddff5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff4bcdd347 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff4bcdc9b7 CFRunLoopRunSpecific + 487
5 com.apple.HIToolbox 0x00007fff4afbcd96 RunCurrentEventLoopInMode + 286
6 com.apple.HIToolbox 0x00007fff4afbcb06 ReceiveNextEventCommon + 613
7 com.apple.HIToolbox 0x00007fff4afbc884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff4926da73 _DPSNextEvent + 2085
9 com.apple.AppKit 0x00007fff49a03e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10 com.apple.AppKit 0x00007fff49262885 -[NSApplication run] + 764
11 barrierc 0x000000010d45652e runCocoaApp + 366
12 barrierc 0x000000010d462892 ClientApp::mainLoop() + 194
13 barrierc 0x000000010d462bd6 ClientApp::runInner(int, char**, ILogOutputter*, int (*)(int, char**)) + 358
14 barrierc 0x000000010d45d8f0 App::run(int, char**) + 96
15 barrierc 0x000000010d42a66e main + 110
16 libdyld.dylib 0x00007fff73bba015 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff73d0b28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff73ed2009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff73ed1be9 start_wqthread + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff73d0b03a __sigwait + 10
1 libsystem_pthread.dylib 0x00007fff73ed4ad9 sigwait + 61
2 barrierc 0x000000010d42d522 ArchMultithreadPosix::threadSignalHandler(void*) + 98
3 libsystem_pthread.dylib 0x00007fff73ed2661 _pthread_body + 340
4 libsystem_pthread.dylib 0x00007fff73ed250d _pthread_start + 377
5 libsystem_pthread.dylib 0x00007fff73ed1bf9 thread_start + 13
Thread 3 Crashed:
0 libsystem_pthread.dylib 0x00007fff73ed034c pthread_mutex_lock + 0
1 com.apple.CoreFoundation 0x00007fff4bcdb183 CFRunLoopSourceSignal + 51
2 com.apple.HIToolbox 0x00007fff4afbdc51 PostEventToQueueInternal + 712
3 com.apple.HIToolbox 0x00007fff4afbd95b PostEventToQueue + 104
4 barrierc 0x000000010d452bd7 OSXEventQueueBuffer::addEvent(unsigned int) + 71
5 barrierc 0x000000010d431aa4 EventQueue::addEventToBuffer(Event const&) + 164
6 barrierc 0x000000010d44e54e TCPSocket::sendConnectionFailedEvent(char const*) + 254
7 barrierc 0x000000010d44eaf6 TCPSocket::serviceConnecting(ISocketMultiplexerJob*, bool, bool, bool) + 230
8 barrierc 0x000000010d44b22e SocketMultiplexer::serviceThread(void*) + 1118
9 barrierc 0x000000010d446eb6 Thread::threadFunc(void*) + 118
10 barrierc 0x000000010d42d650 ArchMultithreadPosix::doThreadFunc(ArchThreadImpl*) + 64
11 barrierc 0x000000010d42cccd ArchMultithreadPosix::threadFunc(void*) + 45
12 libsystem_pthread.dylib 0x00007fff73ed2661 _pthread_body + 340
13 libsystem_pthread.dylib 0x00007fff73ed250d _pthread_start + 377
14 libsystem_pthread.dylib 0x00007fff73ed1bf9 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff73d0120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff73d00724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4bcddff5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff4bcdd347 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff4bcdc9b7 CFRunLoopRunSpecific + 487
5 com.apple.CoreFoundation 0x00007fff4bd1ae23 CFRunLoopRun + 99
6 barrierc 0x000000010d4583fb OSXScreen::watchSystemPowerThread(void*) + 363
7 barrierc 0x000000010d446eb6 Thread::threadFunc(void*) + 118
8 barrierc 0x000000010d42d650 ArchMultithreadPosix::doThreadFunc(ArchThreadImpl*) + 64
9 barrierc 0x000000010d42cccd ArchMultithreadPosix::threadFunc(void*) + 45
10 libsystem_pthread.dylib 0x00007fff73ed2661 _pthread_body + 340
11 libsystem_pthread.dylib 0x00007fff73ed250d _pthread_start + 377
12 libsystem_pthread.dylib 0x00007fff73ed1bf9 thread_start + 13
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff73d0120a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff73d00724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4bcddff5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff4bcdd347 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff4bcdc9b7 CFRunLoopRunSpecific + 487
5 com.apple.AppKit 0x00007fff493aafc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff73ed2661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff73ed250d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff73ed1bf9 thread_start + 13
Thread 6:
0 libsystem_pthread.dylib 0x00007fff73ed1bdc start_wqthread + 0
Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x00007fffa5c62800 rbx: 0x0000000000000010 rcx: 0x0000000000000001 rdx: 0x0000000063667479
rdi: 0x0000000000000010 rsi: 0x0000000000000000 rbp: 0x0000700001bdbb90 rsp: 0x0000700001bdbb78
r8: 0x0000000000000008 r9: 0x0000700001bdbbb0 r10: 0x0000000000000008 r11: 0x0000000000000000
r12: 0x0000000000000001 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x00007fcc8781b940
rip: 0x00007fff73ed034c rfl: 0x0000000000010246 cr2: 0x0000000000000010
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14
Binary Images:
0x10d425000 - 0x10d5ff7d7 +barrierc (0) <80B32D45-8CD1-3A4F-A7F5-9F51BE12DB8D> /Applications/Barrier.app/Contents/MacOS/barrierc
*** rest removed for brevity ***
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
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: 111848
thread_create: 0
thread_set_state: 0
@AdrianKoshka commented on GitHub (Sep 26, 2018):
going to tag @p12tic here, mostly because they're more knowledgeable about macOS.
@stevedrees commented on GitHub (Sep 26, 2018):
I removed Accessibility rights for barrier and restored them. That allowed barrier to open for me.
@AdrianKoshka commented on GitHub (Sep 26, 2018):
So can this issue be closed?
@stevedrees commented on GitHub (Sep 26, 2018):
I defer to @TheCire. I only know it fixed my issue, which seemed to be the same one.
@TheCire commented on GitHub (Sep 27, 2018):
Yes it worked! thank you so much i was using ShareMouse and the keyboard is really crappy (when on a client machine) thank you thank you thank you!
Im unsure of how to close an issue so if some one wants to do it, they can :)
Or should it stay as a bug since it does prevent opening?