Package: polipo
Version: 0.9.10-1
Severity: normal

I have polipo set up to start when I boot, and I use it to cache .deb
packages so that I can share a single downloaded .deb file among
multiple machines.

apt-get uses polipo:  /etc/apt/apt.conf.d/chris contains:

  Acquire {http {Proxy "http://localhost:8123/";};};

polipo uses my local apache: /etc/apt/sources.list contains:

  deb http://localhost/main sid main contrib non-free

and apache redirects to my current favourite mirror:
/etc/apache2/conf.d/chris contains:

  LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
  LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
  ProxyRequests Off
  ProxyPass /main/ http://ftp.cz.debian.org/debian/

Recently I've been using polipo in iceape as well as in apt-get, and
have been noticing that there's no polipo process running
when I come to do an apt-update, so I compiled a version with
debugging symbols, ran it in gdb and put a breakpoint on abort().

Here's the backtrace I saw:

polipo: dns.c:756: removeQuery: Assertion `previous->next != ((void *)0)' 
failed .
Breakpoint 1, 0xb7e0afc6 in abort () from /lib/tls/libc.so.6
(gdb) where
#0  0xb7e0afc6 in abort () from /lib/tls/libc.so.6
#1  0xb7e0305f in __assert_fail () from /lib/tls/libc.so.6
#2  0x08067096 in removeQuery (query=0x59) at dns.c:756
#3  0x08069724 in dnsTimeoutHandler (event=0x8079770) at dns.c:796
#4  0x0804ab75 in runTimeEventQueue () at event.c:478
#5  0x0804b930 in eventLoop () at event.c:645
#6  0x08055654 in main (argc=6, argv=Cannot access memory at address 0x14
) at main.c:163
(gdb)

The logfile polipo.log always ends with:

  Restarting pipeline to localhost:80.

when the process has just abort()ed.



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages polipo depends on:
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries

polipo recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to