tmate-io / tmate-ssh-server

tmate SSH server
https://tmate.io
Other
626 stars 146 forks source link

Docker image segfault #104

Open bretello opened 1 year ago

bretello commented 1 year ago

Hello and thanks for this wonderful project.

I've been receiving reports of clients receiving the following error when connecting to a tmate instance: server version is too old for client

Since the docker image hasn't been updated in ~2 years, I decided to build it myself, but building master resulted in the container image immediately crashing on startup with no info being printed.

Digging a bit with gdb results in the following stack trace

Program received signal SIGSEGV, Segmentation fault.
0x00007f6eb319a77d in getframeaddr () from /usr/lib/libexecinfo.so.1
(gdb) bt
#0  0x00007f6eb319a77d in getframeaddr () from /usr/lib/libexecinfo.so.1
#1  0x00007f6eb319a971 in backtrace () from /usr/lib/libexecinfo.so.1
#2  0x000055e2a25f60c1 in tmate_preload_trace_lib () at tmate-debug.c:109
#3  0x000055e2a25c1315 in main (argc=<optimized out>, argv=0x7ffccc1b1108, envp=0x7ffccc1b1128) at tmate-main.c:172