-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
server exited unexpectedly. lost server then running. #3082
Comments
Full stack trace running tmux v 3.2: |
Does this still happen with master? |
Try |
|
strace: |
missclick - closed, reopen now. |
You need to trace the server. The strace log you uploaded only traces the client. Try using |
|
have multiple errors in strace logs files:
command: |
File
All of the syscalls succeeded. The |
Also, the EBADF error from the |
@kasumiru, Those are old issues that have already been resolved. That you wanted to add your own comment about your specific problem is not appropriate. What you tried to do is why @nicm resorted to closing and locking old issues. The correct thing to do is open a new issue, possibly referencing older issues you feel are relevant. |
What does "ls -l /dev/null" show?
…On Thu, 24 Feb 2022, 00:11 Kasumiru, ***@***.***> wrote:
pkill -9 tmux
rm -fr /tmp/tmux-*
lsof | grep -i tmux : just bash direcroty cwd.
***@***.***: tmux # ./tmux -V
tmux next-3.4
strace -ff ./tmux
strace_tmux05.log
<https://github.com/tmux/tmux/files/8128629/strace_tmux05.log>
strace -ff ./tmux .
strace_tmux06.log
<https://github.com/tmux/tmux/files/8128639/strace_tmux06.log>
strace -v -ff ./tmux .
strace_tmux07.log
<https://github.com/tmux/tmux/files/8128642/strace_tmux07.log>
—
Reply to this email directly, view it on GitHub
<#3082 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKI47WNYWNFDXOJA5SYOTU4VZUJANCNFSM5PAVON7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
This strace matches code in glibc's daemon(3) which makes sure |
@krader1961 Thans for this answer, I understood! |
#3082 (comment): |
|
I was compared dev/null from another servers and this server (where tmux does not working).
but |
Minor number 5 is incorrect for /dev/null. It should be 3. Device 1,5 is supposed to be /dev/zero. So the /dev/null device node on your problem system is incorrect (which means other device nodes may also be incorrect). |
oh, You so smart (may be another word .. literate).. ok, now I will read it carefully about it, thank You! |
@krader1961 Thank You very match! now tmux is working, then I fixed dev null: It is not a tmux bug, but hard (and long time) to "find problem""understanding problem". |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
15:49:28-root@prx: ~ # tmux
lost server
15:56:16-root@prx: ~ # tmux -V
tmux 2.8
after build from souce last version:
19:20:54-root@prx: tmux-3.2a # ./tmux -V
tmux 3.2a
19:27:02-root@prx: tmux-3.2a # ./tmux
server exited unexpectedly
4.19.0-8-amd64
VERSION="10 (buster)"
11:33:13-root@prx: tmux-3.2a # tmux kill-server; tmux -vv new
error connecting to /tmp/tmux-0/default (No such file or directory)
server exited unexpectedly
19:43:11-root@prx: tmux-3.2a # uname -sp && tmux -V && echo $TERM
Linux unknown
tmux 3.2a
xterm-256color
Your platform: vps
19:46:49-root@prx: tmux-3.2a # echo $TERM
xterm-256color
19:46:58-root@prx: tmux-3.2a # tmux -Ltest kill-server
error connecting to /tmp/tmux-0/test (No such file or directory)
19:47:21-root@prx: tmux-3.2a # tmux -Ltest -f/dev/null new
server exited unexpectedly
19:47:43-root@prx: tmux-3.2a # tmux -Ltest kill-server
error connecting to /tmp/tmux-0/test (No such file or directory)
19:47:44-root@prx: tmux-3.2a # tmux -vv -Ltest -f/dev/null new
server exited unexpectedly
19:48:03-root@prx: tmux-3.2a # tmux kill-server
error connecting to /tmp/tmux-0/default (No such file or directory)
19:48:04-root@prx: tmux-3.2a # tmux -vv new
server exited unexpectedly
first issue
#2376
solution:
tmux kill-server; tmux -vv new then tmux kill-server
tmux kill-server; tmux -vv new
does not help me.
second issue:
#2469
solution:
Do pkill tmux then tmux -vv -f/dev/null new.
pkill tmux
strace -tt -fostrace.out tmux new
Removing /tmp/tmux-1000/default fixed it for me.
Does not help me.
19:35:26-root@prx: tmux-3.2a # ps auxww | grep -i tmux | grep -v grep
19:35:42-root@prx: tmux-3.2a #
empty.
19:35:43-root@prx: tmux-3.2a # ll /tmp/
total 24K
drwxrwxrwt 2 root root 4.0K 2021.01.09 01:30 .font-unix/
drwxrwxrwt 2 root root 4.0K 2021.01.09 01:30 .ICE-unix/
drwxrwxrwt 2 root root 4.0K 2021.01.09 01:30 .Test-unix/
drwx------ 2 root root 4.0K 2022.02.18 15:55 tmux-0/
drwxrwxrwt 2 root root 4.0K 2021.01.09 01:30 .X11-unix/
drwxrwxrwt 2 root root 4.0K 2021.01.09 01:30 .XIM-unix/
remove:
rm -fr /tmp/tmux-*
and tmux does not running.
19:36:43-root@prx: tmux-3.2a # ./tmux
server exited unexpectedly
11:57:29-root@prx: tmux-3.2a # ldd tmux
linux-vdso.so.1 (0x00007ffc521e8000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fa6b4f6b000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007fa6b4f3d000)
libevent_core-2.1.so.6 => /lib/x86_64-linux-gnu/libevent_core-2.1.so.6 (0x00007fa6b4d06000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa6b4b83000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fa6b4b69000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa6b49a8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa6b4985000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa6b5060000)
11:57:36-root@prx: tmux-3.2a #
Full stack trace running tmux v 3.2:
stack_trace_tmux2.txt
The text was updated successfully, but these errors were encountered: