InHavk / nginx-hercules

Hercules logger for nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

крешак 1 sept

chipitsine opened this issue · comments

Program terminated with signal SIGSEGV, Segmentation fault.
#0  ngx_http_hercules_event_req_headers (mcf=0x55d6348581b8, r=0x55d63484a9b0, root_container=<optimized out>, pool=0x55d63484b900)
    at ../nginx-hercules/src/ngx_http_hercules_log_module.c:382
382	        for(size_t i = 0; i < (size_t) req_headers_part->nelts; ++i){
[Current thread is 1 (Thread 0x7fc907a92740 (LWP 11196))]
(gdb) bt
#0  ngx_http_hercules_event_req_headers (mcf=0x55d6348581b8, r=0x55d63484a9b0, root_container=<optimized out>, pool=0x55d63484b900)
    at ../nginx-hercules/src/ngx_http_hercules_log_module.c:382
#1  ngx_http_hercules_handler (r=0x55d63484a9b0) at ../nginx-hercules/src/ngx_http_hercules_log_module.c:85
#2  0x000055d632f5dc65 in ngx_http_log_request (r=r@entry=0x55d63484a9b0) at src/http/ngx_http_request.c:3691
#3  0x000055d632f5ef93 in ngx_http_free_request (r=r@entry=0x55d63484a9b0, rc=rc@entry=0) at src/http/ngx_http_request.c:3637
#4  0x000055d632f5f0fa in ngx_http_close_request (r=r@entry=0x55d63484a9b0, rc=rc@entry=0) at src/http/ngx_http_request.c:3583
#5  0x000055d632f5f85d in ngx_http_lingering_close_handler (rev=0x55d63488a230) at src/http/ngx_http_request.c:3443
#6  0x000055d632f464a5 in ngx_epoll_process_events (cycle=0x55d63484fca0, timer=<optimized out>, flags=<optimized out>)
    at src/event/modules/ngx_epoll_module.c:901
#7  0x000055d632f3a34d in ngx_process_events_and_timers (cycle=cycle@entry=0x55d63484fca0) at src/event/ngx_event.c:247
#8  0x000055d632f44070 in ngx_worker_process_cycle (cycle=cycle@entry=0x55d63484fca0, data=data@entry=0x0)
    at src/os/unix/ngx_process_cycle.c:740
#9  0x000055d632f422ed in ngx_spawn_process (cycle=cycle@entry=0x55d63484fca0, proc=0x55d632f43f6b <ngx_worker_process_cycle>, 
    data=0x0, name=0x55d632fb52db "worker process", respawn=respawn@entry=0) at src/os/unix/ngx_process.c:199
#10 0x000055d632f44d2f in ngx_reap_children (cycle=0x55d63484fca0) at src/os/unix/ngx_process_cycle.c:612
#11 ngx_master_process_cycle (cycle=0x55d63484fca0) at src/os/unix/ngx_process_cycle.c:174
#12 0x000055d632f18e1a in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:382
(gdb)