Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

barriers seg faults on start #1283

Open
jbpratt opened this issue Sep 8, 2021 · 6 comments
Open

barriers seg faults on start #1283

jbpratt opened this issue Sep 8, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@jbpratt
Copy link

jbpratt commented Sep 8, 2021

What happened?

On start of the server, it prints many can't read property X on window X debug2 logs then seg faults.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

https://archlinux.org/packages/community/x86_64/barrier/

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

Linux

What OS versions are you using?

Linux server and client both running 2.3.3-release

Relevant log output

/usr/bin/barriers -f --no-tray --debug DEBUG2 --name autumn --enable-crypto --log /var/log/barrier.log --address :24800 -c b.conf
[2021-09-08T13:33:42] DEBUG1: logging to file (/var/log/barrier.log) enabled
[2021-09-08T13:33:42] DEBUG: opening configuration "b.conf"
[2021-09-08T13:33:42] DEBUG: configuration read successfully
[2021-09-08T13:33:42] DEBUG1: starting server
[2021-09-08T13:33:42] DEBUG1: thread 0x00000002 entry
[2021-09-08T13:33:42] DEBUG: XOpenDisplay(":0")
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400063
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00a00001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01600004
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01400001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00800001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01600008
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01400007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02200004
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000003
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01a0000a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02400001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01e00007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0240000b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000010
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000039
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400003c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400004c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400009c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000f5
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04c00001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04200003
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000181
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001db
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001df
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000200
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400025b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000094
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001c4
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000350
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000354
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000324
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02e00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03000000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03200000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03400000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000130
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000ac
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000469
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03a00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03c00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04e00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x05000000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x024000b6
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400064
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400066
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400078
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400098
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040009a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400074
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400072
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006e
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400070
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400076
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000ea
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040007a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400088
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400086
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040007d
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400080
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400082
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400084
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000e0
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008e
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400094
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400092
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400090
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400096
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000f2
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00c0000c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00e00012
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000150
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400050b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02200002
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000516
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000fb
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01000004
[2021-09-08T13:33:42] DEBUG: xscreensaver window: 0x00000000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400063
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00a00001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01600004
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01400001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00800001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01600008
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01400007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02200004
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000003
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01a0000a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02400001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01e00007
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0240000b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000010
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02000068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01200068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000039
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400003c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400004c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400009c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000f5
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04c00001
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04200003
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000181
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001db
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001df
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000200
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400025b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000094
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040001c4
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000350
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000354
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000324
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02e00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03000000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03200000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03400000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000130
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000ac
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000469
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03a00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x03c00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04e00000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x05000000
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x024000b6
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400064
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400066
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400068
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400078
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400098
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040009a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400074
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400072
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040006e
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400070
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400076
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000ea
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040007a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400088
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400086
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040007d
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400080
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400082
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400084
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008a
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000e0
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0040008e
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400094
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400092
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400090
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00400096
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x004000f2
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00c0000c
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x00e00012
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000150
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x0400050b
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x02200002
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x04000516
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x040000fb
[2021-09-08T13:33:42] DEBUG2: can't read property 472 on window 0x01000004
[2021-09-08T13:33:42] DEBUG: screen shape: 0,0 7840x2560 (xinerama)
[2021-09-08T13:33:42] DEBUG: window is 0x01000004
[2021-09-08T13:33:42] DEBUG: adopting new buffer
[2021-09-08T13:33:42] DEBUG: opened display
[2021-09-08T13:33:42] DEBUG1: registered event type error as 4
[2021-09-08T13:33:42] DEBUG1: registered event type suspend as 5
[2021-09-08T13:33:42] DEBUG1: registered event type resume as 6
[2021-09-08T13:33:42] DEBUG1: creating primary screen
Segmentation fault (core dumped)

Any other information

This was working without issue last week (and the past 6 months) but failed to start this morning. I unplugged monitors to do some cleaning and cable management, so maybe that is a cause. I swapped the server and client around, things are working fine to get around this. I have an absolute minimal config (just the single screen name).

@jbpratt jbpratt added the bug Something isn't working label Sep 8, 2021
@SamantazFox
Copy link

pass --address 0.0.0.0:24800 instead, it will solve the problem :)
(And if you use the GUI, specify 0.0.0.0 in the address field in the settings)

@jbpratt
Copy link
Author

jbpratt commented Sep 22, 2021

Woo! @SamantazFox thank you very much! That worked for me 🐱

@jbpratt jbpratt closed this as completed Sep 22, 2021
@SamantazFox
Copy link

Though, I think you can keep this issue open, because the GUI still passes :24800, which crashes the server daemon, while it worked in previous version. Looks like a regression to me.

@Gollum999
Copy link

I am also running into this issue. @SamantazFox's workaround seems to fix it for me, but obviously would be nice if the GUI worked.

I think #596, #1246, #1413, and #1544 are duplicates.

@mmguero
Copy link

mmguero commented May 18, 2022

Same issue for me, I was able to work around it by manually launching barriers and specifying the address but for the server the GUI is unusable (Debian 11 amd64).

@nrnw
Copy link

nrnw commented Nov 21, 2022

pass --address 0.0.0.0:24800 instead, it will solve the problem :) (And if you use the GUI, specify 0.0.0.0 in the address field in the settings)

Works like a charm! Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants