Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jappix.com - NGINX GDB Core Dump #1
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 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 "i586-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/nginx...Reading symbols from /usr/lib/debug//usr/sbin/nginx...done.
done.
[New LWP 26950]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `nginx: worker process '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x080aa8ef in memcpy (__len=297, __src=0x8d8e92b, __dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:51
51 return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
(gdb) backtrace full
#0 0x080aa8ef in memcpy (__len=297, __src=0x8d8e92b, __dest=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:51
No locals.
#1 ngx_http_v2_state_read_data (h2c=0x8d2b214,
pos=0x8d8e92b "<body xml:lang='fr' rid='549298' sid='dd8662b9-e864-4fd0-8411-cc01269dc607' xmlns='http://jabber.org/protocol/httpbind' key='fab46c2df6386593559de56ce90351b6c4f7ee1a' ><iq xmlns=\"jabber:client\" type=\""...,
end=0x8d8ea54 "8375a' />pp:xbosh' xmpp:version='1.0'/>") at src/http/v2/ngx_http_v2.c:979
size = 297
n = <optimized out>
buf = 0x0
rc = <optimized out>
tf = 0x0
r = 0x8f2b8b8
stream = 0x8f2c54c
rb = 0x8f2c830
#2 0x080abb4d in ngx_http_v2_read_handler (rev=<optimized out>) at src/http/v2/ngx_http_v2.c:357
p = <optimized out>
end = 0x8d8ea54 "8375a' />pp:xbosh' xmpp:version='1.0'/>"
n = <optimized out>
c = <optimized out>
h2mcf = <optimized out>
h2c = 0x8d2b214
#3 0x08066ced in ngx_event_process_posted (cycle=<optimized out>, posted=<optimized out>) at src/event/ngx_event_posted.c:33
q = <optimized out>
ev = <optimized out>
#4 0x080668c4 in ngx_process_events_and_timers (cycle=0x8a7d468) at src/event/ngx_event.c:259
flags = 3
timer = 3003895080
delta = 3003894567
---Type <return> to continue, or q <return> to quit---
#5 0x0806c2a8 in ngx_worker_process_cycle (cycle=0x8a7d468, data=0x1) at src/os/unix/ngx_process_cycle.c:753
worker = 1
#6 0x0806adbc in ngx_spawn_process (cycle=0x8a7d468, proc=0x806c220 <ngx_worker_process_cycle>, data=0x1,
name=0x80e9bee "worker process", respawn=-3) at src/os/unix/ngx_process.c:198
on = 1
pid = 0
s = 1
#7 0x0806c458 in ngx_start_worker_processes (cycle=cycle@entry=0x8a7d468, n=2, type=type@entry=-3)
at src/os/unix/ngx_process_cycle.c:358
i = 1
ch = {command = 1, pid = 26949, slot = 0, fd = 3}
#8 0x0806ce59 in ngx_master_process_cycle (cycle=0x8a7d468) at src/os/unix/ngx_process_cycle.c:130
title = 0x8cf54b4 "master process /usr/sbin/nginx -c /etc/nginx/nginx.conf"
p = <optimized out>
size = <optimized out>
i = <optimized out>
n = <optimized out>
sigio = <optimized out>
set = {__val = {0 <repeats 32 times>}}
itv = {it_interval = {tv_sec = 145219618, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 0}}
live = <optimized out>
delay = <optimized out>
ls = <optimized out>
ccf = 0x3
#9 0x0804dd51 in main (argc=3, argv=0xbfe927f4) at src/core/nginx.c:359
b = <optimized out>
log = <optimized out>
i = <optimized out>
---Type <return> to continue, or q <return> to quit---
cycle = 0x8a7d468
init_cycle = {conf_ctx = 0x0, pool = 0x8a7cf80, log = 0x813c380 <ngx_log>, new_log = {log_level = 0, file = 0x0,
connection = 0, disk_full_time = 0, handler = 0x0, data = 0x0, writer = 0x0, wdata = 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}, config_dump = {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 = 0xbfe92f7e "ss"}, conf_param = {len = 0, data = 0x0}, conf_prefix = {len = 11, data = 0xbfe92f7e "ss"},
prefix = {len = 11, data = 0x80e6aa9 "/etc/nginx/"}, lock_file = {len = 0, data = 0x0}, hostname = {len = 0, data = 0x0}}
cd = <optimized out>
ccf = <optimized out>
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.