Polipo crashes frequently for me when refreshing 
http://forums.anandtech.com/forumdisplay.php?f=15
The error only seems to happen after I wait a long period of time (e.g. 
15 minutes or something) and then refresh the page.

The output messages I get are:
Restarting pipeline to forums.anandtech.com:80.
Restarting pipeline to forums.anandtech.com:80.
Couldn't send request to server: Immediate shutdown requested
Restarting pipeline to forums.anandtech.com:80.
Couldn't send request to server: Connection reset by client
Restarting pipeline to forums.anandtech.com:80.

"Couldn't send request to server: Immediate shutdown requested" seems 
key.  My internet connection may be a bit flaky, by the way, which is 
why I run Polipo.

This particular run was of the current git master, compiled on Ubuntu 
9.04 64-bit, with -O3 instead of -Os, and run in gdb.  Its output was:

Program received signal SIGSEGV, Segmentation fault.
httpServerDirectHandlerCommon (kind=1, status=-65540,
     event=<value optimized out>, srequest=0x1dee830) at server.c:2602
2602        ObjectPtr object = request->object;

And bt full returned:
#0  httpServerDirectHandlerCommon (kind=1, status=-65540,
     event=<value optimized out>, srequest=0x1dee830) at server.c:2602
         connection = (HTTPConnectionPtr) 0x1dec640
         request = (HTTPRequestPtr) 0x0
         object = <value optimized out>
         to = <value optimized out>
         end = <value optimized out>
         end1 = <value optimized out>
         __PRETTY_FUNCTION__ = "httpServerDirectHandlerCommon"
#1  0x0000000000406d0b in do_scheduled_stream (status=1, event=0x1dee810)
     at io.c:240
         request = (StreamRequestPtr) 0x1dee830
         rc = <value optimized out>
         done = <value optimized out>
         i = <value optimized out>
         iov = {{iov_base = 0x1deee20, iov_len = 53}, {iov_base = 
0x1df13a0,
     iov_len = 0}, {iov_base = 0x1df0f30, iov_len = 0}, {
     iov_base = 0x29ac7cf000, iov_len = 31385408}, {iov_base = 0x1dfb440,
     iov_len = 31427248}, {iov_base = 0x1, iov_len = 140555698264576}}
         chunk_header_len = <value optimized out>
         chunk_header = "\t\000\000\000\000\000\000\000H"
         len12 = <value optimized out>
         len123 = <value optimized out>
         __PRETTY_FUNCTION__ = "do_scheduled_stream"
#2  0x0000000000405746 in pokeFdEventHandler (tevent=<value optimized out>)
     at event.c:569
         poke = <value optimized out>
         fd = <value optimized out>
         what = 5
         status = -65540
         done = <value optimized out>
         event = (FdEventHandlerPtr) 0x1dee810
         next = (FdEventHandlerPtr) 0x1df1340
         i = 9
#3  0x000000000040592e in eventLoop () at event.c:492
         rc = <value optimized out>
         done = <value optimized out>
         n = 0
         event = <value optimized out>
#4  0x0000000000412b4c in main (argc=1, argv=0x7fff72e55fb8) at main.c:165
         listener = (FdEventHandlerPtr) 0x0
         i = 1
         rc = <value optimized out>
         expire = 0
         printConfig = 0


Here's an example request sent from Firefox 3.6.  Not the original, but 
a similar one I captured with nc, with the password hash removed just in 
case:
GET http://forums.anandtech.com/forumdisplay.php?f=15 HTTP/1.1
Host: forums.anandtech.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2pre) 
Gecko/20100129 Ubuntu/9.04 (jaunty) Namoroka/3.6.2pre
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://forums.anandtech.com/showthread.php?p=29452616
Cookie: FTSIDEMENU=open; atvblastactivity=0; atvblastvisit=1257198619; 
AnandTechVisitedDate=2/20/2010 11:15:13 PM; 
atusessionf=ca64d746-7268-4f8b-987d-edc0f8e85551; 
atusessionw=cdfa0a56-5fbc-4bae-8e5c-0a0805baaa47; 
myuid=80c0f08d-9e6f-d4c4-3587-77f1a140ebf2; atvbuserid=7117; 
atvbpassword=REDACTEDxxxxxxxxxxxxxxxxxxxxxxxxx; ATLASTVISITED=3/4/2010 
12:16:50 AM; 
atvbforum_view=b33f0e9791a7b27c897d219d5ac5f96c505d6787a-1-%7Bi-15_i-1267724425_%7D;
 
atvbthread_lastview=5748564bca2f6427fd10adcc37fb5ac26d50c54aa-59-%7Bi-2053282_i-1267501554_i-2054945_i-1267554657_i-2054958_i-1267506685_i-2054931_i-1267506549_i-2054963_i-1267506698_i-2054951_i-1267505165_i-2054952_i-1267504952_i-2054909_i-1267503232_i-2054950_i-1267508109_i-2054972_i-1267508395_i-2054967_i-1267508301_i-2054965_i-1267508509_i-2054642_i-1267507122_i-2054938_i-1267549963_i-2055051_i-1267552814_i-2055046_i-1267553187_i-2055089_i-1267554964_i-2055057_i-1267548805_i-2054874_i-1267550683_i-2055040_i-1267554769_i-2054436_i-1267693243_i-2051485_i-1267562119_i-2055374_i-1267650849_i-2055419_i-1267662281_i-2055422_i-1267660723_i-2055399_i-1267655146_i-2055400_i-1267655118_i-2055405_i-1267654452_i-2055426_i-1267655364_i-2055415_i-1267653682_i-2055425_i-1267653528_i-2055430_i-1267652986_i-2050189_i-1267651785_i-2055280_i-1267648901_i-2054772_i-1267652476_i-2055410_i-1267651700_i-2055517_i-1267667560_i-2055494_i-1267678313_i-2055538_i-1267674952_i-2055559_i-1267676060_i
-2055541_i-1267678650_i-2055507_i-1267679799_i-2055279_i-1267679779_i-2055568_i-1267678741_i-2055495_i-1267675668_i-2055729_i-1267728191_i-2055730_i-1267728137_i-2055721_i-1267727961_i-2055727_i-1267728446_i-2055710_i-1267727915_i-2055604_i-1267728830_i-2055672_i-1267728610_i-2055705_i-1267728867_i-2055747_i-1267732275_i-2055715_i-1267732049_i-2055216_i-1267730840_i-2055534_i-1267731835_i-2055670_i-1267732410_i-2055738_i-1267730279_%7D;
 
atvbsessionhash=2b01ea83b23e0b4e2326df0465f7750c; 
ATLASTVISITEDSYS=2/20/2010 11:17:43 PM
Cache-Control: max-age=0


Ken

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to