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