nginx-0.7.36

Владислав Щапов phprus at gmail.com
Sat Feb 21 13:24:32 MSK 2009


Можно:

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 at rambler-co.ru>написал:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090221/499645af/attachment.html>


More information about the nginx-ru mailing list