| 1 | # gdb ../sbin/nginx core
|
|---|
| 2 | GNU gdb (Debian 13.1-3) 13.1
|
|---|
| 3 | Copyright (C) 2023 Free Software Foundation, Inc.
|
|---|
| 4 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
|---|
| 5 | This is free software: you are free to change and redistribute it.
|
|---|
| 6 | There is NO WARRANTY, to the extent permitted by law.
|
|---|
| 7 | Type "show copying" and "show warranty" for details.
|
|---|
| 8 | This GDB was configured as "x86_64-linux-gnu".
|
|---|
| 9 | Type "show configuration" for configuration details.
|
|---|
| 10 | For bug reporting instructions, please see:
|
|---|
| 11 | <https://www.gnu.org/software/gdb/bugs/>.
|
|---|
| 12 | Find the GDB manual and other documentation resources online at:
|
|---|
| 13 | <http://www.gnu.org/software/gdb/documentation/>.
|
|---|
| 14 |
|
|---|
| 15 | For help, type "help".
|
|---|
| 16 | Type "apropos word" to search for commands related to "word"...
|
|---|
| 17 | Reading symbols from ../sbin/nginx...
|
|---|
| 18 |
|
|---|
| 19 | warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing
|
|---|
| 20 | [New LWP 95634]
|
|---|
| 21 | [Thread debugging using libthread_db enabled]
|
|---|
| 22 | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
|
|---|
| 23 | Core was generated by `nginx: worker process '.
|
|---|
| 24 | Program terminated with signal SIGSEGV, Segmentation fault.
|
|---|
| 25 | #0 ngx_http_core_access_phase (r=0x560e39e40880, ph=0x560e39e541e8) at src/http/ngx_http_core_module.c:1127
|
|---|
| 26 | 1127 h->hash = 0;
|
|---|
| 27 | (gdb) backtrace full
|
|---|
| 28 | #0 ngx_http_core_access_phase (r=0x560e39e40880, ph=0x560e39e541e8) at src/http/ngx_http_core_module.c:1127
|
|---|
| 29 | rc = 0
|
|---|
| 30 | h = 0x4e13f3427c687526
|
|---|
| 31 | clcf = <optimized out>
|
|---|
| 32 | #1 0x0000560e391ebebc in ngx_http_core_run_phases (r=r@entry=0x560e39e40880) at src/http/ngx_http_core_module.c:875
|
|---|
| 33 | rc = <optimized out>
|
|---|
| 34 | ph = 0x560e39e54140
|
|---|
| 35 | cmcf = <optimized out>
|
|---|
| 36 | #2 0x0000560e391ebf5f in ngx_http_handler (r=r@entry=0x560e39e40880) at src/http/ngx_http_core_module.c:858
|
|---|
| 37 | cmcf = <optimized out>
|
|---|
| 38 | #3 0x0000560e391f654a in ngx_http_process_request (r=r@entry=0x560e39e40880) at src/http/ngx_http_request.c:2104
|
|---|
| 39 | c = 0x560e39e3f920
|
|---|
| 40 | #4 0x0000560e392254ae in ngx_http_v2_run_request (r=0x560e39e40880) at src/http/v2/ngx_http_v2.c:3982
|
|---|
| 41 | fc = 0x560e39e3f920
|
|---|
| 42 | h2c = <optimized out>
|
|---|
| 43 | #5 0x0000560e392255d9 in ngx_http_v2_state_header_complete (h2c=h2c@entry=0x560e39ce72c0, pos=pos@entry=0x560e39ec57e6 "", end=end@entry=0x560e39ec5997 "") at src/http/v2/ngx_http_v2.c:1914
|
|---|
| 44 | stream = <optimized out>
|
|---|
| 45 | #6 0x0000560e39225a3b in ngx_http_v2_state_process_header (h2c=h2c@entry=0x560e39ce72c0, pos=0x560e39ec57e6 "", end=end@entry=0x560e39ec5997 "") at src/http/v2/ngx_http_v2.c:1878
|
|---|
| 46 | len = <optimized out>
|
|---|
| 47 | rc = <optimized out>
|
|---|
| 48 | h = <optimized out>
|
|---|
| 49 | fc = 0x560e39e3f920
|
|---|
| 50 | hh = <optimized out>
|
|---|
| 51 | r = 0x560e39e40880
|
|---|
| 52 | header = 0x560e39ce7360
|
|---|
| 53 | cscf = <optimized out>
|
|---|
| 54 | cmcf = <optimized out>
|
|---|
| 55 | cookie = <optimized out>
|
|---|
| 56 | #7 0x0000560e392260c4 in ngx_http_v2_state_field_huff (h2c=h2c@entry=0x560e39ce72c0, pos=0x560e39ec57e6 "", end=end@entry=0x560e39ec5997 "") at src/http/v2/ngx_http_v2.c:1619
|
|---|
| 57 | size = 28
|
|---|
| 58 | #8 0x0000560e3922631f in ngx_http_v2_state_field_len (h2c=h2c@entry=0x560e39ce72c0, pos=<optimized out>, end=end@entry=0x560e39ec5997 "") at src/http/v2/ngx_http_v2.c:1577
|
|---|
| 59 | alloc = <optimized out>
|
|---|
| 60 | len = <optimized out>
|
|---|
| 61 | huff = 1
|
|---|
| 62 | cscf = <optimized out>
|
|---|
| 63 | #9 0x0000560e3922656b in ngx_http_v2_state_header_block (h2c=0x560e39ce72c0, pos=<optimized out>, end=0x560e39ec5997 "") at src/http/v2/ngx_http_v2.c:1493
|
|---|
| 64 | ch = <optimized out>
|
|---|
| 65 | value = <optimized out>
|
|---|
| 66 | indexed = 0
|
|---|
| 67 | size_update = 0
|
|---|
| 68 | prefix = <optimized out>
|
|---|
| 69 | #10 0x0000560e392241c8 in ngx_http_v2_read_handler (rev=rev@entry=0x560e39e95860) at src/http/v2/ngx_http_v2.c:435
|
|---|
| 70 | p = 0x560e39ec57c8 "`\234\327\217^\354\033\267d\277\003\335\255\244b\236s\366d\223LYi\242\244\325GA\327\037"
|
|---|
| 71 | end = 0x560e39ec5997 ""
|
|---|
| 72 | available = <optimized out>
|
|---|
| 73 | n = 855
|
|---|
| 74 | c = 0x560e39e57be0
|
|---|
| 75 | h2mcf = <optimized out>
|
|---|
| 76 | h2c = 0x560e39ce72c0
|
|---|
| 77 | #11 0x0000560e3922479c in ngx_http_v2_idle_handler (rev=0x560e39e95860) at src/http/v2/ngx_http_v2.c:4862
|
|---|
| 78 | c = 0x560e39e57be0
|
|---|
| 79 | h2scf = <optimized out>
|
|---|
| 80 | h2c = 0x560e39ce72c0
|
|---|
| 81 | clcf = <optimized out>
|
|---|
| 82 | #12 0x0000560e391cac7c in ngx_epoll_process_events (cycle=<optimized out>, timer=<optimized out>, flags=1) at src/event/modules/ngx_epoll_module.c:901
|
|---|
| 83 | events = 1
|
|---|
| 84 | revents = 1
|
|---|
| 85 | instance = 0
|
|---|
| 86 | i = 0
|
|---|
| 87 | level = <optimized out>
|
|---|
| 88 | err = <optimized out>
|
|---|
| 89 | rev = <optimized out>
|
|---|
| 90 | wev = <optimized out>
|
|---|
| 91 | queue = <optimized out>
|
|---|
| 92 | c = 0x560e39e57be0
|
|---|
| 93 | #13 0x0000560e391c16e3 in ngx_process_events_and_timers (cycle=cycle@entry=0x560e39d00fb0) at src/event/ngx_event.c:248
|
|---|
| 94 | flags = 1
|
|---|
| 95 | --Type <RET> for more, q to quit, c to continue without paging--c
|
|---|
| 96 | timer = 59982
|
|---|
| 97 | delta = 5626107826396493094
|
|---|
| 98 | #14 0x0000560e391c913f in ngx_worker_process_cycle (cycle=0x560e39d00fb0, data=<optimized out>) at src/os/unix/ngx_process_cycle.c:721
|
|---|
| 99 | worker = <optimized out>
|
|---|
| 100 | #15 0x0000560e391c78a4 in ngx_spawn_process (cycle=cycle@entry=0x560e39d00fb0, proc=0x560e391c9059 <ngx_worker_process_cycle>, data=0x3, name=0x560e392714ef "worker process", respawn=respawn@entry=3)
|
|---|
| 101 | at src/os/unix/ngx_process.c:199
|
|---|
| 102 | on = 1
|
|---|
| 103 | pid = 0
|
|---|
| 104 | s = <optimized out>
|
|---|
| 105 | #16 0x0000560e391c9a5a in ngx_reap_children (cycle=0x560e39d00fb0) at src/os/unix/ngx_process_cycle.c:598
|
|---|
| 106 | i = <optimized out>
|
|---|
| 107 | live = 1
|
|---|
| 108 | n = <optimized out>
|
|---|
| 109 | ch = {command = 2, pid = 93570, slot = 3, fd = -1}
|
|---|
| 110 | ccf = <optimized out>
|
|---|
| 111 | i = <optimized out>
|
|---|
| 112 | n = <optimized out>
|
|---|
| 113 | live = <optimized out>
|
|---|
| 114 | ch = <optimized out>
|
|---|
| 115 | ccf = <optimized out>
|
|---|
| 116 | #17 ngx_master_process_cycle (cycle=cycle@entry=0x560e39d00fb0) at src/os/unix/ngx_process_cycle.c:174
|
|---|
| 117 | title = <optimized out>
|
|---|
| 118 | p = <optimized out>
|
|---|
| 119 | size = <optimized out>
|
|---|
| 120 | i = <optimized out>
|
|---|
| 121 | sigio = 0
|
|---|
| 122 | set = {__val = {0 <repeats 13 times>, 6, 0, 94619099467720}}
|
|---|
| 123 | itv = {it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 0}}
|
|---|
| 124 | live = <optimized out>
|
|---|
| 125 | delay = 0
|
|---|
| 126 | ccf = 0x560e39d02f50
|
|---|
| 127 | #18 0x0000560e391a230e in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:383
|
|---|
| 128 | b = <optimized out>
|
|---|
| 129 | log = <optimized out>
|
|---|
| 130 | i = <optimized out>
|
|---|
| 131 | cycle = 0x560e39d00fb0
|
|---|
| 132 | init_cycle = {conf_ctx = 0x0, pool = 0x560e39d002a0, log = 0x560e392bebe0 <ngx_log>, new_log = {log_level = 0, file = 0x0, connection = 0, disk_full_time = 0, handler = 0x0, data = 0x0, writer = 0x0,
|
|---|
| 133 | wdata = 0x0, action = 0x0, next = 0x0}, log_use_stderr = 0, files = 0x0, free_connections = 0x0, free_connection_n = 0, modules = 0x0, modules_n = 0, modules_used = 0, reusable_connections_queue = {
|
|---|
| 134 | prev = 0x0, next = 0x0}, reusable_connections_n = 0, connections_reuse_time = 0, listening = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, paths = {elts = 0x0, nelts = 0, size = 0,
|
|---|
| 135 | nalloc = 0, pool = 0x0}, config_dump = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, config_dump_rbtree = {root = 0x0, sentinel = 0x0, insert = 0x0}, config_dump_sentinel = {key = 0,
|
|---|
| 136 | left = 0x0, right = 0x0, parent = 0x0, color = 0 '\000', data = 0 '\000'}, open_files = {last = 0x0, part = {elts = 0x0, nelts = 0, next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, shared_memory = {
|
|---|
| 137 | 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,
|
|---|
| 138 | conf_file = {len = 32, data = 0x560e39d002f0 "/secure/viewqwest.css"}, conf_param = {len = 29, data = 0x7ffc56ecfee4 ""}, conf_prefix = {len = 22, data = 0x560e39d002f0 "/secure/viewqwest.css"}, prefix = {
|
|---|
| 139 | len = 17, data = 0x560e3926d13c "/usr/local/nginx/"}, error_log = {len = 14, data = 0x560e3926d15e "logs/error.log"}, lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
|
|---|
| 140 | cd = <optimized out>
|
|---|
| 141 | ccf = 0x560e39d02f50
|
|---|
| 142 | (gdb) |
|---|