GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Attaching to process 5653 Reading symbols from /home/giovani.rinaldi/nginx-1.11.10/objs/nginx...done. Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/libpcre.so.1...Reading symbols from /lib64/libpcre.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Loaded symbols for /lib64/libpcre.so.1 Reading symbols from /lib64/libz.so.1...Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done. (no debugging symbols found)...done. Loaded symbols for /lib64/libz.so.1 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libfreebl3.so...Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done. (no debugging symbols found)...done. Loaded symbols for /lib64/libfreebl3.so Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 0x00007f7dee075f47 in ngx_http_write_filter (r=0x7f7deeaedf50, in=0x7ffdbda74da0) at src/http/ngx_http_write_filter_module.c:84 84 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) { Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.1.x86_64 nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64 pcre-8.32-15.el7_2.1.x86_64 zlib-1.2.7-17.el7.x86_64 (gdb) bt #0 0x00007f7dee075f47 in ngx_http_write_filter (r=0x7f7deeaedf50, in=0x7ffdbda74da0) at src/http/ngx_http_write_filter_module.c:84 #1 0x00007f7dee077603 in ngx_http_chunked_body_filter (r=0x7f7deeaedf50, in=0x7ffdbda74da0) at src/http/modules/ngx_http_chunked_filter_module.c:111 #2 0x00007f7dee0792fc in ngx_http_gzip_body_filter (r=0x7f7deeaedf50, in=0x7ffdbda74da0) at src/http/modules/ngx_http_gzip_filter_module.c:326 #3 0x00007f7dee07c64c in ngx_http_ssi_body_filter (r=0x7f7dfa2fccb0, in=) at src/http/modules/ngx_http_ssi_filter_module.c:411 #4 0x00007f7dee07fb4a in ngx_http_charset_body_filter (r=0x7f7dfa2fccb0, in=) at src/http/modules/ngx_http_charset_filter_module.c:647 #5 0x00007f7dee021072 in ngx_output_chain (ctx=ctx@entry=0x7f7dfa2fdbb8, in=in@entry=0x7ffdbda74da0) at src/core/ngx_output_chain.c:74 #6 0x00007f7dee08204e in ngx_http_copy_filter (r=0x7f7dfa2fccb0, in=0x7ffdbda74da0) at src/http/ngx_http_copy_filter_module.c:152 #7 0x00007f7dee0828fe in ngx_http_slice_body_filter (r=, in=) at src/http/modules/ngx_http_slice_filter_module.c:219 #8 0x00007f7dee0530fa in ngx_http_output_filter (r=r@entry=0x7f7dfa2fccb0, in=in@entry=0x7ffdbda74da0) at src/http/ngx_http_core_module.c:1981 #9 0x00007f7dee0837a2 in ngx_http_static_handler (r=0x7f7dfa2fccb0) at src/http/modules/ngx_http_static_module.c:267 #10 0x00007f7dee0535da in ngx_http_core_content_phase (r=0x7f7dfa2fccb0, ph=0x7f7deeafdd98) at src/http/ngx_http_core_module.c:1388 #11 0x00007f7dee04d775 in ngx_http_core_run_phases (r=r@entry=0x7f7dfa2fccb0) at src/http/ngx_http_core_module.c:860 #12 0x00007f7dee04d85f in ngx_http_handler (r=r@entry=0x7f7dfa2fccb0) at src/http/ngx_http_core_module.c:843 #13 0x00007f7dee0543f9 in ngx_http_internal_redirect (r=r@entry=0x7f7dfa2fccb0, uri=uri@entry=0x7ffdbda75030, args=args@entry=0x7f7dfa2fd010) at src/http/ngx_http_core_module.c:2633 #14 0x00007f7dee0858e8 in ngx_http_index_handler (r=0x7f7dfa2fccb0) at src/http/modules/ngx_http_index_module.c:277 #15 0x00007f7dee0535da in ngx_http_core_content_phase (r=0x7f7dfa2fccb0, ph=0x7f7deeafdd68) at src/http/ngx_http_core_module.c:1388 #16 0x00007f7dee04d775 in ngx_http_core_run_phases (r=r@entry=0x7f7dfa2fccb0) at src/http/ngx_http_core_module.c:860 #17 0x00007f7dee04d85f in ngx_http_handler (r=r@entry=0x7f7dfa2fccb0) at src/http/ngx_http_core_module.c:843 #18 0x00007f7dee0543f9 in ngx_http_internal_redirect (r=r@entry=0x7f7dfa2fccb0, uri=uri@entry=0x7ffdbda75170, args=args@entry=0x7ffdbda75180) at src/http/ngx_http_core_module.c:2633 #19 0x00007f7dee055a56 in ngx_http_send_error_page (err_page=0x7f7deeaf5798, r=0x7f7dfa2fccb0) at src/http/ngx_http_special_response.c:586 #20 ngx_http_special_response_handler (r=r@entry=0x7f7dfa2fccb0, error=error@entry=502) at src/http/ngx_http_special_response.c:433 #21 0x00007f7dee058c21 in ngx_http_finalize_request (r=r@entry=0x7f7dfa2fccb0, rc=rc@entry=502) at src/http/ngx_http_request.c:2335 #22 0x00007f7dee06eb2b in ngx_http_upstream_init_request (r=0x7f7dfa2fccb0) at src/http/ngx_http_upstream.c:590 #23 0x00007f7dee061542 in ngx_http_read_client_request_body (r=r@entry=0x7f7dfa2fccb0, post_handler=0x7f7dee06f740 ) at src/http/ngx_http_request_body.c:84 #24 0x00007f7dee0923e3 in ngx_http_proxy_handler (r=0x7f7dfa2fccb0) at src/http/modules/ngx_http_proxy_module.c:928 #25 0x00007f7dee053592 in ngx_http_core_content_phase (r=0x7f7dfa2fccb0, ph=) at src/http/ngx_http_core_module.c:1381 #26 0x00007f7dee04d775 in ngx_http_core_run_phases (r=0x7f7dfa2fccb0) at src/http/ngx_http_core_module.c:860 #27 0x00007f7dee056b56 in ngx_http_run_posted_requests (c=0x7f7dedfb70f8) at src/http/ngx_http_request.c:2235 #28 0x00007f7dee0485e1 in ngx_epoll_process_events (cycle=0x7f7deeaddfe0, timer=, flags=) at src/event/modules/ngx_epoll_module.c:902 #29 0x00007f7dee03d80a in ngx_process_events_and_timers (cycle=cycle@entry=0x7f7deeaddfe0) at src/event/ngx_event.c:242 #30 0x00007f7dee047bdd in ngx_single_process_cycle (cycle=0x7f7deeaddfe0) at src/os/unix/ngx_process_cycle.c:309 #31 0x00007f7dee01be32 in main (argc=, argv=) at src/core/nginx.c:365