On sob, cze 27, 2009 at 06:02:00 -0400, meto wrote:
> Ok, grate! Without dh_strip package weighs 14MB and current coredumps became readable. Here it is:
> (gdb) bt full
> #0 0x000000000045dae4 in ngx_http_upstream_init (r=0x767b80) at src/http/ngx_http_upstream.c:537
> host = (ngx_str_t *) 0x6f7198
> i = 7773440
> c = (ngx_connection_t *) 0x97d600
> ctx = (ngx_resolver_ctx_t *) 0x30
> temp = {next = 0x7fff3970ee60, resolver = 0xff0a000000000000, udp_connection = 0x0, ident = 139814882679264, state = 4096, type = 0, name = {
> len = 140734157092816, data = 0x0}, naddrs = 0, addrs = 0x7f29303c2360, addr = 190, handler = 0x7fff3970ee80, data = 0x0, timeout = 4375161,
> quick = 9053088, recursion = 4096, event = 0x6f6e10}
> cln = (ngx_http_cleanup_t *) 0x76a3f0
> u = (ngx_http_upstream_t *) 0x769d20
> clcf = (ngx_http_core_loc_conf_t *) 0x755610
> uscf = (ngx_http_upstream_srv_conf_t *) 0x0
> uscfp = (ngx_http_upstream_srv_conf_t **) 0x6f61d0
> umcf = (ngx_http_upstream_main_conf_t *) 0x30
What does
p *u
and
p *(u->conf)
say (in gdb)?
<rant>Why do all pointers on amd64 Linux look like portions of ASCII
strings...</rant>
Care to post your config? Are you using any recently added features?
Try turning caching off and see what happens.
Best regards,
Grzegorz Nosek