Re: SIGSEGV в ngx_create_full_path()
Victor Antonovich
v.antonovich на gmail.com
Пт Авг 20 12:03:56 MSD 2010
Добрый день!
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