ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash report


  • To: nginx-ru@xxxxxxxxx
  • Subject: Crash report
  • From: "mike1" <nginx-forum@xxxxxxxx>
  • Date: Sat, 02 Apr 2011 00:58:39 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=zBYluNuQK8NZMkSbsLNazwpghM16ggnslbTnDRYNIPM=; b=J4EjcrHVaQNcsM14D52BgrlWuypm4aV0PJjjVGXjkuKQyE2EFDJYQRUcr7dd3EMkwlzR8dJQflINWYFaOVdPVu1lt9wllSKeu22ol3Q2vZDmBnu28eg0F6NBy1/LAO6c;

Здравствуйте!
У меня Gentoo 64 bit. После установки push module
nginx начал трапаться примерно раз в 2
часа (нагрузка совсем не большая. При
более интенсивной нагрузке раз в 15
минут). Понимаю, что не совсем по адресу,
но на местном github-е никакой реакции не
последовало. Также не воспоследовало
реакции на мое письмо разработчику push
module.
Как я понимаю, причина падения в том,
что не проходит какая-то проверка в nginx
(range in overlapped buffers), может быть, уважаемые
разработчики nginx посоветуют, что можно
сделать (например, пересобрать nginx в 32
bit).
Я собрал debug-версию и получил backtrace.

nginx -V
nginx version: nginx/0.8.52
TLS SNI support enabled
configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock --user=nginx --group=nginx
--with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib
--http-log-path=/var/log/nginx/access_log
--http-client-body-temp-path=/var/tmp/nginx/client
--http-proxy-temp-path=/var/tmp/nginx/proxy
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi
--http-scgi-temp-path=/var/tmp/nginx/scgi
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-debug --with-pcre
--with-http_geoip_module --with-http_xslt_module
--with-http_realip_module
--add-module=/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692
--with-http_ssl_module --without-mail_imap_module
--without-mail_pop3_module --without-mail_smtp_module

warning: Can not parse XML syscalls information; XML support was
disabled at compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/sbin/nginx...done.

warning: Can't read pathname for load map: Input/output error.
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/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libxslt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libxslt.so.1
Reading symbols from /usr/lib/libexslt.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libexslt.so.0
Reading symbols from /usr/lib/libGeoIP.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libGeoIP.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
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
Reading symbols from /usr/lib64/gconv/CP1251.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/gconv/CP1251.so
Core was generated by `nginx: worker process                   '.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fbf247b7358 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x00007fbf247b7358 in ?? () from /lib/libc.so.6
#1  0x00000000004080e7 in ngx_log_error_core (level=2,
log=0x7fbf247b7358, err=0,
    fmt=0x47d280 "range in overlapped buffers") at
src/core/ngx_log.c:133
#2  0x000000000044b16b in ngx_http_range_test_overlapped (r=0x8ddc340,
in=0x8d50190)
    at src/http/modules/ngx_http_range_filter_module.c:614
#3  ngx_http_range_body_filter (r=0x8ddc340, in=0x8d50190) at
src/http/modules/ngx_http_range_filter_module.c:566
#4  0x000000000042d045 in ngx_http_output_filter (r=0x8ddc340,
in=0x8d50190) at src/http/ngx_http_core_module.c:1836
#5  0x0000000000471e48 in ngx_http_push_respond_to_subscribers
(channel=0x7fbf1c469000, sentinel=0x8d4ff20,
    msg=0x7fbf1c5b9400, status_code=<value optimized out>,
status_line=<value optimized out>)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:857
#6  0x0000000000472591 in ngx_http_push_process_worker_message
(ev=0x8c4d8a8)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module_ipc.c:198
#7  ngx_http_push_channel_handler (ev=0x8c4d8a8)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module_ipc.c:143
#8  0x00000000004250d6 in ngx_epoll_process_events (cycle=0x799fd0,
timer=<value optimized out>,
    flags=<value optimized out>) at
src/event/modules/ngx_epoll_module.c:642
#9  0x000000000041c36e in ngx_process_events_and_timers (cycle=0x799fd0)
at src/event/ngx_event.c:245
#10 0x00000000004237c6 in ngx_worker_process_cycle (cycle=0x799fd0,
data=<value optimized out>)
    at src/os/unix/ngx_process_cycle.c:795
#11 0x0000000000421b99 in ngx_spawn_process (cycle=0x799fd0,
proc=0x4236e0 <ngx_worker_process_cycle>, data=0x0,
    name=0x477cb6 "worker process", respawn=0) at
src/os/unix/ngx_process.c:196
#12 0x00000000004241ff in ngx_reap_children (cycle=0x799fd0) at
src/os/unix/ngx_process_cycle.c:612
#13 ngx_master_process_cycle (cycle=0x799fd0) at
src/os/unix/ngx_process_cycle.c:180
#14 0x0000000000407969 in main (argc=<value optimized out>,
argv=0x7fff2dff4cc8) at src/core/nginx.c:401
(gdb) \q

И еще один:
Core was generated by `nginx: worker process                   '.
Program terminated with signal 11, Segmentation fault.
#0  ngx_http_push_broadcast_locked (channel=0x7fbf1c469000,
msg=0x7fbf1c5dd700, status_code=0, status_line=0x0,
    log=0x8dbb710, shpool=0x7fbf1c437000)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:515
515    
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:
No such file or directory.
        in
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c
(gdb) bt
#0  ngx_http_push_broadcast_locked (channel=0x7fbf1c469000,
msg=0x7fbf1c5dd700, status_code=0, status_line=0x0,
    log=0x8dbb710, shpool=0x7fbf1c437000)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:515
#1  0x00000000004734a3 in ngx_http_push_publisher_body_handler
(r=0x8e121d0)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:692
#2  0x000000000043d19e in ngx_http_do_read_client_request_body
(r=0x8e121d0) at src/http/ngx_http_request_body.c:378
#3  0x000000000043d257 in ngx_http_read_client_request_body_handler
(r=0x8e121d0) at src/http/ngx_http_request_body.c:251
#4  0x0000000000432bef in ngx_http_request_handler (ev=0x8c4e6e0) at
src/http/ngx_http_request.c:1791
#5  0x000000000041cbe4 in ngx_event_process_posted (cycle=0x799fd0,
posted=0x6a0cd8) at src/event/ngx_event_posted.c:39
#6  0x00000000004237c6 in ngx_worker_process_cycle (cycle=0x799fd0,
data=<value optimized out>)
    at src/os/unix/ngx_process_cycle.c:795
#7  0x0000000000421b99 in ngx_spawn_process (cycle=0x799fd0,
proc=0x4236e0 <ngx_worker_process_cycle>, data=0x0,
    name=0x477cb6 "worker process", respawn=2) at
src/os/unix/ngx_process.c:196
#8  0x00000000004241ff in ngx_reap_children (cycle=0x799fd0) at
src/os/unix/ngx_process_cycle.c:612
#9  ngx_master_process_cycle (cycle=0x799fd0) at
src/os/unix/ngx_process_cycle.c:180
#10 0x0000000000407969 in main (argc=<value optimized out>,
argv=0x7fff2dff4cc8) at src/core/nginx.c:401
(gdb)

И еще один:
Core was generated by `nginx: worker process                   '.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000045838c in ngx_http_xslt_header_filter (r=0x8e26fa0) at
src/http/modules/ngx_http_xslt_filter_module.c:171
171     src/http/modules/ngx_http_xslt_filter_module.c: No such file or
directory.
        in src/http/modules/ngx_http_xslt_filter_module.c
(gdb) bt
#0  0x000000000045838c in ngx_http_xslt_header_filter (r=0x8e26fa0) at
src/http/modules/ngx_http_xslt_filter_module.c:171
#1  0x0000000000458f04 in ngx_http_userid_filter (r=0x8e26fa0) at
src/http/modules/ngx_http_userid_filter_module.c:215
#2  0x000000000044c382 in ngx_http_headers_filter (r=0x8e26fa0) at
src/http/modules/ngx_http_headers_filter_module.c:175
#3  0x00000000004703b6 in
ngx_http_push_prepare_response_to_subscriber_request (r=0x8e26fa0,
chain=0x8d4e160,
    content_type=<value optimized out>, etag=<value optimized out>,
last_modified=<value optimized out>)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:1132
#4  0x0000000000471e48 in ngx_http_push_respond_to_subscribers
(channel=0x7f9d00070000, sentinel=0x8d4dfd0,
    msg=0x7f9d00084e80, status_code=<value optimized out>,
status_line=<value optimized out>)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module.c:857
#5  0x0000000000472591 in ngx_http_push_process_worker_message
(ev=0x8e698a8)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module_ipc.c:198
#6  ngx_http_push_channel_handler (ev=0x8e698a8)
    at
/var/tmp/portage/www-servers/nginx-0.8.52/work/nginx_http_push_module-0.692/src/ngx_http_push_module_ipc.c:143
#7  0x00000000004250d6 in ngx_epoll_process_events (cycle=0x9b5fd0,
timer=<value optimized out>,
    flags=<value optimized out>) at
src/event/modules/ngx_epoll_module.c:642
#8  0x000000000041c36e in ngx_process_events_and_timers (cycle=0x9b5fd0)
at src/event/ngx_event.c:245
#9  0x00000000004237c6 in ngx_worker_process_cycle (cycle=0x9b5fd0,
data=<value optimized out>)
    at src/os/unix/ngx_process_cycle.c:795
#10 0x0000000000421b99 in ngx_spawn_process (cycle=0x9b5fd0,
proc=0x4236e0 <ngx_worker_process_cycle>, data=0x0,
    name=0x477cb6 "worker process", respawn=-3) at
src/os/unix/ngx_process.c:196
#11 0x0000000000422c42 in ngx_start_worker_processes (cycle=0x9b5fd0,
n=6, type=-3) at src/os/unix/ngx_process_cycle.c:355
#12 0x0000000000423d0d in ngx_master_process_cycle (cycle=0x9b5fd0) at
src/os/unix/ngx_process_cycle.c:136
#13 0x0000000000407969 in main (argc=<value optimized out>,
argv=0x7fff11bfb8d8) at src/core/nginx.c:401

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,187576,187576#msg-187576


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.