Можно:<br><br>GNU gdb 6.8<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i586-suse-linux"...<br><br>warning: Can't read pathname for load map: Input/output error.<br>
Reading symbols from /lib/libcrypt.so.1...done.<br>Loaded symbols for /lib/libcrypt.so.1<br>Reading symbols from /usr/lib/libpcre.so.0...done.<br>Loaded symbols for /usr/lib/libpcre.so.0<br>Reading symbols from /usr/lib/libssl.so.0.9.8...done.<br>
Loaded symbols for /usr/lib/libssl.so.0.9.8<br>Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.<br>Loaded symbols for /usr/lib/libcrypto.so.0.9.8<br>Reading symbols from /lib/libz.so.1...done.<br>Loaded symbols for /lib/libz.so.1<br>
Reading symbols from /usr/lib/libxml2.so.2...done.<br>Loaded symbols for /usr/lib/libxml2.so.2<br>Reading symbols from /usr/lib/libxslt.so.1...done.<br>Loaded symbols for /usr/lib/libxslt.so.1<br>Reading symbols from /usr/lib/libexslt.so.0...done.<br>
Loaded symbols for /usr/lib/libexslt.so.0<br>Reading symbols from /lib/libc.so.6...done.<br>Loaded symbols for /lib/libc.so.6<br>Reading symbols from /lib/libdl.so.2...done.<br>Loaded symbols for /lib/libdl.so.2<br>Reading symbols from /lib/libm.so.6...done.<br>
Loaded symbols for /lib/libm.so.6<br>Reading symbols from /lib/libgcrypt.so.11...done.<br>Loaded symbols for /lib/libgcrypt.so.11<br>Reading symbols from /lib/libgpg-error.so.0...done.<br>Loaded symbols for /lib/libgpg-error.so.0<br>
Reading symbols from /lib/ld-linux.so.2...done.<br>Loaded symbols for /lib/ld-linux.so.2<br>Core was generated by `./nginx -t'.<br>Program terminated with signal 11, Segmentation fault.<br>[New process 9284]<br>#0 0x080c552c in ngx_http_fastcgi_pass (cf=0xbffcc56c, cmd=0x80df320, conf=0x8104e30) at src/http/modules/ngx_http_fastcgi_module.c:2294<br>
2294 flcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0);<br>(gdb) bt<br>#0 0x080c552c in ngx_http_fastcgi_pass (cf=0xbffcc56c, cmd=0x80df320, conf=0x8104e30) at src/http/modules/ngx_http_fastcgi_module.c:2294<br>
#1 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=0) at src/core/ngx_conf_file.c:387<br>#2 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237<br>#3 0x0807e74a in ngx_http_core_location (cf=0xbffcc56c, cmd=0x80d9a68, dummy=0x8101658) at src/http/ngx_http_core_module.c:2522<br>
#4 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387<br>#5 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237<br>#6 0x0807e09d in ngx_http_core_server (cf=0xbffcc56c, cmd=0x80d9950, dummy=0x80f5c14) at src/http/ngx_http_core_module.c:2328<br>
#7 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387<br>#8 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0xbffcc0b0) at src/core/ngx_conf_file.c:237<br>#9 0x0805f084 in ngx_conf_include (cf=0xbffcc56c, cmd=0x80d8ec0, conf=0x80f5a24) at src/core/ngx_conf_file.c:781<br>
#10 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=0) at src/core/ngx_conf_file.c:387<br>#11 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x0) at src/core/ngx_conf_file.c:237<br>#12 0x08077cb5 in ngx_http_block (cf=0xbffcc56c, cmd=0x80d9620, conf=0x80f57a8) at src/http/ngx_http.c:241<br>
#13 0x0805e54d in ngx_conf_handler (cf=0xbffcc56c, last=1) at src/core/ngx_conf_file.c:387<br>#14 0x0805e190 in ngx_conf_parse (cf=0xbffcc56c, filename=0x80f5140) at src/core/ngx_conf_file.c:237<br>#15 0x0805b9ce in ngx_init_cycle (old_cycle=0xbffcc630) at src/core/ngx_cycle.c:267<br>
#16 0x0804c0b4 in main (argc=2, argv=0xbffcc7a4) at src/core/nginx.c:301<br>(gdb) <br><br><br><div class="gmail_quote">21 февраля 2009 г. 14:28 пользователь Igor Sysoev <span dir="ltr"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></span> написал:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Sat, Feb 21, 2009 at 01:35:44PM +0500, Владислав Щапов wrote:<br>
<br>
> Здравствуйте.<br>
><br>
> При попытке обновиться при выполнении make upgrade nginx падает.<br>
><br>
> Команда конфигурирования:<br>
> ./configure --prefix=/usr/local/nginx \<br>
> --error-log-path=/var/log/nginx/error.log \<br>
> --http-log-path=/var/log/nginx/access.log \<br>
> --http-client-body-temp-path=/var/spool/nginx/client_body_temp \<br>
> --http-proxy-temp-path=/var/spool/nginx/proxy_temp \<br>
> --http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp \<br>
> --pid-path=/var/run/nginx/nginx.pid \<br>
> --with-http_ssl_module \<br>
> --with-http_sub_module \<br>
> --with-http_gzip_static_module \<br>
> --with-http_addition_module \<br>
> --with-http_flv_module \<br>
> --with-http_xslt_module \<br>
> --with-http_secure_link_module \<br>
> --with-http_dav_module \<br>
> --with-debug<br>
><br>
> А вот что говорит отладчик:<br>
><br>
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # make<br>
> upgrade<br>
> /usr/local/nginx/sbin/nginx -t<br>
> make: *** [upgrade] Ошибка сегментирования (сделан дамп памяти)<br>
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # ls core*<br>
> core.13460<br>
> notebook:/home/phprus/src/nginx/orig_nginx-0.7.36/nginx-0.7.36 # gdb -c<br>
> core.13460 /usr/local/nginx/sbin/nginx<br>
<br>
</div></div><div class="Ih2E3d">> Core was generated by `/usr/local/nginx/sbin/nginx -t'.<br>
> Program terminated with signal 11, Segmentation fault.<br>
> [New process 13460]<br>
> #0 0x080c552c in ngx_http_fastcgi_pass ()<br>
> (gdb) bt<br>
> #0 0x080c552c in ngx_http_fastcgi_pass ()<br>
> #1 0x0805e54d in ngx_conf_handler ()<br>
> #2 0x0805e190 in ngx_conf_parse ()<br>
> #3 0x0807e74a in ngx_http_core_location ()<br>
> #4 0x0805e54d in ngx_conf_handler ()<br>
> #5 0x0805e190 in ngx_conf_parse ()<br>
> #6 0x0807e09d in ngx_http_core_server ()<br>
> #7 0x0805e54d in ngx_conf_handler ()<br>
> #8 0x0805e190 in ngx_conf_parse ()<br>
> #9 0x0805f084 in ngx_conf_include ()<br>
> #10 0x0805e54d in ngx_conf_handler ()<br>
> #11 0x0805e190 in ngx_conf_parse ()<br>
> #12 0x08077cb5 in ngx_http_block ()<br>
> #13 0x0805e54d in ngx_conf_handler ()<br>
> #14 0x0805e190 in ngx_conf_parse ()<br>
> #15 0x0805b9ce in ngx_init_cycle ()<br>
> #16 0x0804c0b4 in main ()<br>
> Current language: auto; currently asm<br>
> (gdb)<br>
<br>
</div>Можно собрать не-strip-нутый бинарник ?</blockquote><div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
> Скажите пожалуйста, а Вы планируйте включать в nginx патч<br>
> <a href="http://www.lexa.ru/nginx-ru/msg22236.html" target="_blank">http://www.lexa.ru/nginx-ru/msg22236.html</a> исправляющий ошибку в обработке<br>
> переменных в SSI?<br>
<br>
</div>Да, что-то типа него будет, но сам патч пока подробно не смотрел.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="Wj3C7c">Игорь Сысоев<br>
<a href="http://sysoev.ru" target="_blank">http://sysoev.ru</a><br>
<br>
</div></div></blockquote></div><br>