[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#431442: squid: crashes occasionally with assertion failed: StatHist.c:195: "D[i] >= 0"



Il giorno sab, 01/09/2007 alle 13.27 +0200, Adeodato Simó ha scritto:
> > this is a known bug in squid which has been fixed in version
> > 2.6.STABLE7. Versions in unstable and testing are not affected. Etch's
> > version is affected and a fix can only be uploaded with RM approval.
> 
> Hi Luigi. Without having looked at the bug report in detail, there's an
> issue that's very relevant: does an isolated patch only fixing that
> issue exist, and how big/intrusive is it? (Or maybe 2.6.STABLE7 was
> released just to fix that issue, I don't know so that's why I'm asking.)

Hi Adeodato,
as with every bug in squid, there is an isolated patch fixing the bug.
In this case the patch is a simple one-liner:

--- squid/src/snmp_agent.c	22 Sep 2006 02:49:24 -0000	1.88
+++ squid/src/snmp_agent.c	9 Nov 2006 16:35:07 -0000	1.89
@@ -1,6 +1,6 @@
 
 /*
- * $Id: snmp_agent.c,v 1.88 2006/09/22 02:49:24 hno Exp $
+ * $Id: snmp_agent.c,v 1.89 2006/11/09 16:35:07 hno Exp $
  *
  * DEBUG: section 49     SNMP Interface
  * AUTHOR: Kostas Anagnostakis
@@ -498,7 +498,7 @@
 	    break;
 	case PERF_MEDIAN_HTTP_NH:
 	    x = statHistDeltaMedian(&l->client_http.nh_svc_time,
-		&f->client_http.nm_svc_time);
+		&f->client_http.nh_svc_time);
 	    break;
 	default:
 	    *ErrP = SNMP_ERR_NOSUCHNAME;


Regards,

L

-- 
 Luigi Gangitano -- <luigi@debian.org> -- <gangitano@lugroma3.org>
 GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26

Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente


Reply to: