ПРОЕКТЫ 


  АРХИВ 


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 13:35:44 +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=qtmAG+fxORtAS09vDnI9z1E29kpj0nvfR/ZJIL38fZo=; b=dv4r+5TrdtQVjIeg7VZ46+YshVa0ExUF61+sIhCJD0RzZDXBKdNPO5EJEkN5lYJQpZ F9GyLSAKq55QbcCOHho2Lgh9ysYwMrUrdcIFCebIuJMilxtawifnDb3sSRwUjEvCgNei Nex5Ojt1FZ4gyJDJnl4YUIVpIrS3+r4ulLfAs=
  • 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=B3qSd0Vr4wLoCggvyne0IO/sVul1GvpV9c5KoXWzfq84GZbb4UJ2oSj3JIA1xzZ5at bP1o2PVjbyqKIynspcsrlw9RI5uFXaiZi3ir04VUa5jVucuwf1AQZRdsJWjuCAiXIX81 W5KbNCXz9Tzwtrs66X6wJmfBcUmta9a6pkrYM=
  • In-reply-to: <20090221073049.GA31016@xxxxxxxxxxxxx>
  • References: <20090221073049.GA31016@xxxxxxxxxxxxx>

Здравствуйте.

При попытке обновиться при выполнении 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
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 `/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)

ОС и компилятор:

phprus@notebook:~/src/nginx> uname -a
Linux notebook 2.6.25.20-0.1-pae #1 SMP 2008-12-12 20:30:38 +0100 i686 i686 i386 GNU/Linux
phprus@notebook:~/src/nginx> gcc -v
Используются внутренние спецификации.
Целевая архитектура: i586-suse-linux
Параметры конфигурации: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Модель многопоточности: posix
gcc версия 4.3.3 [gcc-4_3-branch revision 143673] (SUSE Linux)

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


21 февраля 2009 г. 12:30 пользователь Igor Sysoev <is@xxxxxxxxxxxxx> написал:
Изменения в nginx 0.7.36                                          21.02.2009

   *) Добавление: предварительная поддержка IPv6; директива listen модуля
      HTTP поддерживает IPv6.

   *) Исправление: переменная $ancient_browser не работала для браузеров,
      заданных директивами modern_browser.


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




 




Copyright © Lexa Software, 1996-2009.