httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ranier <ran...@cultura.com.br>
Subject signal SIGPIPE, Broken PIPE, with 2.0.47
Date Wed, 09 Jul 2003 23:47:15 GMT
Hi,

Sometimes when run the httpd, it receive this error:

(gdb) run -X -f /www/conf/httpd-debug.conf
Starting program: /www/bin/httpd -X -f /www/conf/httpd-debug.conf
[New Thread 1024 (LWP 2351)]
[New Thread 2049 (LWP 2390)]
[New Thread 1026 (LWP 2391)]
[New Thread 2051 (LWP 2392)]
[New Thread 3076 (LWP 2393)]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 2051 (LWP 2392)]
0x4025af4b in writev () from /lib/libc.so.6
(gdb) bt
#0  0x4025af4b in writev () from /lib/libc.so.6
#1  0x400b8228 in apr_socket_sendv (sock=0x810c520, vec=0xbf5fc484, nvec=4,
    len=0xbf5fc388) at sendrecv.c:239
#2  0x400b8780 in apr_sendv (sock=0x810c520, vec=0xbf5fc484, nvec=4, 
len=0xbf5fc388)
    at sendrecv.c:1021
#3  0x080a7ad8 in writev_it_all (s=0x810c520, vec=0xbf5fc484, nvec=4, 
len=8162,
    nbytes=0xbf5fc3dc) at core.c:2865
#4  0x080a9d29 in core_output_filter (f=0x810c908, b=0x8110b78) at 
core.c:4170
#5  0x0809ef55 in ap_pass_brigade (next=0x810c908, bb=0x8110b78) at 
util_filter.c:550
#6  0x08081019 in chunk_filter (f=0x81152c0, b=0x8110b78) at http_core.c:260
#7  0x0809ef55 in ap_pass_brigade (next=0x81152c0, bb=0x8110b78) at 
util_filter.c:550
#8  0x080a1f17 in ap_content_length_filter (f=0x810d810, b=0x8110b78)
    at protocol.c:1252
#9  0x0809ef55 in ap_pass_brigade (next=0x810d810, bb=0x8110b78) at 
util_filter.c:550
#10 0x0809f0d8 in ap_filter_flush (bb=0x8110b78, ctx=0x810d810) at 
util_filter.c:587
#11 0x4001d416 in apr_brigade_write (b=0x8110b78, flush=0x809f0bc 
<ap_filter_flush>,
    ctx=0x810d810,
    str=0xbf5fc760 "<TD><A 
HREF=\"/med/agenda/evento?SESSION_ID=a134fee0&action=2&agenda_id=1&data_ano=2003&data_mes=07&data_dia=09&horario=1550&numero=4&url=/med/agenda?SESSION_ID=a134fee0%26agenda_id=1%26data_ano=2003%2"...,

nbyte=236)
    at apr_brigade.c:425
#12 0x080a236d in buffer_output (r=0x810c970,
    str=0xbf5fc760 "<TD><A 
HREF=\"/med/agenda/evento?SESSION_ID=a134fee0&action=2&agenda_id=1&data_ano=2003&data_mes=07&data_dia=09&horario=1550&numero=4&url=/med/agenda?SESSION_ID=a134fee0%26agenda_id=1%26data_ano=2003%2"...,

len=236) at protocol.c:1369
#13 0x080a25b3 in ap_vrprintf (r=0x810c970,
    fmt=0x80ba400 "<TD><A 
HREF=\"/med/agenda/evento?%s=%s&action=%u&agenda_id=%u&data_ano=%.04u&data_mes=%.02u&data_dia=%.02u&horario=%u&numero=%u&url=%s\">Novo</A>",
    va=0xbf5fe7b4) at protocol.c:1463
#14 0x080a2612 in ap_rprintf (r=0x810c970,
    fmt=0x80ba400 "<TD><A 
HREF=\"/med/agenda/evento?%s=%s&action=%u&agenda_id=%u&data_ano=%.04u&data_mes=%.02u&data_dia=%.02u&horario=%u&numero=%u&url=%s\">Novo</A>")
---Type <return> to continue, or q <return> to quit---
    at protocol.c:1481
#15 0x0806d78b in vt_med_agenda_linhas (r=0x810c970, agenda=0x8110848, 
numero=1,
    qtde=5, horario=1550,
    url=0x8112d90 
"/med/agenda?SESSION_ID=a134fee0%26agenda_id=1%26data_ano=2003%26data_mes=07%26data_dia=09")

at vt_med_agenda.c:587
#16 0x0806cda5 in vt_med_agenda_pagina (r=0x810c970, agenda=0x8110848, 
db=0x80eaf50)
    at vt_med_agenda.c:421
#17 0x0806bed4 in med_agenda (r=0x810c970) at vt_med_agenda.c:136
#18 0x0806bb64 in med_agenda_handler (r=0x810c970) at vt_med_agenda.c:69
#19 0x080908e1 in ap_run_handler (r=0x810c970) at config.c:194
#20 0x080910de in ap_invoke_handler (r=0x810c970) at config.c:401
#21 0x0808704c in ap_process_request (r=0x810c970) at http_request.c:288
#22 0x080810fa in ap_process_http_connection (c=0x810c600) at 
http_core.c:293
#23 0x0809c781 in ap_run_process_connection (c=0x810c600) at connection.c:85
#24 0x0809cb84 in ap_process_connection (c=0x810c600, csd=0x810c520)
    at connection.c:211
#25 0x0808ced7 in process_socket (p=0x810c290, sock=0x810c520, 
my_child_num=0,
    my_thread_num=0, bucket_alloc=0x8109d90) at worker.c:632
#26 0x0808d6bd in worker_thread (thd=0x80e0968, dummy=0x80e0958) at 
worker.c:947
#27 0x400bccec in dummy_worker (opaque=0x80e0968) at thread.c:127
#28 0x4010415c in pthread_start_thread () from /lib/libpthread.so.0
#29 0x40104dd5 in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb)
(gdb) c
Continuing.

Program received signal SIGPIPE, Broken pipe.
0x4025af4b in writev () from /lib/libc.so.6
(gdb) c
Continuing.
----------------------------------------------------------------------------------------------------------------
gcc 2.95.3
Linux 2.4.18 Conectiva 8
httpd-2.0.47

CPPFLAGS="-DDEBUG -DAPR_POOL_DEBUG"
export CPPFLAGS
./configure --prefix=/www --disable-rewrite --disable-include 
--disable-env --disable-setenvif --disable-status --disable-autoindex 
--disable-asis --disable-cgi --disable-cgid --disable-negotiation 
--disable-userdir --disable-actions --with-mpm=worker
----------------------------------------------------------------------------------------------------------------
But, forcing the execution, the server respond the requests.

Anyone, know about this error?

Thanks.

Ranier Vilela
RC Software


Mime
View raw message