Re: polipo crashing with SIGPIPE (broken pipe)
"Nelson A. de Oliveira" <[email protected]>
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
Any ideas about this, please? :-) On Fri, Jan 14, 2011 at 12:14 PM, Nelson A. de Oliveira <[email protected]> wrote: > Hi! > > On Fri, Jan 14, 2011 at 6:48 AM, Julien Cristau <[email protected]> wrote: >> I'm pretty sure SIGPIPE in write is expected (when a client goes away, >> e.g.), and that's not a crash. Type 'handle SIGPIPE nostop noprint' at >> the gdb prompt. > > Now it's a SIGABORT. > New gdb output is attached. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Polipo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/polipo-users
gdb.txt
(text/plain, 2.3 KB)
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
Starting program: /usr/bin/polipo
Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
Thread 1 (process 27405):
#0 0xb7fe2424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7eb2751 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
pid = -1208180748
selftid = 27405
#2 0xb7eb5b82 in abort () at abort.c:92
act = {__sigaction_handler = {sa_handler = 0xbffff410,
sa_sigaction = 0xbffff410}, sa_mask = {__val = {3085929613, 104,
96, 3086786548, 89, 104, 96, 89, 135289480, 3086786548, 89, 88,
3221222616, 3085860370, 135289488, 89, 3221222656, 135289488, 0,
4222451712, 135289488, 135289488, 135289488, 135289488,
135289576, 135289588, 135289488, 135289588, 0, 0, 0, 0}},
sa_flags = 0, sa_restorer = 0}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb7eab8b8 in __assert_fail (
assertion=0x8080945 "connection->pipelined >= 1",
file=0x80804eb "server.c", line=1152,
function=0x80818ab "httpServerFinish") at assert.c:81
buf = 0x8105a90 "polipo: server.c:1152: httpServerFinish: Assertion `connection->pipelined >= 1' failed.\n"
#4 0x08068bd5 in httpServerFinish (connection=0x80dfb00, s=1, offset=0)
at server.c:1152
server = 0x0
request = 0xffffffff
i = -1073744392
__PRETTY_FUNCTION__ = "httpServerFinish"
#5 0x0806938a in httpServerDelayedFinishHandler (event=0x80984a8)
at server.c:1323
connection = 0x80dfb00
#6 0x0804c3d2 in runTimeEventQueue () at event.c:492
event = 0x80984a8
done = -1073744296
__PRETTY_FUNCTION__ = "runTimeEventQueue"
#7 0x0804c888 in eventLoop () at event.c:659
sleep_time = {tv_sec = 1295014228, tv_usec = 101133}
timeout = {tv_sec = 0, tv_usec = 21813}
rc = 14
i = 0
done = 1
n = 13
event = 0x80d2020
fd0 = 56
#8 0x08059ea2 in main (argc=1, argv=0xbffff754) at main.c:165
listener = 0x8089700
i = 1
rc = 1
expire = 0
printConfig = 0
A debugging session is active.
Inferior 1 [process 27405] will be killed.
Quit anyway? (y or n)