Changes between Initial Version and Version 1 of Ticket #618, comment 1
- Timestamp:
- 08/31/14 17:53:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #618, comment 1
initial v1 6 6 # sysctl kern.sugid_coredump=1 7 7 # sysctl kern.corefile=/tmp/core/%N.core.%P 8 # gdb /usr/local/sbin/nginx /tmp/core/nginx.core. 253348 # gdb /usr/local/sbin/nginx /tmp/core/nginx.core.36451 9 9 GNU gdb 6.1.1 [FreeBSD] 10 10 Copyright 2004 Free Software Foundation, Inc. … … 13 13 Type "show copying" to see the conditions. 14 14 There is absolutely no warranty for GDB. Type "show warranty" for details. 15 This GDB was configured as "amd64-marcel-freebsd"...(no debugging 16 symbols found)... 15 This GDB was configured as "amd64-marcel-freebsd"... 17 16 Core was generated by `nginx'. 18 17 Program terminated with signal 11, Segmentation fault. 19 Reading symbols from /lib/libcrypt.so.5... (no debugging symbols found)...done.18 Reading symbols from /lib/libcrypt.so.5...done. 20 19 Loaded symbols for /lib/libcrypt.so.5 21 Reading symbols from /usr/local/lib/libpcre.so.3...(no debugging 22 symbols found)...done. 20 Reading symbols from /usr/local/lib/libpcre.so.3...done. 23 21 Loaded symbols for /usr/local/lib/libpcre.so.3 24 Reading symbols from /lib/libz.so.6... (no debugging symbols found)...done.22 Reading symbols from /lib/libz.so.6...done. 25 23 Loaded symbols for /lib/libz.so.6 26 Reading symbols from /usr/local/lib/libgd.so.5...(no debugging symbols 27 found)...done. 24 Reading symbols from /usr/local/lib/libgd.so.5...done. 28 25 Loaded symbols for /usr/local/lib/libgd.so.5 29 Reading symbols from /lib/libc.so.7... (no debugging symbols found)...done.26 Reading symbols from /lib/libc.so.7...done. 30 27 Loaded symbols for /lib/libc.so.7 31 Reading symbols from /lib/libthr.so.3... (no debugging symbols found)...done.28 Reading symbols from /lib/libthr.so.3...done. 32 29 Loaded symbols for /lib/libthr.so.3 33 Reading symbols from /usr/local/lib/libjpeg.so.11...(no debugging 34 symbols found)...done. 30 Reading symbols from /usr/local/lib/libjpeg.so.11...done. 35 31 Loaded symbols for /usr/local/lib/libjpeg.so.11 36 Reading symbols from /lib/libm.so.5... (no debugging symbols found)...done.32 Reading symbols from /lib/libm.so.5...done. 37 33 Loaded symbols for /lib/libm.so.5 38 Reading symbols from /usr/local/lib/libpng15.so.15...(no debugging 39 symbols found)...done. 34 Reading symbols from /usr/local/lib/libpng15.so.15...done. 40 35 Loaded symbols for /usr/local/lib/libpng15.so.15 41 Reading symbols from /usr/local/lib/libfreetype.so.6...(no debugging 42 symbols found)...done. 36 Reading symbols from /usr/local/lib/libfreetype.so.6...done. 43 37 Loaded symbols for /usr/local/lib/libfreetype.so.6 44 Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging 45 symbols found)...done. 38 Reading symbols from /usr/local/lib/libfontconfig.so.1...done. 46 39 Loaded symbols for /usr/local/lib/libfontconfig.so.1 47 Reading symbols from /usr/local/lib/libtiff.so.4...(no debugging 48 symbols found)...done. 40 Reading symbols from /usr/local/lib/libtiff.so.4...done. 49 41 Loaded symbols for /usr/local/lib/libtiff.so.4 50 Reading symbols from /usr/lib/libbz2.so.4... (no debugging symbols found)...done.42 Reading symbols from /usr/lib/libbz2.so.4...done. 51 43 Loaded symbols for /usr/lib/libbz2.so.4 52 Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging 53 symbols found)...done. 44 Reading symbols from /usr/local/lib/libexpat.so.6...done. 54 45 Loaded symbols for /usr/local/lib/libexpat.so.6 55 Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols 56 found)...done. 46 Reading symbols from /usr/lib/liblzma.so.5...done. 57 47 Loaded symbols for /usr/lib/liblzma.so.5 58 Reading symbols from /usr/local/lib/libjbig.so.2...(no debugging 59 symbols found)...done. 48 Reading symbols from /usr/local/lib/libjbig.so.2...done. 60 49 Loaded symbols for /usr/local/lib/libjbig.so.2 61 Reading symbols from /libexec/ld-elf.so.1... (no debugging symbols found)...done.50 Reading symbols from /libexec/ld-elf.so.1...done. 62 51 Loaded symbols for /libexec/ld-elf.so.1 63 #0 0x00000008013cdba0 in strncmp () from /lib/libc.so.7 64 [New Thread 803406400 (LWP 100828/<unknown>)] 65 [New LWP 100767] 52 #0 0x0000000801453ba0 in strncmp () from /lib/libc.so.7 53 [New Thread 803406400 (LWP 100719/<unknown>)] 54 [New LWP 101618] 55 (gdb) set logging on 56 Copying output to gdb.txt. 66 57 (gdb) backtrace full 67 #0 0x0000000801 3cdba0 in strncmp () from /lib/libc.so.758 #0 0x0000000801453ba0 in strncmp () from /lib/libc.so.7 68 59 No symbol table info available. 69 #1 0x0000000000 49c73f in ssl_cipher_ptr_id_cmp()60 #1 0x000000000051e9cf in ssl_parse_clienthello_tlsext () 70 61 No symbol table info available. 71 #2 0x0000000000 48a44d in ssl3_accept()62 #2 0x000000000050c6dd in ssl3_get_client_hello () 72 63 No symbol table info available. 73 #3 0x0000000000 4892c2 in ssl3_accept ()64 #3 0x000000000050b552 in ssl3_accept () 74 65 No symbol table info available. 75 #4 0x0000000000 482d8b in ??()66 #4 0x000000000050501b in ssl23_accept () 76 67 No symbol table info available. 77 #5 0x000000000042b824 in ?? () 78 No symbol table info available. 79 #6 0x0000000000439708 in ?? () 80 No symbol table info available. 81 #7 0x0000000000421dbb in ?? () 82 No symbol table info available. 83 #8 0x0000000000428815 in ?? () 84 No symbol table info available. 85 #9 0x000000000042644f in ?? () 86 No symbol table info available. 87 #10 0x0000000000427799 in ?? () 88 No symbol table info available. 89 #11 0x0000000000426f63 in ?? () 90 No symbol table info available. 91 #12 0x00000000004091df in ?? () 92 No symbol table info available. 93 #13 0x000000000040884f in ?? () 94 No symbol table info available. 95 #14 0x00000008007a1000 in ?? () 96 No symbol table info available. 97 #15 0x0000000000000000 in ?? () 98 No symbol table info available. 68 #5 0x00000000004510bb in ngx_ssl_handshake (c=0x803620180) at src/event/ngx_event_openssl.c:1012 69 n = 0 70 sslerr = 1 71 err = 8 72 #6 0x000000000046c503 in ngx_http_ssl_handshake (rev=0x8036578c0) at src/http/ngx_http_request.c:717 73 p = (u_char *) 0x10036627f0 <Address 0x10036627f0 out of bounds> 74 buf = "\026\000\000\000\000\000\000\000�����\177\000\000�����\177\000\000��D\000\000\000\000\0000����\177\000\000�zI\000\000\000\000\000h\224F\003\b\000\000\000��a\003\b\000\000\000\200\001b\003\b\000\000\000\030\210F\003\b\000\000\000�8g\003\b\000\000\000�xe\003\b\000\000\000�J\005\030+\000\000\000��\203" 75 size = 1 76 n = 1 77 err = 0 78 rc = 34416492928 79 c = (ngx_connection_t *) 0x803620180 80 hc = (ngx_http_connection_t *) 0x80377feb8 81 sscf = (ngx_http_ssl_srv_conf_t *) 0x8034c7940 82 #7 0x000000000043c5f0 in ngx_event_process_posted (cycle=0x803468050, posted=0x83a8a8) at src/event/ngx_event_posted.c:40 83 ev = (ngx_event_t *) 0x8036578c0 84 #8 0x000000000043ad1f in ngx_process_events_and_timers (cycle=0x803468050) at src/event/ngx_event.c:275 85 flags = 3 86 timer = 403 87 delta = 1 88 #9 0x000000000044aaf1 in ngx_worker_process_cycle (cycle=0x803468050, data=0x1) at src/os/unix/ngx_process_cycle.c:822 89 worker = 1 90 i = 140737488344352 91 c = (ngx_connection_t *) 0x7fffffffd630 92 #10 0x00000000004464ee in ngx_spawn_process (cycle=0x803468050, proc=0x44a900 <ngx_worker_process_cycle>, data=0x1, name=0x5b6966 "worker process", respawn=-3) 93 at src/os/unix/ngx_process.c:198 94 on = 1 95 pid = 0 96 s = 1 97 #11 0x00000000004482f9 in ngx_start_worker_processes (cycle=0x803468050, n=4, type=-3) at src/os/unix/ngx_process_cycle.c:368 98 i = 1 99 ch = {command = 1, pid = 36450, slot = 0, fd = 3} 100 #12 0x0000000000447af6 in ngx_master_process_cycle (cycle=0x803468050) at src/os/unix/ngx_process_cycle.c:140 101 title = 0x803615548 "master process /usr/local/sbin/nginx" 102 p = (u_char *) 0x80361556c "" 103 size = 37 104 i = 1 105 n = 140737488345152 106 ---Type <return> to continue, or q <return> to quit--- 107 sigio = 34414690408 108 set = {__bits = {0, 0, 0, 0}} 109 itv = {it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 6, tv_usec = 0}} 110 live = 0 111 delay = 0 112 ls = (ngx_listening_t *) 0x0 113 ccf = (ngx_core_conf_t *) 0x803469158 114 #13 0x0000000000408ee9 in main (argc=1, argv=0x7fffffffdae8) at src/core/nginx.c:407 115 i = 54 116 log = (ngx_log_t *) 0x836a10 117 cycle = (ngx_cycle_t *) 0x803468050 118 init_cycle = {conf_ctx = 0x0, pool = 0x803406800, log = 0x836a10, new_log = {log_level = 0, file = 0x0, connection = 0, handler = 0, data = 0x0, writer = 0, wdata = 0x0, 119 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 = { 120 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, 121 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}, 122 connection_n = 0, files_n = 0, connections = 0x0, read_events = 0x0, write_events = 0x0, old_cycle = 0x0, conf_file = {len = 31, 123 data = 0x5b2e87 "/usr/local/etc/nginx/nginx.conf"}, conf_param = {len = 0, data = 0x0}, conf_prefix = {len = 21, data = 0x5b2e87 "/usr/local/etc/nginx/nginx.conf"}, prefix = { 124 len = 21, data = 0x5b2e71 "/usr/local/etc/nginx/"}, lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}} 125 ccf = (ngx_core_conf_t *) 0x803469158 99 126 }}}