Details
Description
I tried to build example/thread-pool (PSI plugin) but server craches with core dump
env http_proxy=http://127.0.0.1:1080 curl -v http://openbsd.org
- About to connect() to proxy 127.0.0.1 port 1080 (#0)
- Trying 127.0.0.1... connected
> GET http://openbsd.org HTTP/1.1
> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: openbsd.org
> Accept: /
> Proxy-Connection: Keep-Alive
> - Empty reply from server
- Connection #0 to host 127.0.0.1 left intact
curl: (52) Empty reply from server - Closing connection #0
~# /usr/local/bin/traffic_server -p 1080 -T"xpsi"
[TrafficServer] using root directory '/usr/local'
[Nov 7 15:03:08.192]
[Nov 7 15:03:08.192] {0xb702f700}
NOTE: updated diags config
[Nov 7 15:03:08.195] Server
[Nov 7 15:03:08.206] Server {0xb702f700}
NOTE: cache clustering disabled
[Nov 7 15:03:08.214] Server
[Nov 7 15:03:08.218] Server {0xb702f700}
NOTE: loading plugin '/usr/local/libexec/trafficserver/psi.so'
[Nov 7 15:03:08.219] Server
[Nov 7 15:03:08.222] Server {0xb702f700}
NOTE: traffic server running
[Nov 7 15:03:08.250] Server
NOTE: cache enabled
FATAL: InkAPI.cc:3144: failed assert `sdk_sanity_check_null_ptr((void*) value_len_ptr) == TS_SUCCESS`
/usr/local/bin/traffic_server - STACK TRACE:
/usr/local/lib/libtsutil.so.3(ink_fatal+0x2c)[0xb76ebb2c]
/usr/local/lib/libtsutil.so.3(_ink_assert+0x3e)[0xb76ea93e]
/usr/local/bin/traffic_server(TSMimeHdrFieldValueStringGet+0x11c)[0x80e1e0c]
/usr/local/libexec/trafficserver/psi.so(+0x1d52)[0xb1f96d52]
/usr/local/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0xdf)[0x817669f]
/usr/local/bin/traffic_server(_ZN6HttpSM23do_api_callout_internalEv+0x54)[0x8176d54]
/usr/local/bin/traffic_server(_ZN6HttpSM33state_read_server_response_headerEiPv+0x3d0)[0x8178930]
/usr/local/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x14c)[0x8177ecc]
/usr/local/bin/traffic_server[0x82d73c3]
/usr/local/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x1e3)[0x82d04b3]
/usr/local/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x8f)[0x830180f]
/usr/local/bin/traffic_server(_ZN7EThread7executeEv+0x5e1)[0x83022c1]
/usr/local/bin/traffic_server[0x83003a3]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb76c7d4c]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb711fd3e]
Aborted (core dumped)