Re: worker process xxxx exited on signal 11, отдача файлов

Mikhail Eremin meremin at gmail.com
Wed Oct 8 18:18:35 MSD 2008


и такое

Core was generated by `nginx: worker process   '.
Program terminated with signal 11, Segmentation fault.
[New process 32287]
#0  0x0807b942 in ngx_http_finalize_request (r=0x94c7748, rc=0) at
src/http/ngx_http_request.c:1703
1703        ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
Missing separate debuginfos, use: debuginfo-install e2fsprogs.i386
glibc.i686 keyutils.i386 krb5.i386 libselinux.i386 openssl.i686 pcre.i386
perl.i386 zlib.i386
(gdb) bt
#0  0x0807b942 in ngx_http_finalize_request (r=0x94c7748, rc=0) at
src/http/ngx_http_request.c:1703
#1  0x080787b3 in ngx_http_core_content_phase (r=0x94c7748, ph=0x93de5d8) at
src/http/ngx_http_core_module.c:1014
#2  0x080744a5 in ngx_http_core_run_phases (r=0x94c7748) at
src/http/ngx_http_core_module.c:730
#3  0x080745ce in ngx_http_handler (r=0xbfbc616c) at
src/http/ngx_http_core_module.c:713
#4  0x0807d079 in ngx_http_process_request (r=0x94c7748) at
src/http/ngx_http_request.c:1524
#5  0x0807d6ef in ngx_http_process_request_headers (rev=0x93f6c58) at
src/http/ngx_http_request.c:984
#6  0x0807dc7b in ngx_http_process_request_line (rev=0x93f6c58) at
src/http/ngx_http_request.c:795
#7  0x0807a952 in ngx_http_init_request (rev=0x93f6c58) at
src/http/ngx_http_request.c:470
#8  0x08065884 in ngx_event_process_posted (cycle=0x93623fc,
posted=0x80bf8ac) at src/event/ngx_event_posted.c:39
#9  0x080656b0 in ngx_process_events_and_timers (cycle=0x93623fc) at
src/event/ngx_event.c:272
#10 0x0806bf68 in ngx_worker_process_cycle (cycle=0x93623fc, data=0x0) at
src/os/unix/ngx_process_cycle.c:767
#11 0x0806a80d in ngx_spawn_process (cycle=0x93623fc, proc=0x806b8b0
<ngx_worker_process_cycle>, data=0x0, name=0x80acb6b "worker process",
respawn=-2)
    at src/os/unix/ngx_process.c:187
#12 0x0806b3d6 in ngx_start_worker_processes (cycle=0x93623fc, n=5, type=-2)
at src/os/unix/ngx_process_cycle.c:332
#13 0x0806c4ba in ngx_master_process_cycle (cycle=0x93623fc) at
src/os/unix/ngx_process_cycle.c:124
#14 0x08053022 in main (argc=1, argv=0xbfbc7414) at src/core/nginx.c:354
(gdb) l
1698            return;
1699        }
1700
1701        c = r->connection;
1702
1703        ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
1704                       "http finalize request: %d, \"%V?%V\"",
1705                       rc, &r->uri, &r->args);
1706
1707        if (rc == NGX_DECLINED) {


On Wed, Oct 8, 2008 at 6:16 PM, Mikhail Eremin <meremin at gmail.com> wrote:

> Ошибка от своего модуля исчезла,
> стала вылетать такая
>
> Program terminated with signal 11, Segmentation fault.
> [New process 31810]
> #0  0x08053376 in ngx_log_error_core (level=8, log=0x97edfb0, err=0,
> fmt=0x80af094 "http finalize request: %d, \"%V?%V\"") at
> src/core/ngx_log.c:84
> 84          if (log->file->fd == NGX_INVALID_FILE) {
> Missing separate debuginfos, use: debuginfo-install e2fsprogs.i386
> glibc.i686 keyutils.i386 krb5.i386 libselinux.i386 openssl.i686 pcre.i386
> perl.i386 zlib.i386
> (gdb) bt
> #0  0x08053376 in ngx_log_error_core (level=8, log=0x97edfb0, err=0,
> fmt=0x80af094 "http finalize request: %d, \"%V?%V\"") at
> src/core/ngx_log.c:84
> #1  0x0807b981 in ngx_http_finalize_request (r=0x980c078, rc=0) at
> src/http/ngx_http_request.c:1703
> #2  0x080787b3 in ngx_http_core_content_phase (r=0x980c078, ph=0x97425d4)
> at src/http/ngx_http_core_module.c:1014
> #3  0x080744a5 in ngx_http_core_run_phases (r=0x980c078) at
> src/http/ngx_http_core_module.c:730
> #4  0x080745ce in ngx_http_handler (r=0xbfd84310) at
> src/http/ngx_http_core_module.c:713
> #5  0x0807d079 in ngx_http_process_request (r=0x980c078) at
> src/http/ngx_http_request.c:1524
> #6  0x0807d6ef in ngx_http_process_request_headers (rev=0x975af64) at
> src/http/ngx_http_request.c:984
> #7  0x0807dc7b in ngx_http_process_request_line (rev=0x975af64) at
> src/http/ngx_http_request.c:795
> #8  0x0807a952 in ngx_http_init_request (rev=0x975af64) at
> src/http/ngx_http_request.c:470
> #9  0x08065884 in ngx_event_process_posted (cycle=0x96c63fc,
> posted=0x80bf8ac) at src/event/ngx_event_posted.c:39
> #10 0x080656b0 in ngx_process_events_and_timers (cycle=0x96c63fc) at
> src/event/ngx_event.c:272
> #11 0x0806bf68 in ngx_worker_process_cycle (cycle=0x96c63fc, data=0x0) at
> src/os/unix/ngx_process_cycle.c:767
> #12 0x0806a80d in ngx_spawn_process (cycle=0x96c63fc, proc=0x806b8b0
> <ngx_worker_process_cycle>, data=0x0, name=0x80acb6b "worker process",
> respawn=-2)
>     at src/os/unix/ngx_process.c:187
> #13 0x0806b3d6 in ngx_start_worker_processes (cycle=0x96c63fc, n=5,
> type=-2) at src/os/unix/ngx_process_cycle.c:332
> #14 0x0806c4ba in ngx_master_process_cycle (cycle=0x96c63fc) at
> src/os/unix/ngx_process_cycle.c:124
> #15 0x08053022 in main (argc=1, argv=0xbfd84dd4) at src/core/nginx.c:354
> (gdb) l
> 79      #if (NGX_HAVE_VARIADIC_MACROS)
> 80          va_list  args;
> 81      #endif
> 82          u_char   errstr[NGX_MAX_ERROR_STR], *p, *last;
> 83
> 84          if (log->file->fd == NGX_INVALID_FILE) {
> 85              return;
> 86          }
> 87
> 88          last = errstr + NGX_MAX_ERROR_STR;
>
>
>
> On Wed, Oct 8, 2008 at 4:19 PM, Mikhail Eremin <meremin at gmail.com> wrote:
>
>>
>>
>> On Wed, Oct 8, 2008 at 1:10 PM, Kirill A. Korinskiy <catap at catap.ru>wrote:
>>
>>> At Wed, 8 Oct 2008 01:48:51 +0400,
>>> Mikhail Eremin wrote:
>>> > (gdb) bt
>>> > #0  0x007eebcc in memcpy () from /lib/libc.so.6
>>> > #1  0x0809fa74 in ngx_http_ulink_backend_handler (r=0x96de300) at
>>> src/http/modules/ngx_http_ulink_backend_module.c:637
>>>
>>> Либо исходник и корку сюда давайте, что конечно хорошо, либо сделайте
>>>
>>> up
>>> l
>>>
>>> Для начала
>>>
>>>
>> Спасибо, уже поняли где /dev/hands погнулись, дебажим....
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20081008/6ccfced2/attachment.html>


More information about the nginx-ru mailing list