nginx-0.8.53 segfault
Maxim C.
lists at ruby-forum.com
Fri Jan 14 15:26:30 MSK 2011
Maxim, thank you.
My CFLAGS variable wasn't empty, after setting it to CFLAGS="-ggdb"
before configure i got nginx binary with debugging symbols.
# gdb /usr/sbin/nginx /var/spool/nginx/cores/core
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/sbin/nginx...done.
[New Thread 27193]
warning: Can't read pathname for load map: Ошибка ввода/вывода.
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpcre.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpcre.so.0
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libgd.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgd.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `nginx: worker process '.
Program terminated with signal 11, Segmentation fault.
#0 0x080aaca8 in ngx_http_file_cache_update (r=0x82085a8, tf=0x820a4ec)
at src/http/ngx_http_file_cache.c:790
790 if (c->updated) {
(gdb) bt
#0 0x080aaca8 in ngx_http_file_cache_update (r=0x82085a8, tf=0x820a4ec)
at src/http/ngx_http_file_cache.c:790
#1 0x0809f213 in ngx_http_upstream_process_request (r=0x82085a8)
at src/http/ngx_http_upstream.c:2661
#2 0x0809f054 in ngx_http_upstream_process_upstream (r=0x82085a8,
u=0x8209d68)
at src/http/ngx_http_upstream.c:2603
#3 0x0809e701 in ngx_http_upstream_send_response (r=0x82085a8,
u=0x8209d68)
at src/http/ngx_http_upstream.c:2292
#4 0x0809cf89 in ngx_http_upstream_process_header (r=0x82085a8,
u=0x8209d68)
at src/http/ngx_http_upstream.c:1589
#5 0x0809ba4a in ngx_http_upstream_handler (ev=0x818fc40)
at src/http/ngx_http_upstream.c:895
#6 0x08074f9a in ngx_epoll_process_events (cycle=0x8100018, timer=500,
flags=1) at src/event/modules/ngx_epoll_module.c:642
#7 0x08068211 in ngx_process_events_and_timers (cycle=0x8100018)
at src/event/ngx_event.c:245
#8 0x08073177 in ngx_worker_process_cycle (cycle=0x8100018, data=0x0)
at src/os/unix/ngx_process_cycle.c:795
#9 0x0807063d in ngx_spawn_process (cycle=0x8100018,
proc=0x807302c <ngx_worker_process_cycle>, data=0x0,
name=0x80cbe9a "worker process", respawn=5)
at src/os/unix/ngx_process.c:196
#10 0x08072d57 in ngx_reap_children (cycle=0x8100018)
---Type <return> to continue, or q <return> to quit---
at src/os/unix/ngx_process_cycle.c:612
#11 0x08071e06 in ngx_master_process_cycle (cycle=0x8100018)
at src/os/unix/ngx_process_cycle.c:180
#12 0x0804c730 in main (argc=3, argv=0xbb708f04) at src/core/nginx.c:401
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list