Skip to content

Instantly share code, notes, and snippets.

@massemanet massemanet/build.txt
Created Oct 23, 2012

Embed
What would you like to do?
mosh-server strace
bubba(mosh:master)$ ./autogen.sh
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
src/crypto/Makefile.am: installing `./depcomp'
bubba(mosh:master)$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for protoc... /usr/local/bin/protoc
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C++ compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C++ compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C++ compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -Wstack-protector... yes
checking whether C++ compiler accepts -Wstack-protector... yes
checking whether C compiler accepts --param ssp-buffer-size=1... yes
checking whether C++ compiler accepts --param ssp-buffer-size=1... yes
checking whether C compiler accepts -fPIE... yes
checking whether C++ compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE -pie... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... (cached) yes
checking whether C++ compiler accepts -fno-default-inline... yes
checking whether C++ compiler accepts -pipe... yes
checking for library containing utempter_remove_record... no
configure: WARNING: Unable to find libutempter; utmp entries will not be made.
checking for library containing compress... -lz
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int64_t... yes
checking for pid_t... yes
checking for C/C++ restrict keyword... __restrict
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for gettimeofday... yes
checking for setrlimit... yes
checking for inet_ntoa... yes
checking for iswprint... yes
checking for memchr... yes
checking for memset... yes
checking for nl_langinfo... yes
checking for posix_memalign... yes
checking for setenv... yes
checking for setlocale... yes
checking for sigaction... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strtok... yes
checking for strerror... yes
checking for strtol... yes
checking for wcwidth... yes
checking for cfmakeraw... yes
checking for library containing clock_gettime... -lrt
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for TINFO... no
checking for TINFO... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for main in -ltinfo... no
checking for curses.h... (cached) yes
checking for main in -lncurses... yes
checking whether forkpty is declared... no
checking for forkpty in -lutil... yes
checking whether pipe2(..., O_CLOEXEC) is supported... no
checking whether FD_ISSET() argument is const... yes
checking whether __builtin_bswap64 is declared... yes
checking whether __builtin_ctz is declared... yes
checking whether mach_absolute_time is declared... no
checking whether htobe64 is declared... no
checking whether OSSwapHostToBigInt64 is declared... no
configure: WARNING: Unable to find byte swapping functions; using built-in routines.
checking whether IP_MTU_DISCOVER is declared... yes
checking whether IP_RECVTOS is declared... yes
checking whether __STDC_ISO_10646__ is declared... yes
checking whether IUTF8 is declared... yes
checking for protobuf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/crypto/Makefile
config.status: creating src/frontend/Makefile
config.status: creating src/network/Makefile
config.status: creating src/protobufs/Makefile
config.status: creating src/statesync/Makefile
config.status: creating src/terminal/Makefile
config.status: creating src/util/Makefile
config.status: creating scripts/Makefile
config.status: creating src/examples/Makefile
config.status: creating src/tests/Makefile
config.status: creating man/Makefile
config.status: creating conf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
bubba(mosh:master)$ make
[a bunch of compilations like this]
g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/local/include -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -MT userinput.pb.o -MD -MP -MF .deps/userinput.pb.Tpo -c -o userinput.pb.o userinput.pb.cc
[link step like this]
g++ -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -pie -Wl,-z,relro -Wl,-z,now -o mosh-server mosh-server.o ../crypto/libmoshcrypto.a ../network/libmoshnetwork.a ../statesync/libmoshstatesync.a ../terminal/libmoshterminal.a ../util/libmoshutil.a ../protobufs/libmoshprotos.a -lm -lncurses -pthread -L/usr/local/lib -lprotobuf -lpthread -lssl -lcrypto -lutil -lrt -lz
bubba(~:master)$ uname -a
Linux bubba 2.6.16.16 #1 Tue May 16 21:45:07 CEST 2006 armv4tl GNU/Linux
bubba(~:master)$ ldd `which mosh-server`
libncurses.so.5 => /lib/libncurses.so.5 (0x40026000)
libprotobuf.so.7 => /usr/lib/libprotobuf.so.7 (0x40060000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40171000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x4018f000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x401d5000)
libutil.so.1 => /lib/libutil.so.1 (0x40307000)
librt.so.1 => /lib/librt.so.1 (0x40312000)
libz.so.1 => /usr/lib/libz.so.1 (0x40321000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4033e000)
libm.so.6 => /lib/libm.so.6 (0x40433000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x404ab000)
libc.so.6 => /lib/libc.so.6 (0x404bc000)
/lib/ld-linux.so.2 (0x40000000)
libdl.so.2 => /lib/libdl.so.2 (0x405e5000)
$ strace -o trace.out mosh-server new -v
execve("/usr/local/bin/mosh-server", ["mosh-server", "new", "-v"], [/* 22 vars */]) = 0
brk(0) = 0x2a06b000
uname({sys="Linux", node="bubba", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17407, ...}) = 0
mmap2(NULL, 17407, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0h\222\0\0004\0\0\0\270"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=202104, ...}) = 0
mmap2(NULL, 234636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40026000
mprotect(0x40055000, 32768, PROT_NONE) = 0
mmap2(0x4005d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f) = 0x4005d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/v4l/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v4l", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/lib/tls/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/lib/v4l/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v4l", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/lib/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/lib/tls/v4l/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v4l", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/usr/lib/v4l/libprotobuf.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v4l", 0xbee38d60) = -1 ENOENT (No such file or directory)
open("/usr/lib/libprotobuf.so.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\367\3\0004\0\0\0P"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=5979670, ...}) = 0
mmap2(NULL, 1114600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40060000
mprotect(0x40164000, 28672, PROT_NONE) = 0
mmap2(0x4016b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x103) = 0x4016b000
mmap2(0x40170000, 488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40170000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\354F\0\0004\0\0\0\354"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=111324, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
mmap2(NULL, 119312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40171000
mprotect(0x40184000, 28672, PROT_NONE) = 0
mmap2(0x4018b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0x4018b000
mmap2(0x4018d000, 4624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4018d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\344\306\0\0004\0\0\0<"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=254796, ...}) = 0
mmap2(NULL, 286336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4018f000
mprotect(0x401ca000, 28672, PROT_NONE) = 0
mmap2(0x401d1000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0x401d1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\\\327\3\0004\0\0\0\370"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1208840, ...}) = 0
mmap2(NULL, 1252860, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401d5000
mprotect(0x402e8000, 32768, PROT_NONE) = 0
mmap2(0x402f0000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x113) = 0x402f0000
mmap2(0x40304000, 11772, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40304000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\334\t\0\0004\0\0\0\270"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9752, ...}) = 0
mmap2(NULL, 41140, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40307000
mprotect(0x40309000, 28672, PROT_NONE) = 0
mmap2(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40310000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\260\27\0\0004\0\0\0\250"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26496, ...}) = 0
mmap2(NULL, 57856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40312000
mprotect(0x40318000, 28672, PROT_NONE) = 0
mmap2(0x4031f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x4031f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\214\25\0\0004\0\0\0\20"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=86560, ...}) = 0
mmap2(NULL, 118040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40321000
mprotect(0x40336000, 28672, PROT_NONE) = 0
mmap2(0x4033d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0x4033d000
mprotect(0xbee39000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\330\361\3\0004\0\0\0T"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=947596, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40023000
mmap2(NULL, 1002568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4033e000
mprotect(0x4041f000, 28672, PROT_NONE) = 0
mmap2(0x40426000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe0) = 0x40426000
mmap2(0x4042e000, 19528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4042e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\3242\0\0004\0\0\0d"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=456468, ...}) = 0
mmap2(NULL, 487596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40433000
mprotect(0x404a2000, 28672, PROT_NONE) = 0
mmap2(0x404a9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e) = 0x404a9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0<\30\0\0004\0\0\0\240"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=34952, ...}) = 0
mmap2(NULL, 66772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x404ab000
mprotect(0x404b4000, 28672, PROT_NONE) = 0
mmap2(0x404bb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x404bb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0000b\1\0004\0\0\0\340"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1177400, ...}) = 0
mmap2(NULL, 1213256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x404bc000
mprotect(0x405d8000, 28672, PROT_NONE) = 0
mmap2(0x405df000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11b) = 0x405df000
mmap2(0x405e2000, 9032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x405e2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@\n\0\0004\0\0\0\244"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9772, ...}) = 0
mmap2(NULL, 41152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x405e5000
mprotect(0x405e7000, 28672, PROT_NONE) = 0
mmap2(0x405ee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x405ee000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x405f0000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x405f1000
set_tls(0x405f1240, 0x405f1240, 0x674, 0x405f1918, 0x40025044) = 0
mprotect(0x405ee000, 4096, PROT_READ) = 0
mprotect(0x405df000, 4096, PROT_READ) = 0
mprotect(0x404a9000, 4096, PROT_READ) = 0
mprotect(0x40426000, 24576, PROT_READ) = 0
mprotect(0x4031f000, 4096, PROT_READ) = 0
mprotect(0x40310000, 4096, PROT_READ) = 0
mprotect(0x4018b000, 4096, PROT_READ) = 0
mprotect(0x2a000000, 393216, PROT_READ|PROT_WRITE) = 0
mprotect(0x2a000000, 393216, PROT_READ|PROT_EXEC) = 0
mprotect(0x2a067000, 12288, PROT_READ) = 0
mprotect(0x40024000, 4096, PROT_READ) = 0
munmap(0x4001d000, 17407) = 0
set_tid_address(0x405f0e38) = 2331
SYS_338(0x405f0e40, 0xc, 0xffffffec, 0x1, 0x405f1240) = -1 ENOSYS (Function not implemented)
futex(0xbee39844, FUTEX_WAKE_PRIVATE, 1) = -1 ENOSYS (Function not implemented)
rt_sigaction(SIGRTMIN, {0x40175600, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x401751a4, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
futex(0x404bb4a4, FUTEX_WAKE, 2147483647) = 0
brk(0) = 0x2a06b000
brk(0x2a08c000) = 0x2a08c000
futex(0x4042daf0, FUTEX_WAKE, 2147483647) = 0
futex(0x40432bec, FUTEX_WAKE, 2147483647) = 0
futex(0x40432c0c, FUTEX_WAKE, 2147483647) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
geteuid32() = 1001
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 112) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 112) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
read(3, "# /etc/nsswitch.conf\n#\n# Example "..., 4096) = 513
read(3, ""..., 4096) = 0
close(3) = 0
munmap(0x4001d000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17407, ...}) = 0
mmap2(NULL, 17407, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\244\r\0\0004\0\0\0\264"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26388, ...}) = 0
mmap2(NULL, 57956, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x405f2000
mprotect(0x405f8000, 28672, PROT_NONE) = 0
mmap2(0x405ff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x405ff000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\00000\0\0004\0\0\0\24"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75636, ...}) = 0
mmap2(NULL, 116480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40601000
mprotect(0x40613000, 28672, PROT_NONE) = 0
mmap2(0x4061a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x4061a000
mmap2(0x4061c000, 5888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4061c000
close(3) = 0
mprotect(0x4061a000, 4096, PROT_READ) = 0
mprotect(0x405ff000, 4096, PROT_READ) = 0
munmap(0x4001d000, 17407) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17407, ...}) = 0
mmap2(NULL, 17407, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0x\30\0\0004\0\0\0\20"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=38512, ...}) = 0
mmap2(NULL, 70248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4061e000
mprotect(0x40627000, 28672, PROT_NONE) = 0
mmap2(0x4062e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x4062e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0p\30\0\0004\0\0\0\364"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=38484, ...}) = 0
mmap2(NULL, 70348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40630000
mprotect(0x40639000, 28672, PROT_NONE) = 0
mmap2(0x40640000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x40640000
close(3) = 0
mprotect(0x40640000, 4096, PROT_READ) = 0
mprotect(0x4062e000, 4096, PROT_READ) = 0
munmap(0x4001d000, 17407) = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1582, ...}) = 0
mmap2(NULL, 1582, PROT_READ, MAP_SHARED, 3, 0) = 0x4001d000
_llseek(3, 1582, [1582], SEEK_SET) = 0
munmap(0x4001d000, 1582) = 0
close(3) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85991200, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40642000
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x14ed) = 0x4001d000
close(3) = 0
ioctl(0, TIOCGWINSZ, {ws_row=39, ws_col=81, ws_xpixel=0, ws_ypixel=0}) = 0
brk(0x2a0ad000) = 0x2a0ad000
open("/dev/urandom", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbee38d9c) = -1 EINVAL (Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
read(3, "\r%\217kO\255\314\223\365S|\232L\230\356G\10Q\337\307\220\344\265c\344\257$\263-4Hl\242"..., 4096) = 4096
close(3) = 0
munmap(0x4001e000, 4096) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
setsockopt(3, SOL_IP, IP_MTU_DISCOVER, "\0"..., 1) = 0
setsockopt(3, SOL_IP, IP_TOS, "\222"..., 1) = 0
setsockopt(3, SOL_IP, IP_RECVTOS, "\1"..., 1) = 0
clock_gettime(CLOCK_MONOTONIC, {2306, 718081668}) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(60001), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "mosh-server: network.cc:275: Netw"..., 114) = 114
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(2331, 2331, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.