mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #686] Linux server segmentation fault #546
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#546
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 @iczero on GitHub (May 23, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/686
Operating Systems
Server: Ubuntu 20.04
Client: Ubuntu 20.04
Barrier Version
Commit
dbd10820(2.3.2-snapshot)Steps to reproduce bug
The bug seems to occur occasionally, without any noticeable pattern. I haven't been able to explicitly reproduce it yet. However, it has happened at least 50 times already.
Other info
This may be a duplicate of #362, but the error in dmesg was quite different.
Valgrind trace:
gdb backtrace (more or less the same):
edit: installed debug symbols for libx11 and libxi6, updated backtrace
@iczero commented on GitHub (Jun 18, 2020):
It seems this only really happens in conjunction with another issue that seems to affect xinput. I probably have a broken configuration somewhere.
@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.
@iczero commented on GitHub (Aug 1, 2020):
@paul-theorem Are you by chance using ibus?
If it doesn't segfault immediately after launch you could just run the main barrier server process in a while loop, something like:
@paul-theorem commented on GitHub (Aug 2, 2020):
@iczero how do i know if i am using ibus? I'm running xubuntu 20.04. Barrier works fine on xubuntu 18.04. I did post an strace log to the other issue:
https://github.com/debauchee/barrier/issues/362
Both issues seem to mention "bad rip value" which feels like the root cause here.
@definite commented on GitHub (Oct 17, 2021):
It seems to happen in fedora as well
Bug 2006514 - [abrt] barrier: count_bits(): barriers killed by SIGSEGV
The attachment section in the bug have more details.
@iczero I am using IBus, yet the bug does not seem to bit me. :-)
The workaround from #362 is using barriers and barrierc (run as command line).
I do rely on them instead of using GUI.
@paul-theorem IBus is an input method framework, so you probably not using it if you did not use east Asian languages.
@brianjmurrell commented on GitHub (Apr 9, 2023):
What does closing a segfault type of bug as not planned mean exactly?
@iczero commented on GitHub (Apr 9, 2023):
@brianjmurrell No progress has been made on this issue since I've opened it (3 years ago) and it doesn't seem like it's reproducible. If you're still interested then I can reopen the issue.
@brianjmurrell commented on GitHub (Apr 10, 2023):
No, I don't suppose it needs reopening. "Unplanned" just seems an odd category to close such a ticket I suppose. "Cannot reproduce" or something along those lines seems more straight-forward/accurate IMHO. But no matter.
@iczero commented on GitHub (Apr 10, 2023):
The only options I got when closing were "not planned" and "complete". Maybe it's a bug with GitHub? It used to be that you could just close a ticket without giving a reason at all.
@brianjmurrell commented on GitHub (Apr 10, 2023):
Hrm. I see. Thanks for the explanation. That does seem like quite a limited choice to provide if making a choice is required. I wonder if it's worth opening a support ticket with GitHub about.
@iczero commented on GitHub (Apr 10, 2023):
I guess "not planned" is supposed to be the close reason for everything that isn't resolved? Unreproducible ends up being "not planned until someone can reliably get it to crash", perhaps, rather than a strict WONTFIX.