Package: apt-cacher Version: 1.6.4 Severity: important apt-cacher segfaults when running with checksum=1, even if libberkeleydb-perl is installed (0.34-1+b1). The effect is that the client calling apt-cacher stalls until timeout. Other clients continue to work correctly.
Relevant lines from log files created with 'debug=1' in apt-cacher.conf follow: ===== messages ===== May 27 12:10:39 host01 kernel: [17967035.121319] apt-cacher[19400]: segfault at b762651c ip b76a2a32 sp bfeca1a4 error 7 in libdb-4.6.so[b760f000+130000] ===== error.log (grep for 19400) ===== Thu May 27 12:10:38 2010|debug [19400]: New Daemon connection Thu May 27 12:10:38 2010|debug [19400]: testing allowed_hosts Thu May 27 12:10:38 2010|debug [19400]: checking against a.b.c.0/24 Thu May 27 12:10:38 2010|debug [19400]: testing denied_hosts Thu May 27 12:10:38 2010|debug [19400]: Client a.b.c.103 passed access control rules Thu May 27 12:10:38 2010|warn [19400]: Registered 19400 Thu May 27 12:10:38 2010|debug [19400]: Processing a new request line Thu May 27 12:10:38 2010|debug [19400]: got: GET http://www.backports.org/debian/dists/lenny-backports/non-free/binary-amd64/Packages.diff/Index HTTP/1.1 Thu May 27 12:10:38 2010|debug [19400]: Processing a new request line Thu May 27 12:10:38 2010|debug [19400]: got: Host: www.backports.org Thu May 27 12:10:38 2010|debug [19400]: Processing a new request line Thu May 27 12:10:38 2010|debug [19400]: got: Cache-Control: max-age=0 Thu May 27 12:10:38 2010|debug [19400]: Request specified Cache-Control: max-age=0 Thu May 27 12:10:38 2010|debug [19400]: Processing a new request line Thu May 27 12:10:38 2010|debug [19400]: got: User-Agent: Debian APT-HTTP/1.3 (0.7.20.2) Thu May 27 12:10:38 2010|debug [19400]: Processing a new request line Thu May 27 12:10:38 2010|debug [19400]: got: Thu May 27 12:10:38 2010|debug [19400]: Checking host www.backports.org in absolute URI Thu May 27 12:10:38 2010|debug [19400]: Using IPv6 Thu May 27 12:10:38 2010|debug [18831]: registered child process: 19400 Thu May 27 12:10:38 2010|debug [19400]: Host in Absolute URI is not this server Thu May 27 12:10:38 2010|debug [19400]: Resolved request is /www.backports.org/debian/dists/lenny-backports/non-free/binary-amd64/Packages.diff/Index Thu May 27 12:10:38 2010|debug [19400]: new index file: www.backports.org_debian_dists_lenny-backports_non-free_binary-amd64_Packages.diff_Index Thu May 27 12:10:38 2010|debug [19400]: looking for /var/cache/apt-cacher/packages/www.backports.org_debian_dists_lenny-backports_non-free_binary-amd64_Packages.diff_Index Thu May 27 12:10:38 2010|debug [19400]: known as index file: Index Thu May 27 12:10:38 2010|debug [19400]: Entering critical section : file download decision Thu May 27 12:10:38 2010|debug [19400]: file does not exist or download required, forking fetcher Thu May 27 12:10:38 2010|debug [19400]: MISS Thu May 27 12:10:38 2010|debug [19400]: registered child process: 19401 Thu May 27 12:10:38 2010|debug [19400]: checks done, can return now Thu May 27 12:10:39 2010|debug [19400]: Entering critical section : reading the header file Thu May 27 12:10:39 2010|debug [19400]: Got 404 error. Going to close connection. Thu May 27 12:10:39 2010|debug [19400]: Exiting critical section Thu May 27 12:10:39 2010|debug [19400]: Header sent: HTTP/1.1 404 Not Found Thu May 27 12:10:39 2010|debug [19400]: Package sent Thu May 27 12:10:39 2010|warn [19400]: Unregistered 19400 ===== error.log (grep for 19401) ===== Thu May 27 12:10:38 2010|debug [19400]: registered child process: 19401 Thu May 27 12:10:38 2010|warn [19401]: Registered 19401 Thu May 27 12:10:38 2010|debug [19401]: fetcher: try to fetch http://www.backports.org/debian/dists/lenny-backports/non-free/binary-amd64/Packages.diff/Index Thu May 27 12:10:38 2010|debug [19401]: Exiting critical section Thu May 27 12:10:38 2010|debug [19401]: Init new libcurl object Thu May 27 12:10:38 2010|debug [19401]: download agent: setting up for GET request Thu May 27 12:10:38 2010|debug [19401]: download agent: getting http://www.backports.org/debian/dists/lenny-backports/non-free/binary-amd64/Packages.diff/Index Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: About to connect() to www.backports.org port 80 (#0) Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: Trying 194.8.57.6... Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: connected Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: Connected to www.backports.org (194.8.57.6) port 80 (#0) Thu May 27 12:10:38 2010|debug [19401]: libcurl download of headers complete Thu May 27 12:10:38 2010|debug [19401]: Entering critical section : libcurl, storing the header to /var/cache/apt-cacher/headers/www.backports.org_debian_dists_lenny-backports_non-free_binary-amd64_Packages.diff_Index Thu May 27 12:10:38 2010|debug [19401]: Exiting critical section Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: Connection #0 to host www.backports.org left intact Thu May 27 12:10:38 2010|debug [19401]: libcurl returned Thu May 27 12:10:38 2010|debug [19401]: Upstream server returned error 404 for http://www.backports.org/debian/dists/lenny-backports/non-free/binary-amd64/Packages.diff/Index. Deleting /var/cache/apt-cacher/packages/www.backports.org_debian_dists_lenny-backports_non-free_binary-amd64_Packages.diff_Index. Thu May 27 12:10:38 2010|debug [19401]: fetcher done Thu May 27 12:10:38 2010|warn [19401]: Unregistered 19401 Thu May 27 12:10:38 2010|debug CURLINFO_TEXT [19401]: Closing connection #0 Problem is reproducible, so additional details can be provided upon request. Best regards, -- Marco Bozzolan PurePowua Team - http://www.purepowua.com Gpg key fingerprint = CECB 05CF 1718 EB49 62FC 4A7C 528D 445B B999 5206 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

