ПРОЕКТЫ 


  АРХИВ 


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]

Re: nginx-0.7.36


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx-0.7.36
  • From: Владислав Щапов <phprus@xxxxxxxxx>
  • Date: Sat, 21 Feb 2009 15:24:32 +0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=PqtIJhM1yVZcz0wqMa61qxT3VZUw3db7NxcYA0Xa67g=; b=oAfu9knGbqauR3o1X9LWM/wXn+lHOwIzfpwlZJptftafULNWS2FonVehd+TrWoikPt G2Tv9NzilVeyojxU0DnVro/IvwoToZWJixFi0564zYbWHaOAnwZaKJJkyFQlbMWO3R19 W+fWVu2P2Z6Ysvb/GVGFbn10qqNRQLAvxG5c4=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aOcR4pmcJcarf/UyXYLNuD4lFYS633NvV8UbGCqJcwNQJj9qfLUhwPbrwFBgjJULzw LN1fZ5dVLudFbdI/zrXSWMhzwUaU0WpeBmBsFz7FIjhJpGShKbp70cU4HkqHFybJWtCn KOtPkQVTdt6KbjeJBn0ndxC2TAP+lpx71mKxI=
  • In-reply-to: <20090221092832.GD31016@xxxxxxxxxxxxx>
  • References: <20090221073049.GA31016@xxxxxxxxxxxxx> <5878e6090902210035n2eb94c7r1a4432dd1ec7a2a1@xxxxxxxxxxxxxx> <20090221092832.GD31016@xxxxxxxxxxxxx>

Можно:

GNU gdb 6.8
Copyright (C) 2008 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-suse-linux"...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libpcre.so.0...done.
Loaded symbols for /usr/lib/libpcre.so.0
Reading symbols from /usr/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libxslt.so.1...done.
Loaded symbols for /usr/lib/libxslt.so.1
Reading symbols from /usr/lib/libexslt.so.0...done.
Loaded symbols for /usr/lib/libexslt.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcrypt.so.11...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /lib/libgpg-error.so.0...done.
Loaded symbols for /lib/libgpg-error.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `./nginx -t'.
Program terminated with signal 11, Segmentation fault.
[New process 9284]
#0  0x080c552c in ngx_http_fastcgi_pass (cf=0xbffcc56c, cmd=0x80df320, conf=0x8104e30) at src/http/modules/ngx_http_fastcgi_module.c:2294
2294        flcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0);
(gdb) bt
#0  0x080c552c in ngx_http_fastcgi_pass (cf=0xbffcc56c, cmd=0x80df320, conf=0x8104e30) at src/http/modules/ngx_http_fastcgi_module.c:2294
#1  0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=0) at src/core/ngx_conf_file.c:387
#2  0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237
#3  0x0807e74a in ngx_http_core_location (cf=0xbffcc56c, cmd=0x80d9a68, dummy=0x8101658) at src/http/ngx_http_core_module.c:2522
#4  0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387
#5  0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237
#6  0x0807e09d in ngx_http_core_server (cf=0xbffcc56c, cmd=0x80d9950, dummy=0x80f5c14) at src/http/ngx_http_core_module.c:2328
#7  0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387
#8  0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0xbffcc0b0) at src/core/ngx_conf_file.c:237
#9  0x0805f084 in ngx_conf_include (cf=0xbffcc56c, cmd=0x80d8ec0, conf=0x80f5a24) at src/core/ngx_conf_file.c:781
#10 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=0) at src/core/ngx_conf_file.c:387
#11 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237
#12 0x08077cb5 in ngx_http_block (cf=0xbffcc56c, cmd=0x80d9620, conf=0x80f57a8) at src/http/ngx_http.c:241
#13 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387
#14 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x80f5140) at src/core/ngx_conf_file.c:237
#15 0x0805b9ce in ngx_init_cycle (old_cycle=0xbffcc630) at src/core/ngx_cycle.c:267
#16 0x0804c0b4 in main (argc=2, argv=0xbffcc7a4) at src/core/nginx.c:301
(gdb)                                      


21 февраля 2009 г. 14:28 пользователь Igor Sysoev <is@xxxxxxxxxxxxx> написал:
On Sat, Feb 21, 2009 at 01:35:44PM +0500, Владислав Щапов wrote:

> Здравствуйте.
>
> При попытке обновиться при выполнении make upgrade nginx падает.
>
> Команда конфигурирования:
> ./configure --prefix=/usr/local/nginx \
>             --error-log-path=/var/log/nginx/error.log \
>             --http-log-path=/var/log/nginx/access.log \
>             --http-client-body-temp-path=/var/spool/nginx/client_body_temp \
>             --http-proxy-temp-path=/var/spool/nginx/proxy_temp \
>             --http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp \
>             --pid-path=/var/run/nginx/nginx.pid \
>             --with-http_ssl_module \
>             --with-http_sub_module \
>             --with-http_gzip_static_module \
>             --with-http_addition_module \
>             --with-http_flv_module \
>             --with-http_xslt_module \
>             --with-http_secure_link_module \
>             --with-http_dav_module \
>             --with-debug
>
> А вот что говорит отладчик:
>
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # make
> upgrade
> /usr/local/nginx/sbin/nginx -t
> make: *** [upgrade] Ошибка сегментирования (сделан дамп памяти)
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # ls core*
> core.13460
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # gdb -c
> core.13460 /usr/local/nginx/sbin/nginx

> Core was generated by `/usr/local/nginx/sbin/nginx -t'.
> Program terminated with signal 11, Segmentation fault.
> [New process 13460]
> #0  0x080c552c in ngx_http_fastcgi_pass ()
> (gdb) bt
> #0  0x080c552c in ngx_http_fastcgi_pass ()
> #1  0x0805e54d in ngx_conf_handler ()
> #2  0x0805e190 in ngx_conf_parse ()
> #3  0x0807e74a in ngx_http_core_location ()
> #4  0x0805e54d in ngx_conf_handler ()
> #5  0x0805e190 in ngx_conf_parse ()
> #6  0x0807e09d in ngx_http_core_server ()
> #7  0x0805e54d in ngx_conf_handler ()
> #8  0x0805e190 in ngx_conf_parse ()
> #9  0x0805f084 in ngx_conf_include ()
> #10 0x0805e54d in ngx_conf_handler ()
> #11 0x0805e190 in ngx_conf_parse ()
> #12 0x08077cb5 in ngx_http_block ()
> #13 0x0805e54d in ngx_conf_handler ()
> #14 0x0805e190 in ngx_conf_parse ()
> #15 0x0805b9ce in ngx_init_cycle ()
> #16 0x0804c0b4 in main ()
> Current language:  auto; currently asm
> (gdb)

Можно собрать не-strip-нутый бинарник ?


> Скажите пожалуйста, а Вы планируйте включать в nginx патч
> http://www.lexa.ru/nginx-ru/msg22236.html исправляющий ошибку в обработке
> переменных в SSI?

Да, что-то типа него будет, но сам патч пока подробно не смотрел.


--
Игорь Сысоев
http://sysoev.ru




 




Copyright © Lexa Software, 1996-2009.