Closed hh closed 8 years ago
I can't reproduce the issue. what's your tmux.conf?
I'm not using one, this is being built from source on a beaglebone black on debian (jesse)
Linux iikeyboard 4.1.12-ti-r26 #1 SMP PREEMPT Fri Oct 30 21:28:17 UTC 2015 armv7l GNU/Linux
On Wed, Feb 24, 2016 at 4:07 PM, Nicolas Viennot notifications@github.com wrote:
I can't reproduce the issue. what's your tmux.conf?
— Reply to this email directly or view it on GitHub https://github.com/tmate-io/tmate/issues/73#issuecomment-188453115.
run with tmate -vvv
. It will output two logs files in the same directory (*.log). Can you show them?
1456349784.585325 fatal: [tmate] Received a bad message
That means that the tmate-slave is probably not up to date.
EDIT: that doesn't make much sense since you are using ssh.tmate.io
For some reason https://github.com/tmate-io/tmate/blob/master/tmate-msgpack.c#L81 is triggered. Not sure why, since the stack trace is empty :(
There's a problem parsing the received messages from tmate-slave. Do you use any funky msgpack version?
I just realized you are running it on ARM. maybe there's some issue with arm?
I think master from https://github.com/msgpack/msgpack-c What version should I target?
that should be fine. I'm going to try to reproduce on ARM.
I'll see if I can install stable alongside this and start up a session :)
I tried on ARM, and it works fine. Here's the build I ran: https://github.com/tmate-io/tmate/releases/download/2.2.0/tmate-2.2.0-static-linux-armv7l.tar.gz Try it and see
I'll give it a go, but I'd like to see if I can debug the build process... are these built on travis with on a particular OS / set of libraries?
they are built with make -f Makefile.static-build
I'm having trouble with invalid opts on cc1plus:
cc1plus: error: unrecognized command line option "-Wno-mismatched-tags" [-Werror]
What OS base, toolchain are you using to build your binaries?
root@iikeyboard:~/tmate# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
/root/tmate/msgpack-1.3.0/include/msgpack/adaptor/int.hpp: In static member function 'static void msgpack::v1::type::detail::object_char_sign<true>::make(msgpack::v1::object&, char)':
/root/tmate/msgpack-1.3.0/include/msgpack/adaptor/int.hpp:73:19: error: comparison is always false due to limited range of data type [-Werror=type-limits]
if (v < 0) {
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-mismatched-tags" [-Werror]
cc1plus: all warnings being treated as errors
example/cpp03/CMakeFiles/class_intrusive.dir/build.make:62: recipe for target 'example/cpp03/CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o' failed
make[3]: *** [example/cpp03/CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o] Error 1
make[3]: Leaving directory '/root/tmate/msgpack-1.3.0/build'
CMakeFiles/Makefile2:417: recipe for target 'example/cpp03/CMakeFiles/class_intrusive.dir/all' failed
make[2]: *** [example/cpp03/CMakeFiles/class_intrusive.dir/all] Error 2
make[2]: Leaving directory '/root/tmate/msgpack-1.3.0/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/tmate/msgpack-1.3.0/build'
Makefile.static-build:42: recipe for target 'ext/lib/libmsgpack.a' failed
make: *** [ext/lib/libmsgpack.a] Error 2
I had to remove that compile option to get msgpack to compile IIRC
Having the same issue today.
same here :-/
Same
@nviennot hey why this issue was closed? Problem is still there for a lot of users, I'd say for everyone using Ubuntu, so why closing it?
I had same problem on Ubuntu 19.10 and installing from source went fine.
Same issue on Ubuntu 19.10
Facing the same issue too. Running Xubuntu
Same here, no fix ? :x after upgrade to Ubuntu 19.10 >_<
Fixed by downloading tmate directly here: https://github.com/tmate-io/tmate/releases
Ubuntu needs to update tmate in their deps.
same on Ubuntu 19.10
Starting with 2.2.0 (and currently in master), tmate crashes without much info:
When I run:
The exit code is 1
The strace is here: