ПРОЕКТЫ 


  АРХИВ 


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: SIGSEGV в ngx_create_full_path()


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: SIGSEGV в ngx_create_full_path()
  • From: Victor Antonovich <v.antonovich@xxxxxxxxx>
  • Date: Fri, 20 Aug 2010 12:03:56 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VfmLLebEUqRfbmO9VndKLl9gxrlSNGSkauupUamirCA=; b=kqAFYHXkXw7ei1YoICYSqzcmNBMpi6gzq9Epd7KB7cxZ/9lDMJSBZ189+8vWGwzTQT inYfAucBA4Qy7WCevx7W1186T7iEa/yx/uWUA+kbOaF6qUBXg+HE458HqOjhnnzRW20u mkbSYY952rzfk+Tmmn0IjYtSvTbhSMBQYB0z0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=c59Rmu4IhZf0XhjzEPTrVib+/ZM1truTl5E8ykCxzYIvFgmcl4rCEjrJQQktrQmcPg 0GBnFWHgJDUhTuiq6BJZK7pRTpLTz1cAFqZ3Adv5t1IDw54d3RXyL84EFk4bD9Ne79DN K4Ql9zCcCe9FtB3fQN/q8uCVy3oZbtD1Qk+PA=
  • In-reply-to: <20100819061419.GK99657@xxxxxxxxxx>
  • References: <4C6BE95F.7030000@xxxxxxxxx> <20100819061419.GK99657@xxxxxxxxxx>

Добрый день!

19.08.2010 10:14, Maxim Dounin пишет:

Бектрейс некорректный, такой последовательности вызовов быть
просто не может.  Скорее всего в процессе работы в gdb корка была
перезаписана следующей.

Хотелось бы увидеть нормальный бектрейс, а равно debug log
запроса, приводящего к падению.  Спасибо.

Прошу прощения, бектрейс был сделан не с теми debug symbols. Вот исправленный бектрейс:

#0 0x0805b0b4 in ngx_ext_rename_file (src=0x4, to=0xbfe84160, ext=0xbfe84148) at src/core/ngx_file.c:544 #1 0x0809d04e in ngx_http_dav_put_handler (r=0x9e40b50) at src/http/modules/ngx_http_dav_module.c:260 #2 0x08083598 in ngx_http_read_client_request_body (r=0x9e40b50, post_handler=0x809cf50 <ngx_http_dav_put_handler>) at src/http/ngx_http_request_body.c:152 #3 0x0809cdc2 in ngx_http_dav_handler (r=0x9e40b50) at src/http/modules/ngx_http_dav_module.c:171 #4 0x080795dc in ngx_http_core_content_phase (r=0x9e40b50, ph=0x9eaa140) at src/http/ngx_http_core_module.c:1286 #5 0x08074f6b in ngx_http_core_run_phases (r=0x9e40b50) at src/http/ngx_http_core_module.c:817 #6 0x0807b113 in ngx_http_request_handler (ev=0x1b4) at src/http/ngx_http_request.c:1806 #7 0x08067d6f in ngx_event_process_posted (cycle=0x9e05f90, posted=0x80dd214) at src/event/ngx_event_posted.c:39 #8 0x08067bc3 in ngx_process_events_and_timers (cycle=0x9e05f90) at src/event/ngx_event.c:272 #9 0x0806d6b9 in ngx_worker_process_cycle (cycle=0x9e05f90, data=0x0) at src/os/unix/ngx_process_cycle.c:791 #10 0x0806bd22 in ngx_spawn_process (cycle=0x9e05f90, proc=0x806d620 <ngx_worker_process_cycle>, data=0x0, name=0x80bde69 "worker process", respawn=-4)
    at src/os/unix/ngx_process.c:194
#11 0x0806cc4c in ngx_start_worker_processes (cycle=0x9e05f90, n=3, type=-4) at src/os/unix/ngx_process_cycle.c:355 #12 0x0806e093 in ngx_master_process_cycle (cycle=0x9e05f90) at src/os/unix/ngx_process_cycle.c:249
#13 0x080547bf in main (argc=3, argv=0xbfe846a4) at src/core/nginx.c:396

Access-log:

192.168.1.10 - - [20/Aug/2010:11:22:56 +0400] GET /obr/repository-remote.xml.lock HTTP/1.1 "200" 1 "-" "Apache-Maven/2.2 (Java 1.6.0_18; Linux 2.6.33.6-147.2.4_1.cubbi_tuxonice.fc13.x86_64) maven-artifact/2.2.1" "-" 192.168.1.10 - - [20/Aug/2010:11:22:56 +0400] PUT /obr/repository-remote.xml.lock HTTP/1.1 "204" 0 "-" "Apache-Maven/2.2 (Java 1.6.0_18; Linux 2.6.33.6-147.2.4_1.cubbi_tuxonice.fc13.x86_64) maven-artifact/2.2.1" "-" 192.168.1.10 - - [20/Aug/2010:11:22:56 +0400] GET /obr/repository-remote.xml HTTP/1.1 "200" 384713 "-" "Apache-Maven/2.2 (Java 1.6.0_18; Linux 2.6.33.6-147.2.4_1.cubbi_tuxonice.fc13.x86_64) maven-artifact/2.2.1" "-" 192.168.1.10 - - [20/Aug/2010:11:22:57 +0400] PUT /obr/repository-remote.xml HTTP/1.1 "204" 0 "-" "Apache-Maven/2.2 (Java 1.6.0_18; Linux 2.6.33.6-147.2.4_1.cubbi_tuxonice.fc13.x86_64) maven-artifact/2.2.1" "-" 192.168.1.10 - - [20/Aug/2010:11:22:57 +0400] PUT /obr/repository-remote.xml.lock HTTP/1.1 "204" 0 "-" "Apache-Maven/2.2 (Java 1.6.0_18; Linux 2.6.33.6-147.2.4_1.cubbi_tuxonice.fc13.x86_64) maven-artifact/2.2.1" "-"

Debug-log: http://pastebin.com/RbZtUB5v

---
С уважением,

Антонович Виктор.

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


 




Copyright © Lexa Software, 1996-2009.