This is with 1.0.4.  Here's a backtrace.

Program received signal SIGSEGV, Segmentation fault.
0x00007f2b630ab8c0 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x00007f2b630ab8c0 in strlen () from /lib/libc.so.6
#1  0x00007f2b63079538 in vfprintf () from /lib/libc.so.6
#2  0x00007f2b6309c14a in vsnprintf () from /lib/libc.so.6
#3  0x000000000040d82b in accumulateSyslogV (type=32, f=0x43da68 " (%d 
%d %d %s -> %d %d %d %s)\n",
    args=0x7fff6b5a4b50) at log.c:284
#4  0x000000000040db72 in really_do_log_v (type=32, f=0x43da68 " (%d %d 
%d %s -> %d %d %d %s)\n",
    args=0x7fff6b5a4b50) at log.c:378
#5  0x000000000040db11 in really_do_log (type=32, f=0x43da68 " (%d %d %d 
%s -> %d %d %d %s)\n")
    at log.c:366
#6  0x000000000042663a in httpServerHandlerHeaders (eof=0, 
event=0x1ae1ae0, srequest=0x1ae1b00,
    connection=0x1ae1800) at server.c:2132
#7  0x00000000004256e7 in httpServerReplyHandler (status=0, 
event=0x1ae1ae0, srequest=0x1ae1b00)
    at server.c:1807
#8  0x0000000000406e01 in do_scheduled_stream (status=0, 
event=0x1ae1ae0) at io.c:368
#9  0x0000000000405a45 in eventLoop () at event.c:713
#10 0x0000000000414979 in main (argc=1, argv=0x7fff6b5a5188) at main.c:165


Rob wrote:
> I think this is reproducible every time.  Repro steps:
> 1. stop polipo
> 2. "sudo rm -rf /var/cache/polipo/digg.com/"
> 3. start cache
> 4. "wget -O /tmp/digg.html -S http://digg.com/"; (returns successfully)
> 5. repeat "wget"; polipo crashes immediately, no data returned
>
> I see this in the log file:
>
> Apr 21 21:08:54 eklhq polipo[26783]: Established listening socket on 
> port -96.
> Apr 21 21:09:10 eklhq polipo[26783]: Uncacheable object 
> http://digg.com/ (2056)
>
> And sometimes this: (funny characters at the end):
> Apr 21 21:07:13 eklhq polipo[26238]: Superseding object: 
> http://digg.com/ (-267023512 -267023520 -267023528 (null) -> 0 0 
> -267023492 0<CF>4^B)
>
>
> Example headers:
> # wget -O /tmp/digg.html -S http://digg.com/
> --2009-04-21 21:09:04--  http://digg.com/
> Connecting to 192.168.48.1:8123... connected.
> Proxy request sent, awaiting response...
>  HTTP/1.1 200 OK
>  Date: Wed, 22 Apr 2009 04:09:04 GMT
>  Expires: Thu, 19 Nov 1981 08:52:00 GMT
>  Cache-Control: private
>  Server: Apache
>  X-Powered-By: PHP/5.2.0-8+etch13
>  Set-Cookie: ccc=1; expires=Thu, 22-Apr-2010 04:09:04 GMT; path=/
>  Set-Cookie: PHPSESSID=c061a3a6fe9ca01255713490b6866684; path=/
>  Pragma: no-cache
>  Set-Cookie: 1337=0; path=/
>  Set-Cookie: lou=first-time-user; expires=Thu, 22-Apr-2010 04:09:04 
> GMT; path=/
>  Content-Type: text/html; charset=UTF-8
>  Connection: close
>  Warning: 110 eklhq.com:8123 Object is stale
> Length: unspecified [text/html]
> Saving to: `/tmp/digg.html'
>
>    [   
> <=>                                                                           
>                                                   
> ] 60,995       139K/s   in 0.4s  
> 2009-04-21 21:09:04 (139 KB/s) - `/tmp/digg.html' saved [60995]
>
>

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to