[GH-ISSUE #1365] macOS app crashes when an external display is connected #1065

Open
opened 2026-05-05 07:25:33 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @GasimGasimzada on GitHub (Nov 2, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1365

What happened?

Barrier macOS crashes with no error when a new monitor is connected to Macbook. Reopening the app manually fixes the issue; however, if the Macbook goes to sleep, the app will crash when logging into macOS again.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Installed using Chocolatey on Windows and Homebrew on macOS

What OSes are you seeing the problem on? (Check all that apply)

macOS

What OS versions are you using?

Client: macOS 12 (same issue was on macOS 11 as well)
Server: Windows 10

Relevant log output

No response

Any other information

n/

Originally created by @GasimGasimzada on GitHub (Nov 2, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1365 ### What happened? Barrier macOS crashes with no error when a new monitor is connected to Macbook. Reopening the app manually fixes the issue; however, if the Macbook goes to sleep, the app will crash when logging into macOS again. ### Version v2.3.3 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Installed using Chocolatey on Windows and Homebrew on macOS ### What OSes are you seeing the problem on? (Check all that apply) macOS ### What OS versions are you using? Client: macOS 12 (same issue was on macOS 11 as well) Server: Windows 10 ### Relevant log output _No response_ ### Any other information n/
gitea-mirror added the
bug
label 2026-05-05 07:25:33 -06:00
Author
Owner

@NYR99 commented on GitHub (Nov 3, 2021):

I made a bug report two days ago about Barrier crashing during sleep on my M1 Mac mini, and I have dual monitors, so it is possibly the same problem.

<!-- gh-comment-id:959235797 --> @NYR99 commented on GitHub (Nov 3, 2021): I made a bug report two days ago about Barrier crashing during sleep on my M1 Mac mini, and I have dual monitors, so it is possibly the same problem.
Author
Owner

@adamjrice commented on GitHub (Nov 3, 2021):

I have a similar issue that I suspect is related.

I have Mac and Windows laptops, both connected to an external monitor (Mac via Displayport, Windows via USB-C, fwiw). I'm running the Barrier server on the Mac. If I switch the monitor from the Mac to the Windows machine, Barrier crashes on the Mac.

<!-- gh-comment-id:960185442 --> @adamjrice commented on GitHub (Nov 3, 2021): I have a similar issue that I suspect is related. I have Mac and Windows laptops, both connected to an external monitor (Mac via Displayport, Windows via USB-C, fwiw). I'm running the Barrier server on the Mac. If I switch the monitor from the Mac to the Windows machine, Barrier crashes on the Mac.
Author
Owner

@halterj commented on GitHub (Nov 11, 2021):

I have a TB display connected to my 2021 MBP and a Windows client. I've noticed that sometimes, the windows client seems to 'time out' if I haven't gone over to the client for a while. I have also noticed it when I come back to my desk and the MBP has gone to sleep. I'll have to reload the app on my Mac to get it to reconnect to the Win 10 client.

<!-- gh-comment-id:966448623 --> @halterj commented on GitHub (Nov 11, 2021): I have a TB display connected to my 2021 MBP and a Windows client. I've noticed that sometimes, the windows client seems to 'time out' if I haven't gone over to the client for a while. I have also noticed it when I come back to my desk and the MBP has gone to sleep. I'll have to reload the app on my Mac to get it to reconnect to the Win 10 client.
Author
Owner

@GasimGasimzada commented on GitHub (Jan 25, 2022):

I think I have found the root cause of this issue. I am using Barrier on Macbook Pro. If the Barrier app's window is open on the external monitor, the app will always crash when it comes from sleep. If I move the Barrier app's window to the laptop's own screen, the app does not crash. My guess it that this problem is not related to Barrier's internal functionality but is related to the app window getting confused about its position in the OS "workspace" due to external monitor needing to come back online (it does not immediately come online on Macbook when coming back from sleep mode).

<!-- gh-comment-id:1021291709 --> @GasimGasimzada commented on GitHub (Jan 25, 2022): I think I have found the root cause of this issue. I am using Barrier on Macbook Pro. If the Barrier app's window is open on the external monitor, the app will always crash when it comes from sleep. If I move the Barrier app's window to the laptop's own screen, the app does not crash. My guess it that this problem is not related to Barrier's internal functionality but is related to the app window getting confused about its position in the OS "workspace" due to external monitor needing to come back online (it does not immediately come online on Macbook when coming back from sleep mode).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1065
No description provided.