Open bdrewery opened 2 years ago
On a614d117376c87b9375e418c9adb9761bf4c007b Using a newer version of interprocess allows building but it just goes into an infinite loop not being able to connect. I'm not logging a separate bug as I don't know if it is due to using a random version of interprocess.
INFO |zellij_client | 2022-06-09 13:12:22.966 [main ] [zellij-client/src/lib.rs:124]: Starting Zellij client!
INFO |zellij_server | 2022-06-09 13:12:22.976 [main ] [zellij-server/src/lib.rs:194]: Starting Zellij server!
WARN |zellij_utils::ipc | 2022-06-09 13:12:22.979 [router ] [zellij-utils/src/ipc.rs:194]: Error in IpcReceiver.recv(): Io(Os { code: 57, kind: NotConnected, message: "Socket is not connected" })
ERROR |zellij_client | 2022-06-09 13:12:22.980 [router ] [zellij-client/src/lib.rs:291]: Received empty message from server
WARN |zellij_utils::ipc | 2022-06-09 13:12:22.980 [router ] [zellij-utils/src/ipc.rs:194]: Error in IpcReceiver.recv(): Io(Os { code: 57, kind: NotConnected, message: "Socket is not connected" })
ERROR |zellij_client | 2022-06-09 13:12:22.980 [router ] [zellij-client/src/lib.rs:291]: Received empty message from server
WARN |zellij_utils::ipc | 2022-06-09 13:12:22.980 [router ] [zellij-utils/src/ipc.rs:194]: Error in IpcReceiver.recv(): Io(Os { code: 57, kind: NotConnected, message: "Socket is not connected" })
ERROR |zellij_client | 2022-06-09 13:12:22.981 [router ] [zellij-client/src/lib.rs:291]: Received empty message from server
WARN |zellij_utils::ipc | 2022-06-09 13:12:22.981 [router ] [zellij-utils/src/ipc.rs:194]: Error in IpcReceiver.recv(): Io(Os { code: 57, kind: NotConnected, message: "Socket is not connected" })
ERROR |zellij_client | 2022-06-09 13:12:22.981 [router ] [zellij-client/src/lib.rs:291]: Received empty message from server
WARN |zellij_utils::ipc | 2022-06-09 13:12:22.981 [router ] [zellij-utils/src/ipc.rs:194]: Error in IpcReceiver.recv(): Io(Os { code: 57, kind: NotConnected, message: "Socket is not connected" })
ERROR |zellij_client | 2022-06-09 13:12:22.981 [router ] [zellij-client/src/lib.rs:291]: Received empty message from server
From truss
:
78018: connect(5,{ AF_UNIX "/tmp/zellij-0/0.31.0/flippant-self" },106) ERR#2 'No such file or directory'
78021: unlink("/tmp/zellij-0/0.31.0/flippant-self") ERR#2 'No such file or directory'
78021: bind(5,{ AF_UNIX "/tmp/zellij-0/0.31.0/flippant-self" },106) = 0 (0x0)
78021: compat11.stat("/tmp/zellij-0/0.31.0/flippant-self",{ mode=srwxr-xr-x ,inode=9289,size=0,blksize=4096 }) = 0 (0x0)
78021: chmod("/tmp/zellij-0/0.31.0/flippant-self",0700) = 0 (0x0)
It appears to try connecting before the socket is present and then does not retry.
root 78021 1.0 0.0 61284 25928 - SX 13:32 0:00.00 /root/git/zellij/target/debug/zellij --server /tmp/zellij-0/0.31.0/flippant-self
root 78017 55.7 0.0 13136 2952 1 R+ 13:32 0:08.19 truss -f ./target/debug/zellij -d
root 78018 8.4 0.0 76636 28956 1 TX+ 13:32 0:01.08 ./target/debug/zellij -d
# ls /tmp/zellij-0/0.31.0/flippant-self
/tmp/zellij-0/0.31.0/flippant-self=
I'm hitting the same unresolved symbols issue with FreeBSD 13:
FreeBSD nu-minibsd 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
This was reported before in #378 but not fixed directly. interprocess was fixed in ~1.1.2~ https://github.com/kotauskas/interprocess/issues/10 - ~Can the dependency be bumped to 1.1.2?~ 1.1.2 was never released.