mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #362] Segmentation Fault on Linux server #286
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#286
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 @jasuka on GitHub (Jul 11, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/362
Operating Systems
Server: Arch Linux / SDDM / Plasma Desktop 5.16.2
Client: Windows 10
2.3.0
Steps to reproduce bug
Other info
barrier.log
[157509.250357] barriers[15154]: segfault at e861 ip 000000000000e861 sp 00007ffc63f4cf68 error 14 in barriers[5558f6191000+18000]
[157509.250362] Code: Bad RIP value.
[157509.250377] audit: type=1701 audit(1562863395.123:1413): auid=1000 uid=1000 gid=100 ses=2 pid=15154 comm="barriers" exe="/usr/bin/barriers" sig=11 res=1
@shymega commented on GitHub (Aug 11, 2019):
Can you try installing Barrier from the binary releases? I'd like to see if that makes a difference.
Also, can you try pasting into a Gist the output file from the following command (You'll need
straceinstalled; this is available in Arch's repos):strace path/to/barriers > barriers_strace.txt.Thanks!
@paul-theorem commented on GitHub (Jul 27, 2020):
I'm interested in a solution here. I'm using xubuntu 20.04, and i've used snap to install latest stable(2.3.2-13), and edge (2.3.3-2) - both same failure - "segfault at 1a1" ... "Code: Bad RIP value."
I'm happy to install an earlier version. I have had great luck using barrier on xubuntu 18.04, and Mac OS. I've actually become dependent on it. I've been waiting for a fix - but at this point i think i may need to back my desktop off to 18.04 just to get barrier back.
Any workaround is appreciated.
@shymega commented on GitHub (Jul 28, 2020):
Could you do what I said in my previous comment, and grab a strace from Barrier, into a pastebin? Cheers.
@paul-theorem commented on GitHub (Jul 28, 2020):
Yea, i can do that - sadly not until the weekend. I operate out of 2 locations - and the 20.04 server failing is at my other location. That said, i'm very motivated, and happy to run the strace - i'll post here on the weekend.
@paul-theorem commented on GitHub (Aug 2, 2020):
I had to fiddle a bit to save the server config file (Barrier->save configuration) to get barriers to generate the error. But It did finally work. This is the command, and its ultimate output. The log file is attached:
This is the version currently running (I've tried stable and bleeding edge, same result):
Let me know if there is anything else I can give you in terms of debug information.
barriers-strace-badrip.log
@hjcho616 commented on GitHub (Aug 7, 2020):
Not sure if it is the same issue, but I spent some time with gdb and the source code shared here and found that mine was failing due to ipv6 not being enabled in my system. It appears the connectivity between the machines are done through ipv6 only and the exception thrown is EAFNOSUPPORT, 97. The catched exception just deletes the socket, which wasn't created, causing segfault.
At some point of my linux usage ipv6 was recommended to be turned off from using some program... so it was in grub /etc/default/grub. Removing ipv6.disable=1 and update-grub and reboot it is now operational.
@paul-theorem commented on GitHub (Sep 1, 2020):
This is interesting. There are many reasons to disable ipv6 for other reasons. Seems kinda strange for barrier to force ipv6. @shymega - any input here or further debugging from the above log or comment?
@paul-theorem commented on GitHub (Sep 29, 2020):
I can confirm that ubuntu 20.04 only works (non segfault) when ipv6 is NOT disabled via grub as @hjcho616 notes.
@alexpdp7 commented on GitHub (Nov 26, 2020):
In case it helps anyone, running
barriers(orbarrierc) instead of using thebarrierGUI wrapper doesn't seem to present the same issue, but that's a bit inconvenient.@zonywhoop commented on GitHub (Dec 31, 2021):
Running into this same issue on Manjaro 21.2.0 using barrier from Snap. IPv6 in my instance is not fully disabled, but I also have several interfaces that do not have IPv6 and am using kvm and docker so bridge interfaces are also in play.