Skip to content

Instantly share code, notes, and snippets.

@jdoss
Created January 26, 2015 05:04
Show Gist options
  • Save jdoss/6161e4405f3ed42d53dd to your computer and use it in GitHub Desktop.
Save jdoss/6161e4405f3ed42d53dd to your computer and use it in GitHub Desktop.
nginx-1.6.2 + mod_security + ngx_pagespeed-release-1.9.32.3-beta = ngx_pagespeed.cc(1811)] Check failed: url.IsWebValid().
2015/01/25 22:55:29 [alert] 2398#0: [ngx_pagespeed 1.9.32.3-4448] [0125/225529:FATAL:ngx_pagespeed.cc(1811)] Check failed: url.IsWebValid().
nginx: worker process() [0x515a0a]
nginx: worker process() [0x49f2fd]
nginx: worker process() [0x512922]
nginx: worker process() [0x4a91fc]
nginx: worker process() [0x4abd87]
nginx: worker process() [0x468081]
nginx: worker process() [0x46aade]
nginx: worker process() [0x45dcae]
nginx: worker process() [0x49d74f]
nginx: worker process() [0x416d87]
nginx: worker process() [0x44b5bc]
nginx: worker process() [0x440d4b]
nginx: worker process() [0x444863]
nginx: worker process() [0x454c2d]
nginx: worker process() [0x455995]
nginx: worker process() [0x457b86]
nginx: worker process() [0x454ca9]
nginx: worker process() [0x4324db]
nginx: worker process() [0x42a807]
nginx: worker process() [0x4306d8]
nginx: worker process() [0x42f0f4]
nginx: worker process() [0x431852]
nginx: worker process() [0x41247f]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fea5f480af5]
nginx: worker process() [0x412a41]
# nginx -V
nginx version: nginx/1.6.2
built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --add-module=/home/rpmbuild/rpms/rpmbuild/BUILD/nginx-1.6.2/mod_security/nginx/modsecurity --add-module=/home/rpmbuild/rpms/rpmbuild/BUILD/nginx-1.6.2/ngx_pagespeed-release-1.9.32.3-beta
root@web [191 22:43:57 /var/cores]# gdb /usr/sbin/nginx core.2294
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/nginx...Reading symbols from /usr/lib/debug/usr/sbin/nginx.debug...done.
done.
[New LWP 2294]
[New LWP 2296]
[New LWP 2295]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `nginx: worker process '.
Program terminated with signal 6, Aborted.
#0 0x00007fea5f4945c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) backtrace full
#0 0x00007fea5f4945c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 2294
selftid = 2294
#1 0x00007fea5f495cd8 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffa8a1b350, sa_sigaction = 0x7fffa8a1b350}, sa_mask = {__val = {140736022557503, 140736022557504, 140644640729270, 140733193388037, 0, 140642999074821, 140644597521664, 4,
140736022557504, 2, 140644640756485, 0, 140644638515709, 1075, 140736022555168, 0}}, sa_flags = 0, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00000000005106b9 in base::debug::BreakDebugger() ()
No symbol table info available.
#3 0x000000000049f28d in (anonymous namespace)::LogMessageHandler (severity=4, file=<optimized out>, line=<optimized out>, message_start=<optimized out>, str=...)
at /usr/src/debug/nginx-1.6.2/ngx_pagespeed-release-1.9.32.3-beta/src/log_message_handler.cc:87
message = "[0125/223857:FATAL:ngx_pagespeed.cc(1811)] Check failed: url.IsWebValid(). \nnginx: worker process() [0x515a0a]\nnginx: worker process() [0x49f2fd]\nnginx: worker process() [0x512922]\nnginx: worker proce"...
last_msg_character_index = 1008
#4 0x0000000000512922 in logging::LogMessage::~LogMessage() ()
No symbol table info available.
#5 0x00000000004a91fc in net_instaweb::(anonymous namespace)::ps_resource_handler (r=r@entry=0x4f9e6b0, html_rewrite=html_rewrite@entry=true,
response_category=response_category@entry=net_instaweb::(anonymous namespace)::RequestRouting::kResource) at /usr/src/debug/nginx-1.6.2/ngx_pagespeed-release-1.9.32.3-beta/src/ngx_pagespeed.cc:1811
response_headers = <optimized out>
pagespeed_query_params = <error reading variable: Cannot access memory at address 0xffffffffffffffe8>
pagespeed_option_cookies = <error reading variable: Cannot access memory at address 0xffffffffffffffe8>
custom_options = <optimized out>
is_an_admin_handler = <optimized out>
url_string = "http://127.0.0.\230:8080/"
request_headers = <optimized out>
options = <optimized out>
pagespeed_resource = <optimized out>
page_callback_added = 234
ctx = <optimized out>
url = {static npos = 18446744073709551615, gurl_ = {spec_ = "http://127.0.0.%EF%BF%BD:8080/", is_valid_ = false, parsed_ = {scheme = {begin = 0, len = 4}, username = {begin = 0, len = -1}, password = {begin = 0, len = -1},
host = {begin = 7, len = 17}, port = {begin = 25, len = 4}, path = {begin = 29, len = 1}, query = {begin = 0, len = -1}, ref = {begin = 0, len = -1}, inner_parsed_ = 0x0}, inner_url_ = {impl_ = {
data_ = {<base::DefaultDeleter<GURL>> = {<No data fields>}, ptr = 0x0}}}}, is_web_valid_ = false, is_web_or_data_valid_ = false}
request_context = <optimized out>
property_callback = <optimized out>
#6 0x00000000004abd87 in net_instaweb::(anonymous namespace)::html_rewrite::ps_html_rewrite_header_filter (r=<optimized out>) at /usr/src/debug/nginx-1.6.2/ngx_pagespeed-release-1.9.32.3-beta/src/ngx_pagespeed.cc:2267
content_type = <optimized out>
rc = <optimized out>
#7 0x0000000000468081 in ngx_http_charset_header_filter (r=0x4f9e6b0) at src/http/modules/ngx_http_charset_filter_module.c:301
charset = <optimized out>
dst = {len = 83551648, data = 0x4f9e6b0 "HTTP"}
src = {len = 83489888, data = 0x4f9faf8 "\220ZE"}
charsets = <optimized out>
mcf = <optimized out>
#8 0x000000000046aade in ngx_http_userid_filter (r=<optimized out>) at src/http/modules/ngx_http_userid_filter_module.c:219
ctx = <optimized out>
conf = <optimized out>
r = <optimized out>
#9 0x000000000045dcae in ngx_http_headers_filter (r=<optimized out>) at src/http/modules/ngx_http_headers_filter_module.c:190
value = {len = 83486304, data = 0x7fea61da1305 <_dl_runtime_resolve+53> "I\211\303L\213L$0L\213D$(H\213|$ H\213t$\030H\213T$\020H\213L$\bH\213\004$H\203\304HA\377\343ffffff.\017\037\204"}
i = <optimized out>
h = <optimized out>
conf = 0x39c6ec0
#10 0x000000000049d74f in ngx_http_modsecurity_body_filter (r=<optimized out>, in=<optimized out>) at /usr/src/debug/nginx-1.6.2/mod_security-testing/nginx/modsecurity/ngx_http_modsecurity.c:1437
cf = <optimized out>
ctx = <optimized out>
rc = <optimized out>
content_length = 3777
cl = <optimized out>
out = 0x4fd0718
last_buf = 1
#11 0x0000000000416d87 in ngx_output_chain (ctx=ctx@entry=0x4fd0308, in=in@entry=0x7fffa8a1cd40) at src/core/ngx_output_chain.c:66
bsize = <optimized out>
last = <optimized out>
cl = <optimized out>
out = 0x3000000030
last_out = <optimized out>
#12 0x000000000044b5bc in ngx_http_copy_filter (r=0x4f9e6b0, in=0x7fffa8a1cd40) at src/http/ngx_http_copy_filter_module.c:143
rc = <optimized out>
c = 0x4ec0170
ctx = 0x4fd0308
clcf = <optimized out>
conf = <optimized out>
#13 0x0000000000440d4b in ngx_http_output_filter (r=r@entry=0x4f9e6b0, in=in@entry=0x7fffa8a1cd40) at src/http/ngx_http_core_module.c:1964
rc = 0
c = 0x4ec0170
#14 0x0000000000444863 in ngx_http_send_special (r=r@entry=0x4f9e6b0, flags=flags@entry=1) at src/http/ngx_http_request.c:3334
b = <optimized out>
out = {buf = 0x4fd0378, next = 0x0}
#15 0x0000000000454c2d in ngx_http_upstream_finalize_request (r=0x4f9e6b0, u=0x4f9faf8, rc=0) at src/http/ngx_http_upstream.c:3551
flush = 0
tp = <optimized out>
#16 0x0000000000455995 in ngx_http_upstream_process_request (r=0x4f9e6b0) at src/http/ngx_http_upstream.c:3159
---Type <return> to continue, or q <return> to quit---
tf = <optimized out>
p = 0x4f9ff08
u = 0x4f9faf8
#17 0x0000000000457b86 in ngx_http_upstream_send_response (u=0x4f9faf8, r=0x4f9e6b0) at src/http/ngx_http_upstream.c:2493
c = 0x4ec0170
clcf = 0x39c5d28
tcp_nodelay = 0
n = <optimized out>
rc = <optimized out>
p = 0x4f9ff08
#18 ngx_http_upstream_process_header (r=0x4f9e6b0, u=0x4f9faf8) at src/http/ngx_http_upstream.c:1735
n = <optimized out>
rc = <optimized out>
c = <optimized out>
#19 0x0000000000454ca9 in ngx_http_upstream_handler (ev=<optimized out>) at src/http/ngx_http_upstream.c:977
c = 0x4ec0170
r = <optimized out>
ctx = <optimized out>
u = <optimized out>
#20 0x00000000004324db in ngx_epoll_process_events (cycle=<optimized out>, timer=<optimized out>, flags=<optimized out>) at src/event/modules/ngx_epoll_module.c:691
events = 1
revents = 8213
instance = <optimized out>
i = 0
level = <optimized out>
err = <optimized out>
rev = <optimized out>
wev = <optimized out>
queue = <optimized out>
c = 0x4ec0248
#21 0x000000000042a807 in ngx_process_events_and_timers (cycle=cycle@entry=0x24a2910) at src/event/ngx_event.c:248
flags = <optimized out>
timer = <optimized out>
delta = 1422247136989
#22 0x00000000004306d8 in ngx_worker_process_cycle (cycle=cycle@entry=0x24a2910, data=data@entry=0x0) at src/os/unix/ngx_process_cycle.c:816
worker = 0
i = <optimized out>
c = <optimized out>
#23 0x000000000042f0f4 in ngx_spawn_process (cycle=cycle@entry=0x24a2910, proc=proc@entry=0x430630 <ngx_worker_process_cycle>, data=data@entry=0x0, name=name@entry=0xaa5ede "worker process", respawn=respawn@entry=-3)
at src/os/unix/ngx_process.c:198
on = 1
pid = 0
s = 0
#24 0x00000000004308b4 in ngx_start_worker_processes (cycle=cycle@entry=0x24a2910, n=1, type=type@entry=-3) at src/os/unix/ngx_process_cycle.c:364
i = 0
ch = {command = 1, pid = 0, slot = 0, fd = 0}
#25 0x0000000000431378 in ngx_master_process_cycle (cycle=cycle@entry=0x24a2910) at src/os/unix/ngx_process_cycle.c:136
title = <optimized out>
p = <optimized out>
size = <optimized out>
i = <optimized out>
n = <optimized out>
sigio = <optimized out>
set = {__val = {0 <repeats 16 times>}}
itv = {it_interval = {tv_sec = 11, tv_usec = 18}, it_value = {tv_sec = 38419474, tv_usec = 0}}
live = <optimized out>
delay = <optimized out>
ls = <optimized out>
ccf = 0x24a3940
#26 0x000000000041247f in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:407
i = <optimized out>
log = 0x10943a0 <ngx_log>
cycle = 0x24a2910
init_cycle = {conf_ctx = 0x0, pool = 0x24a2370, log = 0x10943a0 <ngx_log>, new_log = {log_level = 0, file = 0x0, connection = 0, handler = 0x0, data = 0x0, action = 0x0, next = 0x0}, log_use_stderr = 0, files = 0x0,
free_connections = 0x0, free_connection_n = 0, reusable_connections_queue = {prev = 0x0, next = 0x0}, listening = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, paths = {elts = 0x0, nelts = 0, size = 0, nalloc = 0,
pool = 0x0}, open_files = {last = 0x0, part = {elts = 0x0, nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, shared_memory = {last = 0x0, part = {elts = 0x0, nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool = 0x0},
connection_n = 0, files_n = 0, connections = 0x0, read_events = 0x0, write_events = 0x0, old_cycle = 0x0, conf_file = {len = 21, data = 0x7fffa8a1df94 "ss"}, conf_param = {len = 0, data = 0x0}, conf_prefix = {len = 11,
data = 0x7fffa8a1df94 "ss"}, prefix = {len = 11, data = 0xaa2e6d "/etc/nginx/"}, lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
ccf = <optimized out>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment