Skip to content
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

Segmentation Fault on Ubuntu 16.04 #4

Closed
wette opened this issue Nov 14, 2019 · 11 comments
Closed

Segmentation Fault on Ubuntu 16.04 #4

wette opened this issue Nov 14, 2019 · 11 comments

Comments

@wette
Copy link

wette commented Nov 14, 2019

After compiling pquic on Ubuntu 16.04 using the guide on https://pquic.org/, picoquicdemo quits with a segmentation fault.

The used versions of openssl and libarchive are as follows:
OpenSSL_VERSION: 1.0.2g
libarchive_version: 3.4.0

Server:
$ ./picoquicdemo
Starting PicoQUIC server on port 4443, server name = ::, just_once = 0, hrr= 0, 0 local plugins and 0 both plugins
2701ba8be43457fc: Receiving packet type: 2 (initial), S0, Version ff00000e,
2701ba8be43457fc: <2701ba8be43457fc>, <5d1d9d49b00c3ee9>, Seq: 0, pl: 1187
2701ba8be43457fc: Decrypted 1187 bytes
2701ba8be43457fc: Crypto HS frame, offset 0, length 279: 01000113030373e9...
2701ba8be43457fc: padding, 904 bytes

2701ba8be43457fc: 0.001671 : Connection established, state = 11, from length: 28
2701ba8be43457fc: Client address: ::1, port 53473
2701ba8be43457fc: SNI not received.
2701ba8be43457fc: Received ALPN: hq-14
2701ba8be43457fc: Received transport parameter TLS extension (62 bytes):
2701ba8be43457fc: Proposed version: ff00000e
2701ba8be43457fc: Extension list (56 bytes):
2701ba8be43457fc: Extension type: 0, length 4 (0x0000 / 0x0004), 00200000
2701ba8be43457fc: Extension type: 1, length 4 (0x0001 / 0x0004), 00100000
2701ba8be43457fc: Extension type: 2, length 2 (0x0002 / 0x0002), 4000
2701ba8be43457fc: Extension type: 3, length 2 (0x0003 / 0x0002), 000f
2701ba8be43457fc: Extension type: 5, length 2 (0x0005 / 0x0002), 05a0
2701ba8be43457fc: Extension type: 8, length 2 (0x0008 / 0x0002), 4000
2701ba8be43457fc: Extension type: 10, length 4 (0x000a / 0x0004), 00010063
2701ba8be43457fc: Extension type: 11, length 4 (0x000b / 0x0004), 0000ffff
Segmentation fault (core dumped)

Client:
$ ./picoquicdemo ::1 4443
Starting PicoQUIC connection to server IP = ::1, port = 4443 and 0 local plugins
No server name specified, certificate will not be verified.
2701ba8be43457fc: Sending packet type: 2 (initial), S0, Version ff00000e,
2701ba8be43457fc: <2701ba8be43457fc>, <5d1d9d49b00c3ee9>, Seq: 0, pl: 1187
2701ba8be43457fc: Prepared 1187 bytes
2701ba8be43457fc: Crypto HS frame, offset 0, length 279: 01000113030373e9...
2701ba8be43457fc: padding, 904 bytes

2701ba8be43457fc: Sending 1232 bytes to 0:0:0:0:0:0:0:1 at T=0.001408 (5974cb77c67e0)
pquic/picoquic/sender.c:1331 [retransmit_needed]: 328 <= 1232
pquic/picoquic/sender.c:1400 [retransmit_needed]: Retransmit packet type 2, pc=2, seq = 0, is_client = 1

2701ba8be43457fc: Sending packet type: 2 (initial), S0, Version ff00000e,
2701ba8be43457fc: <2701ba8be43457fc>, <5d1d9d49b00c3ee9>, Seq: 1, pl: 1187
2701ba8be43457fc: Prepared 1187 bytes
2701ba8be43457fc: Crypto HS frame, offset 0, length 279: 01000113030373e9...
2701ba8be43457fc: padding, 904 bytes

2701ba8be43457fc: Sending 1232 bytes to 0:0:0:0:0:0:0:1 at T=1.002702 (5974cb78baf2e)
pquic/picoquic/sender.c:1331 [retransmit_needed]: 328 <= 1232
pquic/picoquic/sender.c:1400 [retransmit_needed]: Retransmit packet type 2, pc=2, seq = 1, is_client = 1

@mpiraux
Copy link
Member

mpiraux commented Nov 14, 2019

Could you run it again with GDB so that we get a trace of the error ?

@wette
Copy link
Author

wette commented Nov 15, 2019

$ gdb picoquicdemo
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from picoquicdemo...done.
(gdb) .
Undefined command: "". Try "help".
(gdb) r
Starting program: /home/wte2hi/ccu/pquic/pquic/picoquicdemo
Starting PicoQUIC server on port 4443, server name = ::, just_once = 0, hrr= 0, 0 local plugins and 0 both plugins
fb8ecbb7dcac182a: Receiving packet type: 2 (initial), S0, Version ff00000e,
fb8ecbb7dcac182a: , <053dd94d458e078f>, Seq: 0, pl: 1187
fb8ecbb7dcac182a: Decrypted 1187 bytes
fb8ecbb7dcac182a: Crypto HS frame, offset 0, length 279: 010001130303e03e...
fb8ecbb7dcac182a: padding, 904 bytes

fb8ecbb7dcac182a: 0.004958 : Connection established, state = 11, from length: 28
fb8ecbb7dcac182a: Client address: ::1, port 21378
fb8ecbb7dcac182a: SNI not received.
fb8ecbb7dcac182a: Received ALPN: hq-14
fb8ecbb7dcac182a: Received transport parameter TLS extension (62 bytes):
fb8ecbb7dcac182a: Proposed version: ff00000e
fb8ecbb7dcac182a: Extension list (56 bytes):
fb8ecbb7dcac182a: Extension type: 0, length 4 (0x0000 / 0x0004), 00200000
fb8ecbb7dcac182a: Extension type: 1, length 4 (0x0001 / 0x0004), 00100000
fb8ecbb7dcac182a: Extension type: 2, length 2 (0x0002 / 0x0002), 4000
fb8ecbb7dcac182a: Extension type: 3, length 2 (0x0003 / 0x0002), 000f
fb8ecbb7dcac182a: Extension type: 5, length 2 (0x0005 / 0x0002), 05a0
fb8ecbb7dcac182a: Extension type: 8, length 2 (0x0008 / 0x0002), 4000
fb8ecbb7dcac182a: Extension type: 10, length 4 (0x000a / 0x0004), 00010063
fb8ecbb7dcac182a: Extension type: 11, length 4 (0x000b / 0x0004), 0000ffff

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000004312c9 in ptls_cipher_init (iv=, ctx=0x6a3000) at /home/wte2hi/ccu/pquic/pquic/../picotls/include/picotls.h:953
#2 picoquic_pn_encrypt (pn_enc=0x6a3000, iv=, output=0x7fffffffcd39, input=0x7fffffffcd39, len=4) at /home/wte2hi/ccu/pquic/pquic/picoquic/tls_api.c:1351
#3 0x00000000004291ac in picoquic_protect_packet (cnx=cnx@entry=0x6a5c00, ptype=ptype@entry=picoquic_packet_initial, bytes=bytes@entry=0x6b0090 "",
path_x=path_x@entry=0x6a4490, sequence_number=, length=194, header_length=29, send_buffer=0x7fffffffcd20 "\377\377", send_buffer_max=1232,
aead_context=0x6a2e60, pn_enc=0x6a3070) at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:601
#4 0x0000000000429652 in finalize_and_protect_packet (cnx=0x6a5c00) at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:849
#5 0x000000000042013e in plugin_run_protoop_internal (cnx=cnx@entry=0x6a5c00, pp=pp@entry=0x7fffffffb960) at /home/wte2hi/ccu/pquic/pquic/picoquic/plugin.c:1140
#6 0x0000000000429c70 in picoquic_finalize_and_protect_packet (cnx=cnx@entry=0x6a5c00, packet=packet@entry=0x6b0040, ret=ret@entry=0, length=length@entry=194,
header_length=29, checksum_overhead=checksum_overhead@entry=16, send_length=0x7fffffffc018, send_buffer=0x7fffffffcd20 "\377\377", send_buffer_max=1232,
path_x=0x6a4490, current_time=1573801527203971) at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:921
#7 0x000000000042cd19 in picoquic_prepare_packet_server_init (cnx=cnx@entry=0x6a5c00, path=path@entry=0x7fffffffc4c0, packet=0x6b0040, current_time=,
send_buffer=0x7fffffffcd20 "\377\377", send_buffer_max=1232, send_length=0x7fffffffc018) at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:2487
#8 0x000000000042ee20 in picoquic_prepare_segment (cnx=cnx@entry=0x6a5c00, path=path@entry=0x7fffffffc4c0, packet=packet@entry=0x6b0040,
current_time=current_time@entry=1573801527203971, send_buffer=, send_buffer_max=send_buffer_max@entry=1536, send_length=0x7fffffffc018)
at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:3352
#9 0x000000000042eeec in picoquic_prepare_packet (cnx=cnx@entry=0x6a5c00, current_time=1573801527203971, send_buffer=send_buffer@entry=0x7fffffffcd20 "\377\377",
send_buffer_max=send_buffer_max@entry=1536, send_length=send_length@entry=0x7fffffffc4d0, path=path@entry=0x7fffffffc4c0)
at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:3421
#10 0x0000000000412983 in quic_server (server_name=server_name@entry=0x45a5f9 "::", server_port=server_port@entry=4443, pem_cert=pem_cert@entry=0x45a5be "certs/cert.pem",
pem_key=pem_key@entry=0x45a5cd "certs/key.pem", just_once=just_once@entry=0, do_hrr=do_hrr@entry=0, cnx_id_callback=0x0, cnx_id_callback_ctx=0x0, reset_seed=0x0,
mtu_max=0, local_plugin_fnames=0x7fffffffd470, local_plugins=0, both_plugin_fnames=0x7fffffffd670, both_plugins=0, F_log=0x7ffff72a1620 <IO_2_1_stdout>,
qlog_filename=0x0) at /home/wte2hi/ccu/pquic/pquic/picoquicfirst/picoquicdemo.c:544
#11 0x0000000000410f15 in main (argc=, argv=) at /home/wte2hi/ccu/pquic/pquic/picoquicfirst/picoquicdemo.c:1568

@mpiraux
Copy link
Member

mpiraux commented Nov 15, 2019

Thanks. Could you post the output of strace as well ?

@wette
Copy link
Author

wette commented Nov 18, 2019

$ strace ./picoquicdemo
execve("./picoquicdemo", ["./picoquicdemo"], [/* 81 vars /]) = 0
brk(NULL) = 0x2148000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/tls/x86_64", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/tls", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/x86_64", 0x7fffb443ffc0) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/usr/local/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=300492, ...}) = 0
mmap(NULL, 300492, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd7679fa000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0PH\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=64384, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f9000
mmap(NULL, 2177344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd76760b000
mprotect(0x7fd767619000, 2097152, PROT_NONE) = 0
mmap(0x7fd767819000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7fd767819000
mmap(0x7fd76781b000, 14656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd76781b000
close(3) = 0
open("/usr/local/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\36\6\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2365952, ...}) = 0
mmap(NULL, 4475776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd7671c6000
mprotect(0x7fd7673e1000, 2093056, PROT_NONE) = 0
mmap(0x7fd7675e0000, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21a000) = 0x7fd7675e0000
mmap(0x7fd767608000, 11136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd767608000
close(3) = 0
open("/usr/local/lib/libarchive.so.13", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220H\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3527848, ...}) = 0
mmap(NULL, 2890608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766f04000
mprotect(0x7fd766fc2000, 2093056, PROT_NONE) = 0
mmap(0x7fd7671c1000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbd000) = 0x7fd7671c1000
close(3) = 0
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p
\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=89696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f8000
mmap(NULL, 2185488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766cee000
mprotect(0x7fd766d04000, 2093056, PROT_NONE) = 0
mmap(0x7fd766f03000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fd766f03000
close(3) = 0
open("/usr/local/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766924000
mprotect(0x7fd766ae4000, 2097152, PROT_NONE) = 0
mmap(0x7fd766ce4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fd766ce4000
mmap(0x7fd766cea000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd766cea000
close(3) = 0
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libunwind.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=51232, ...}) = 0
mmap(NULL, 2207432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766709000
mprotect(0x7fd766715000, 2093056, PROT_NONE) = 0
mmap(0x7fd766914000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7fd766914000
mmap(0x7fd766916000, 57032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd766916000
close(3) = 0
open("/usr/local/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \235\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1566440, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f7000
mmap(NULL, 3675136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766387000
mprotect(0x7fd7664f9000, 2097152, PROT_NONE) = 0
mmap(0x7fd7666f9000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7fd7666f9000
mmap(0x7fd766705000, 13312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd766705000
close(3) = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd766183000
mprotect(0x7fd766186000, 2093056, PROT_NONE) = 0
mmap(0x7fd766385000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fd766385000
close(3) = 0
open("/usr/local/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320 \0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=137400, ...}) = 0
mmap(NULL, 2232456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd765f61000
mprotect(0x7fd765f82000, 2093056, PROT_NONE) = 0
mmap(0x7fd766181000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7fd766181000
close(3) = 0
open("/usr/local/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/liblz4.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=96360, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f6000
mmap(NULL, 2191456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd765d49000
mprotect(0x7fd765d60000, 2093056, PROT_NONE) = 0
mmap(0x7fd765f5f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fd765f5f000
close(3) = 0
open("/usr/local/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=66800, ...}) = 0
mmap(NULL, 2161864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd765b39000
mprotect(0x7fd765b48000, 2093056, PROT_NONE) = 0
mmap(0x7fd765d47000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7fd765d47000
close(3) = 0
open("/usr/local/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\35\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=104864, ...}) = 0
mmap(NULL, 2199848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd76591f000
mprotect(0x7fd765938000, 2093056, PROT_NONE) = 0
mmap(0x7fd765b37000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7fd765b37000
close(3) = 0
open("/usr/local/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\326\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1809656, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f5000
mmap(NULL, 3910072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd765564000
mprotect(0x7fd765715000, 2093056, PROT_NONE) = 0
mmap(0x7fd765914000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b0000) = 0x7fd765914000
mmap(0x7fd76591e000, 2488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd76591e000
close(3) = 0
open("/usr/local/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd76525b000
mprotect(0x7fd765363000, 2093056, PROT_NONE) = 0
mmap(0x7fd765562000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7fd765562000
close(3) = 0
open("/usr/local/lib/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320T\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1636360, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f4000
mmap(NULL, 3750688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd764ec7000
mprotect(0x7fd765046000, 2097152, PROT_NONE) = 0
mmap(0x7fd765246000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17f000) = 0x7fd765246000
mmap(0x7fd765257000, 15136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd765257000
close(3) = 0
open("/usr/local/lib/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libicudata.so.55", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\5\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=25913104, ...}) = 0
mmap(NULL, 28008464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd763410000
mprotect(0x7fd764cc6000, 2093056, PROT_NONE) = 0
mmap(0x7fd764ec5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18b5000) = 0x7fd764ec5000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f3000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f2000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679f0000
arch_prctl(ARCH_SET_FS, 0x7fd7679f07c0) = 0
mprotect(0x7fd766ce4000, 16384, PROT_READ) = 0
mprotect(0x7fd764ec5000, 4096, PROT_READ) = 0
mprotect(0x7fd765562000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd7679ef000
mprotect(0x7fd7666f9000, 40960, PROT_READ) = 0
mprotect(0x7fd766385000, 4096, PROT_READ) = 0
mprotect(0x7fd765246000, 65536, PROT_READ) = 0
mprotect(0x7fd766181000, 4096, PROT_READ) = 0
mprotect(0x7fd765b37000, 4096, PROT_READ) = 0
mprotect(0x7fd765914000, 32768, PROT_READ) = 0
mprotect(0x7fd765d47000, 4096, PROT_READ) = 0
mprotect(0x7fd765f5f000, 4096, PROT_READ) = 0
mprotect(0x7fd766914000, 4096, PROT_READ) = 0
mprotect(0x7fd7675e0000, 114688, PROT_READ) = 0
mprotect(0x7fd7671c1000, 12288, PROT_READ) = 0
mprotect(0x7fd767819000, 4096, PROT_READ) = 0
mprotect(0x674000, 4096, PROT_READ) = 0
mprotect(0x7fd767a44000, 4096, PROT_READ) = 0
munmap(0x7fd7679fa000, 300492) = 0
brk(NULL) = 0x2148000
brk(0x217a000) = 0x217a000
rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPROF, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fd7669594b0}, NULL, 8) = 0
setitimer(ITIMER_PROF, {it_interval={0, 10000}, it_value={0, 10000}}, NULL) = 0
open("/proc/self/auxv", O_RDONLY) = 3
read(3, "!\0\0\0\0\0\0\0\0PU\264\377\177\0\0", 16) = 16
close(3) = 0
open("/sys/devices/system/cpu/cpu0/tsc_freq_khz", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", O_RDONLY) = 3
read(3, "3700000\n", 1023) = 8
close(3) = 0
open("/proc/cpuinfo", O_RDONLY) = 3
read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1023) = 1023
read(3, "hwp_act_window hwp_epp flush_l1d"..., 338) = 338
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "pectre_v2 spec_store_bypass l1tf"..., 990) = 990
read(3, "tpr_shadow vnmi flexpriority ept"..., 531) = 531
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "pectre_v2 spec_store_bypass l1tf"..., 990) = 990
read(3, "tpr_shadow vnmi flexpriority ept"..., 531) = 531
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "pectre_v2 spec_store_bypass l1tf"..., 990) = 990
read(3, "tpr_shadow vnmi flexpriority ept"..., 531) = 531
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "pectre_v2 spec_store_bypass l1tf"..., 990) = 160
read(3, "", 1023) = 0
close(3) = 0
futex(0x7fffb44408b4, FUTEX_WAKE, 1) = 0
futex(0x7fffb44408b4, FUTEX_WAKE_PRIVATE, 1) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
write(1, "Starting PicoQUIC server on port"..., 115Starting PicoQUIC server on port 4443, server name = ::, just_once = 0, hrr= 0, 0 local plugins and 0 both plugins
) = 115
socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 3
setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
setsockopt(3, SOL_IPV6, IPV6_RECVPKTINFO, [1], 4) = 0
setsockopt(3, SOL_IPV6, IPV6_DONTFRAG, [1], 4) = 0
bind(3, {sa_family=AF_INET6, sin6_port=htons(4443), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
setsockopt(4, SOL_IP, IP_PKTINFO, [1], 4) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(4443), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
open("certs/cert.pem", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0664, st_size=1159, ...}) = 0
read(5, "-----BEGIN CERTIFICATE-----\nMIID"..., 4096) = 1159
read(5, "", 4096) = 0
close(5) = 0
open("certs/key.pem", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0664, st_size=1704, ...}) = 0
read(5, "-----BEGIN PRIVATE KEY-----\nMIIE"..., 4096) = 1704
close(5) = 0
getpid() = 21839
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 5
fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
poll([{fd=5, events=POLLIN}], 1, 10) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\327}u^k`\333\262\214o\206\277\22\301F\241 \350\305\231\264\273DT\366\234\250\330\230\337\33c", 32) = 32
close(5) = 0
getuid() = 1000082
open("/usr/lib/ssl/cert.pem", O_RDONLY) = -1 ENOENT (No such file or directory)
select(5, [3 4], NULL, NULL, {10, 0}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
select(5, [3 4], NULL, NULL, {5, 937699}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
select(5, [3 4], NULL, NULL, {5, 271774}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {10, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {10, 0}) = 1 (in [3], left {9, 690093})
fstat(3, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
recvmsg(3, {msg_name(28)={sa_family=AF_INET6, sin6_port=htons(35198), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, msg_iov(1)=[{"\377\377\0\0\16U\305\213%\6D\225\352\315\374\7\256\336\f\347\356\201\0D\267\322\375\250\5\374\200\210"..., 1536}], msg_controllen=40, [{cmsg_len=36, cmsg_level=SOL_IPV6, cmsg_type=50}], msg_flags=0}, 0) = 1232
brk(0x219b000) = 0x219b000
write(1, "c58b25064495eacd: Receiving pack"..., 76c58b25064495eacd: Receiving packet type: 2 (initial), S0, Version ff00000e,
) = 76
write(1, "c58b25064495eacd: <c58b25064"..., 79c58b25064495eacd: , , Seq: 0, pl: 1187
) = 79
write(1, "c58b25064495eacd: Decrypted "..., 43c58b25064495eacd: Decrypted 1187 bytes
) = 43
write(1, "c58b25064495eacd: Crypto HS "..., 81c58b25064495eacd: Crypto HS frame, offset 0, length 279: 01000113030306d6...
) = 81
write(1, "c58b25064495eacd: padding, 9"..., 41c58b25064495eacd: padding, 904 bytes
) = 41
write(1, "\n", 1
) = 1
write(1, "c58b25064495eacd: 0.001509 : Con"..., 81c58b25064495eacd: 0.001509 : Connection established, state = 11, from length: 28
) = 81
write(1, "c58b25064495eacd: Client address"..., 50c58b25064495eacd: Client address: ::1, port 32393
) = 50
write(1, "c58b25064495eacd: SNI not receiv"..., 36c58b25064495eacd: SNI not received.
) = 36
write(1, "c58b25064495eacd: Received ALPN:"..., 39c58b25064495eacd: Received ALPN: hq-14
) = 39
write(1, "c58b25064495eacd: Received trans"..., 73c58b25064495eacd: Received transport parameter TLS extension (62 bytes):
) = 73
write(1, "c58b25064495eacd: Proposed versi"..., 45c58b25064495eacd: Proposed version: ff00000e
) = 45
write(1, "c58b25064495eacd: Extension "..., 49c58b25064495eacd: Extension list (56 bytes):
) = 49
write(1, "c58b25064495eacd: Extens"..., 82c58b25064495eacd: Extension type: 0, length 4 (0x0000 / 0x0004), 00200000
) = 82
write(1, "c58b25064495eacd: Extens"..., 82c58b25064495eacd: Extension type: 1, length 4 (0x0001 / 0x0004), 00100000
) = 82
write(1, "c58b25064495eacd: Extens"..., 78c58b25064495eacd: Extension type: 2, length 2 (0x0002 / 0x0002), 4000
) = 78
write(1, "c58b25064495eacd: Extens"..., 78c58b25064495eacd: Extension type: 3, length 2 (0x0003 / 0x0002), 000f
) = 78
write(1, "c58b25064495eacd: Extens"..., 78c58b25064495eacd: Extension type: 5, length 2 (0x0005 / 0x0002), 05a0
) = 78
write(1, "c58b25064495eacd: Extens"..., 78c58b25064495eacd: Extension type: 8, length 2 (0x0008 / 0x0002), 4000
) = 78
write(1, "c58b25064495eacd: Extens"..., 83c58b25064495eacd: Extension type: 10, length 4 (0x000a / 0x0004), 00010063
) = 83
write(1, "c58b25064495eacd: Extens"..., 83c58b25064495eacd: Extension type: 11, length 4 (0x000b / 0x0004), 0000ffff
) = 83
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

@mpiraux
Copy link
Member

mpiraux commented Nov 18, 2019

We use OpenSSL 1.1.x actually. Upgrading your lib version might fix this issue. On Ubuntu 16.04, you might have to compile it yourself since there is no official package. I will add this requirement to the doc.

@wette
Copy link
Author

wette commented Nov 18, 2019

Unfortunately, upgrading to OpenSSL 1.1.1 does not help.
I also re-compiled LibArchive to use openSSL 1.1.1.
In this case, the client dies with a segmentation fault before sending any data to the server:
Segfaul occurs in picoTLS line 953, when ctx->do_init(ctx, iv) is called and do_init is NULL.

strace ./picoquicdemo ::1 4443
execve("./picoquicdemo", ["./picoquicdemo", "::1", "4443"], [/* 81 vars /]) = 0
brk(NULL) = 0xe7d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed55e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/lib/tls/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/lib/tls", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/lib/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/tls/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/tls", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive", {st_mode=S_IFDIR|0775, st_size=24576, ...}) = 0
open("tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/tls/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/tls", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/wte2hi/ccu/quic-go/libquic-c", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/usr/local/lib/tls/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7fff4037fc10) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=300492, ...}) = 0
mmap(NULL, 300492, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f30ed514000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libprofiler.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0PH\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=64384, ...}) = 0
mmap(NULL, 2177344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ed126000
mprotect(0x7f30ed134000, 2097152, PROT_NONE) = 0
mmap(0x7f30ed334000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f30ed334000
mmap(0x7f30ed336000, 14656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30ed336000
close(3) = 0
open("/usr/local/ssl/lib/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0p\7\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3419840, ...}) = 0
mmap(NULL, 5178312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ecc35000
mprotect(0x7f30ecef5000, 2097152, PROT_NONE) = 0
mmap(0x7f30ed0f5000, 184320, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c0000) = 0x7f30ed0f5000
mmap(0x7f30ed122000, 13256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30ed122000
close(3) = 0
open("/usr/local/ssl/lib/libarchive.so.17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libarchive.so.17", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220H\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0775, st_size=1039216, ...}) = 0
mmap(NULL, 3050352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ec94c000
mprotect(0x7f30eca31000, 2093056, PROT_NONE) = 0
mmap(0x7f30ecc30000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe4000) = 0x7f30ecc30000
close(3) = 0
open("/usr/local/ssl/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p
\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=89696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed513000
mmap(NULL, 2185488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ec736000
mprotect(0x7f30ec74c000, 2093056, PROT_NONE) = 0
mmap(0x7f30ec94b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f30ec94b000
close(3) = 0
open("/usr/local/ssl/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ec36c000
mprotect(0x7f30ec52c000, 2097152, PROT_NONE) = 0
mmap(0x7f30ec72c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7f30ec72c000
mmap(0x7f30ec732000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30ec732000
close(3) = 0
open("/usr/local/ssl/lib/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libunwind.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=51232, ...}) = 0
mmap(NULL, 2207432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ec151000
mprotect(0x7f30ec15d000, 2093056, PROT_NONE) = 0
mmap(0x7f30ec35c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f30ec35c000
mmap(0x7f30ec35e000, 57032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30ec35e000
close(3) = 0
open("/usr/local/ssl/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \235\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1566440, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed512000
mmap(NULL, 3675136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ebdcf000
mprotect(0x7f30ebf41000, 2097152, PROT_NONE) = 0
mmap(0x7f30ec141000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f30ec141000
mmap(0x7f30ec14d000, 13312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30ec14d000
close(3) = 0
open("/usr/local/ssl/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\35\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=104864, ...}) = 0
mmap(NULL, 2199848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ebbb5000
mprotect(0x7f30ebbce000, 2093056, PROT_NONE) = 0
mmap(0x7f30ebdcd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f30ebdcd000
close(3) = 0
open("/usr/local/ssl/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eb9b1000
mprotect(0x7f30eb9b4000, 2093056, PROT_NONE) = 0
mmap(0x7f30ebbb3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f30ebbb3000
close(3) = 0
open("/usr/local/ssl/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed511000
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eb794000
mprotect(0x7f30eb7ac000, 2093056, PROT_NONE) = 0
mmap(0x7f30eb9ab000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f30eb9ab000
mmap(0x7f30eb9ad000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30eb9ad000
close(3) = 0
open("/usr/local/ssl/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=66800, ...}) = 0
mmap(NULL, 2161864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eb584000
mprotect(0x7f30eb593000, 2093056, PROT_NONE) = 0
mmap(0x7f30eb792000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f30eb792000
close(3) = 0
open("/usr/local/ssl/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320 \0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=137400, ...}) = 0
mmap(NULL, 2232456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eb362000
mprotect(0x7f30eb383000, 2093056, PROT_NONE) = 0
mmap(0x7f30eb582000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7f30eb582000
close(3) = 0
open("/usr/local/ssl/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/liblz4.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=96360, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed510000
mmap(NULL, 2191456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eb14a000
mprotect(0x7f30eb161000, 2093056, PROT_NONE) = 0
mmap(0x7f30eb360000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f30eb360000
close(3) = 0
open("/usr/local/ssl/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\326\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1809656, ...}) = 0
mmap(NULL, 3910072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ead8f000
mprotect(0x7f30eaf40000, 2093056, PROT_NONE) = 0
mmap(0x7f30eb13f000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b0000) = 0x7f30eb13f000
mmap(0x7f30eb149000, 2488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30eb149000
close(3) = 0
open("/usr/local/ssl/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30eaa86000
mprotect(0x7f30eab8e000, 2093056, PROT_NONE) = 0
mmap(0x7f30ead8d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7f30ead8d000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed50f000
open("/usr/local/ssl/lib/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libicuuc.so.55", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320T\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1636360, ...}) = 0
mmap(NULL, 3750688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30ea6f2000
mprotect(0x7f30ea871000, 2097152, PROT_NONE) = 0
mmap(0x7f30eaa71000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17f000) = 0x7f30eaa71000
mmap(0x7f30eaa82000, 15136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f30eaa82000
close(3) = 0
open("/usr/local/ssl/lib/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/ssl/lib/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/pquic/libarchive-3.4.0/libarchive/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/wte2hi/ccu/quic-go/libquic-c/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libicudata.so.55", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libicudata.so.55", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\5\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=25913104, ...}) = 0
mmap(NULL, 28008464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f30e8c3b000
mprotect(0x7f30ea4f1000, 2093056, PROT_NONE) = 0
mmap(0x7f30ea6f0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18b5000) = 0x7f30ea6f0000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed50e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed50d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed50c000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed50a000
arch_prctl(ARCH_SET_FS, 0x7f30ed50a7c0) = 0
mprotect(0x7f30ec72c000, 16384, PROT_READ) = 0
mprotect(0x7f30ea6f0000, 4096, PROT_READ) = 0
mprotect(0x7f30ead8d000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f30ed509000
mprotect(0x7f30ec141000, 40960, PROT_READ) = 0
mprotect(0x7f30ebbb3000, 4096, PROT_READ) = 0
mprotect(0x7f30eaa71000, 65536, PROT_READ) = 0
mprotect(0x7f30ebdcd000, 4096, PROT_READ) = 0
mprotect(0x7f30eb582000, 4096, PROT_READ) = 0
mprotect(0x7f30eb13f000, 32768, PROT_READ) = 0
mprotect(0x7f30eb360000, 4096, PROT_READ) = 0
mprotect(0x7f30eb792000, 4096, PROT_READ) = 0
mprotect(0x7f30eb9ab000, 4096, PROT_READ) = 0
mprotect(0x7f30ec35c000, 4096, PROT_READ) = 0
mprotect(0x7f30ed0f5000, 176128, PROT_READ) = 0
mprotect(0x7f30ecc30000, 12288, PROT_READ) = 0
mprotect(0x7f30ed334000, 4096, PROT_READ) = 0
mprotect(0x675000, 4096, PROT_READ) = 0
mprotect(0x7f30ed55f000, 4096, PROT_READ) = 0
munmap(0x7f30ed514000, 300492) = 0
set_tid_address(0x7f30ed50aa90) = 855
set_robust_list(0x7f30ed50aaa0, 24) = 0
rt_sigaction(SIGRTMIN, {0x7f30eb799b50, [], SA_RESTORER|SA_SIGINFO, 0x7f30eb7a5390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f30eb799be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f30eb7a5390}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0xe7d000
brk(0xeaf000) = 0xeaf000
rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPROF, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7f30ec3a14b0}, NULL, 8) = 0
futex(0x7f30ed3357c0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
setitimer(ITIMER_PROF, {it_interval={0, 10000}, it_value={0, 10000}}, NULL) = 0
open("/proc/self/auxv", O_RDONLY) = 3
read(3, "!\0\0\0\0\0\0\0\0 ;@\377\177\0\0", 16) = 16
close(3) = 0
open("/sys/devices/system/cpu/cpu0/tsc_freq_khz", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", O_RDONLY) = 3
read(3, "3700000\n", 1023) = 8
close(3) = 0
open("/proc/cpuinfo", O_RDONLY) = 3
read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1023) = 1023
read(3, "wp_act_window hwp_epp flush_l1d\n"..., 337) = 337
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "ectre_v2 spec_store_bypass l1tf\n"..., 989) = 989
read(3, "pr_shadow vnmi flexpriority ept "..., 530) = 530
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "ectre_v2 spec_store_bypass l1tf\n"..., 989) = 989
read(3, "pr_shadow vnmi flexpriority ept "..., 530) = 530
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "ectre_v2 spec_store_bypass l1tf\n"..., 989) = 989
read(3, "pr_shadow vnmi flexpriority ept "..., 530) = 530
read(3, "@ 2.80GHz\nstepping\t: 3\nmicrocode"..., 977) = 977
read(3, "ectre_v2 spec_store_bypass l1tf\n"..., 989) = 159
read(3, "", 1023) = 0
close(3) = 0
futex(0x7fff40380504, FUTEX_WAKE, 1) = 0
futex(0x7fff40380504, FUTEX_WAKE_PRIVATE, 1) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
write(1, "Starting PicoQUIC connection to "..., 81Starting PicoQUIC connection to server IP = ::1, port = 4443 and 0 local plugins
) = 81
socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 3
setsockopt(3, SOL_IPV6, IPV6_DONTFRAG, [1], 4) = 0
setsockopt(3, SOL_IPV6, IPV6_RECVPKTINFO, [1], 4) = 0
setsockopt(3, SOL_IP, IP_PKTINFO, [1], 4) = 0
open("demo_ticket_store.bin", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
read(4, "", 4096) = 0
close(4) = 0
futex(0x7f30ed123c58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123c4c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123a90, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123c44, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123d38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123c34, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123c2c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed1220bc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123b04, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123a9c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123bf8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f30ed123bf0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/dev/urandom", O_RDONLY) = 4
fstat(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
open("/dev/random", O_RDONLY) = 5
fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 8), ...}) = 0
open("/dev/srandom", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f30ed123da8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("Y\3601\220\245{O\215\1\200\216a\317\370\16-\241\10\246\201\332\324\24\234R\306k\323\f\327\322\331", 32, 0) = 32
futex(0x7f30ed123d78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/local/ssl/cert.pem", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "No server name specified, certif"..., 60No server name specified, certificate will not be verified.
) = 60
brk(0xed0000) = 0xed0000
brk(0xecf000) = 0xecf000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

@mpiraux
Copy link
Member

mpiraux commented Nov 19, 2019

Segfaul occurs in picoTLS line 953, when ctx->do_init(ctx, iv) is called and do_init is NULL.

That was my guess too. Ok I got it, it was very clear from the GDB trace.

#2 picoquic_pn_encrypt (pn_enc=0x6a3000, iv=, output=0x7fffffffcd39, input=0x7fffffffcd39, len=4) at /home/wte2hi/ccu/pquic/pquic/picoquic/tls_api.c:1351
#3 0x00000000004291ac in picoquic_protect_packet (cnx=cnx@entry=0x6a5c00, ptype=ptype@entry=picoquic_packet_initial, bytes=bytes@entry=0x6b0090 "",
path_x=path_x@entry=0x6a4490, sequence_number=, length=194, header_length=29, send_buffer=0x7fffffffcd20 "\377\377", send_buffer_max=1232,
aead_context=0x6a2e60, pn_enc=0x6a3070) at /home/wte2hi/ccu/pquic/pquic/picoquic/sender.c:601

In particular #3 ... picoquic_protect_packet(..., pn_enc=0x6a3070) and then later #2 picoquic_pn_encrypt (pn_enc=0x6a3000, ...). This is a very odd compiler bug I faced with old versions of GCC (mine was 3.7 something), what is yours ? Clang works fine for compiling the PQUIC core as well.

@wette
Copy link
Author

wette commented Nov 19, 2019

i have gcc version 5.4.0 installed.
How do i tell cmake to use clang? exporting CC and CXX does not work (but i'm not sure, why).

@mpiraux
Copy link
Member

mpiraux commented Nov 19, 2019

How do i tell cmake to use clang? exporting CC and CXX does not work (but i'm not sure, why).

It should, see https://stackoverflow.com/a/7032021. Otherwise look at Ubuntu's update-alternatives, but it's system-wide so it's not ideal.

@adarshdec23
Copy link

Faced a problem with core dumps.
The following worked:

  • Upgrading to OpenSSL 1.1*
  • Switch from GCC to Clang

To prevent a global config change with the compilers run cmake and make as:

cmake -DCMAKE_C_COMPILER=/path/to/clang
make -CC=/path/to/clang

@mpiraux
Copy link
Member

mpiraux commented Nov 26, 2019

I close this issue as it seems that no further assistance is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants