Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git clone https://github.com/tatsuhiro-t/spdylay.git
- cd spdylay/
- autoreconf -if
- automake
- autoconf
- ./configure --prefix=/usr
- make
- make install
- cd ../trafficserver/
- autoreconf -if
- export PKG_CONFIG_PATH=/usr/lib/pkgconfig
- ./configure --enable-spdy --enable-experimental-plugins --enable-linux-native-aio --with-zlib=/root/c/ats/zlib-1.2.8 --with-pcre=/root/c/ats/pcre-8.38 --with-openssl=/root/c/ats/openssl-1.0.1f[WITH CLOUDFLARE PATCH]
- **************
- gdb --args traffic_server -Cverify_config
- ...standard info..
- (gdb) run
- Starting program: /usr/local/bin/traffic_server -Cverify_config
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- traffic_server: using root directory '/usr/local'
- [New Thread 0x7ffff1f55700 (LWP 19595)]
- NOTE: VERIFY
- [New Thread 0x7ffff0c16700 (LWP 19596)]
- [New Thread 0x7ffff0a14700 (LWP 19597)]
- INFO:Successfully loaded remap.config
- INFO: Successfully loaded records.config
- INFO: Successfully loaded plugin.config
- Thread 1 "traffic_server" received signal SIGSEGV, Segmentation fault.
- 0x0000000000000000 in ?? ()
- (gdb) bt full
- #0 0x0000000000000000 in ?? ()
- No symbol table info available.
- #1 0x0000000000789374 in SSLInitServerContext (params=params@entry=0x117a140, sslMultCertSettings=..., certList=...)
- at SSLUtils.cc:1384
- bio = {_r = 0x1181f50}
- cert = 0x1182100
- ca = <optimized out>
- certname = <optimized out>
- cert_tok = {_data = <optimized out>, _delimiter = 44 ',', _mode = 0, _escape = 92 '\\', _start = <optimized out>,
- _length = <optimized out>}
- key_tok = {_data = <optimized out>, _delimiter = 44 ',', _mode = 0, _escape = 92 '\\', _start = 0,
- _length = <optimized out>}
- ca_tok = {_data = <optimized out>, _delimiter = 44 ',', _mode = 0, _escape = 92 '\\', _start = 0,
- _length = <optimized out>}
- server_verify_client = <optimized out>
- completeServerCertPath = <optimized out>
- ctx = <optimized out>
- digest = {digest = 0x0, engine = 0x7ffff7ffe4e0, flags = 140737488346576, md_data = 0x1f7ff7600, pctx = 0x7ffff7ffe188,
- update = 0x7fffffffddc0}
- ca_list = 0x0
- hash_buf = "\277\037D\000\000\000\000\000~KgY\000\000\000\000\377\377\377\377\000\000\000\000@\241\027\001\000\000\000\000\b\206\271\367\377\177\000\000\000v\377\367\377\177\000\000)\371\203\000\000\000\000\000\000l\231\365\377\177\000"
- hash_len = 0
- __FUNCTION__ = "SSLInitServerContext"
- additional_cache_flags = <optimized out>
- ud = {_configParams = 0x117a140, _serverDialog = 0x0, _serverCert = 0x117cef0 "fullchain1.pem",
- _serverKey = 0x117ceb0 "privkey1.pem"}
- #2 0x000000000078a370 in ssl_store_ssl_context (params=params@entry=0x117a140, lookup=lookup@entry=0x117c550,
- sslMultCertSettings=...) at SSLUtils.cc:1666
- cert_list = {n = 1, i = 0, v = 0x7fffffffded8, e = {0x1182100, 0x0, 0x0, 0x0}}
- ctx = <optimized out>
- keyblock = <optimized out>
- inserted = <optimized out>
- #3 0x000000000078b5e5 in SSLParseCertificateConfiguration (params=params@entry=0x117a140, lookup=lookup@entry=0x117c550)
- at SSLUtils.cc:1902
- sslMultiCertSettings = {session_ticket_enabled = 1, addr = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {
- _r = 0x0}, <No data fields>}, cert = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {
- _r = 0x117ce90 "fullchain1.pem"}, <No data fields>},
- first_cert = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {
- _r = 0x117cef0 "fullchain1.pem"}, <No data fields>},
- ca = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {_r = 0x0}, <No data fields>},
- key = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {_r = 0x117ceb0 "privkey1.pem"}, <No data fields>},
- ticket_key_filename = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {_r = 0x0}, <No data fields>},
- ---Type <return> to continue, or q <return> to quit---
- dialog = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {_r = 0x0}, <No data fields>},
- opt = SSLCertContext::OPT_NONE}
- errPtr = <optimized out>
- tok_state = 0x1180cfe ""
- line = <optimized out>
- file_buf = <optimized out>
- line_num = 73
- line_info = {type = MATCH_NONE, dest_entry = 0, num_el = 2, line = {{0x1180cc8 "ssl_cert_name", 0x1180ce5 "ssl_key_name",
- 0x0 <repeats 38 times>}, {0x1180cd6 "fullchain1.pem", 0x1180cf2 "privkey1.pem", 0x0 <repeats 38 times>}},
- line_num = 0, next = 0x0}
- sslCertTags = {match_host = 0x0, match_domain = 0x0, match_ip = 0x0, match_regex = 0x0, match_url = 0x0,
- match_host_regex = 0x0, dest_error_msg = false}
- __FUNCTION__ = "SSLParseCertificateConfiguration"
- __func__ = "SSLParseCertificateConfiguration"
- elevate_setting = <optimized out>
- elevate_access = {elevated = false, saved_uid = 65534, level = 0, cap_state = 0x0}
- #4 0x000000000077709c in SSLCertificateConfig::reconfigure () at SSLConfig.cc:393
- retStatus = true
- params = {ptr = 0x117a140}
- lookup = 0x117c550
- __FUNCTION__ = "reconfigure"
- #5 0x000000000077730c in SSLCertificateConfig::startup () at SSLConfig.cc:371
- params = {ptr = 0x117a140}
- __FUNCTION__ = "startup"
- #6 0x00000000004e6d2b in cmd_verify () at Main.cc:772
- exitStatus = <optimized out>
- params = <optimized out>
- #7 0x0000000000494049 in cmd_mode () at Main.cc:926
- No locals.
- #8 main (argv=<optimized out>) at Main.cc:1751
- admin_user_p = <optimized out>
- enabled = <optimized out>
- __FUNCTION__ = "main"
- user = {<ats_scoped_resource<detail::SCOPED_MALLOC_TRAITS<char> >> = {_r = 0x110ced0 "nobody"}, <No data fields>}
- main_thread = <optimized out>
- mlock_flags = <optimized out>
- machine_addr = {sa = {sa_family = 2, sa_data = "\000\000>qˎ\000\000\000\000\000\000\000"}, sin = {sin_family = 2,
- sin_port = 0, sin_addr = {s_addr = 2395697470}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2,
- sin6_port = 0, sin6_flowinfo = 2395697470, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>,
- __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}
- cluster_type = 3
- stacksize = 1048576
- num_remap_threads = <optimized out>
Add Comment
Please, Sign In to add comment