Hello, Since around when I switched from Firefox 2 to Firefox 3 (or perhaps it is a coincidence), Polipo often crashes, especially when I go to nytimes.com. Setting dnsUseGethostbyname to false or true didn't help, but it wasn't hard for me to get a backtrace under valgrind; see below. The page is http://www.nytimes.com/2008/07/01/business/01epstein.html . Any thoughts?
Thanks, Ken $ sudo su proxy -c 'valgrind --db-attach=yes /usr/bin/polipo -c /etc/polipo/config forbiddenFile=/etc/polipo/forbidden proxyOffline=false' ==8612== Memcheck, a memory error detector. ==8612== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==8612== Using LibVEX rev 1854, a library for dynamic binary translation. ==8612== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==8612== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework. ==8612== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==8612== For more details, rerun with: -v ==8612== Established listening socket on port 8123. Server returned weak ETag -- ignored. "Not changed" reply with no ETag. Server returned weak ETag -- ignored. "Not changed" reply with no ETag. Server returned weak ETag -- ignored. "Not changed" reply with no ETag. Restarting pipeline to graphics8.nytimes.com:80. ==8612== Invalid read of size 4 ==8612== at 0x805C691: httpServerFinish (server.c:1156) ==8612== by 0x805EB5E: httpServerDelayedFinishHandler (server.c:1330) ==8612== by 0x804AB37: runTimeEventQueue (event.c:492) ==8612== by 0x804B1EE: eventLoop (event.c:659) ==8612== by 0x8053F44: main (main.c:165) ==8612== Address 0x43b47cc is 20 bytes inside a block of size 88 free'd ==8612== at 0x4022B8A: free (vg_replace_malloc.c:323) ==8612== by 0x805CB67: httpServerFinish (server.c:1301) ==8612== by 0x805D64E: httpServerRestart (server.c:1448) ==8612== by 0x805D6E7: httpServerHandler (server.c:1730) ==8612== by 0x804CDE5: do_scheduled_stream (io.c:368) ==8612== by 0x804B4DA: pokeFdEventHandler (event.c:569) ==8612== by 0x804AB37: runTimeEventQueue (event.c:492) ==8612== by 0x804B1EE: eventLoop (event.c:659) ==8612== by 0x8053F44: main (main.c:165) ==8612== ==8612== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- y ==8612== starting debugger with cmd: /usr/bin/gdb -nw /proc/8619/fd/1014 8619 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Attaching to program: /proc/8619/fd/1014, process 8619 Reading symbols from /usr/lib/valgrind/x86-linux/vgpreload_core.so...done. Loaded symbols for /usr/lib/valgrind/x86-linux/vgpreload_core.so Reading symbols from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so...done. Loaded symbols for /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so Reading symbols from /usr/lib/debug/libc.so.6...done. Loaded symbols for /usr/lib/debug/libc.so.6 Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.7.so...done. done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/debug/libnss_files.so.2...done. Loaded symbols for /usr/lib/debug/libnss_files.so.2 httpServerFinish (connection=0x43b47b8, s=1, offset=0) at server.c:1156 (gdb) p *connection $1 = {flags = 0, fd = -1, buf = 0x0, len = 182, offset = 325, request = 0x0, request_last = 0x0, serviced = 11, version = 1, time = 1214866118, timeout = 0x0, te = 0, reqbuf = 0x0, reqlen = 24711, reqbegin = 0, reqoffset = 0, bodylen = -1, reqte = 0, chunk_remaining = -1, server = 0x41e76d0, pipelined = 0, connecting = 0} (gdb) p connection $2 = (HTTPConnectionPtr) 0x43b47b8 -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig 2008-06-26 Day in Support of Victims of Torture http://www.ohchr.org/
signature.asc
Description: Digital signature