Re: assert problem

Theo Schlossnagle <[email protected]> Mon, 01 Nov 2004 08:58:46 -0500
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
Yuval Lifshitz wrote:

>Previously I emailed a question regarding assertion problem at
>wackamole.c:702
>
>I bypassed this with the following code:
>
>/*assert(ret == My.num_allocated);*/
>  
>if (ret != My.num_allocated)
>{
>	Claim_unclaimed();
>      return;
>}
>It was really a wild guess, so please let me know if you think it is
>harmful, or if there is a better way to do that.
>  
>
Usually this would indicate a problem of a serious nature -- hence the 
assert.  Sounds like maybe your config files don't match up on all your 
machines?  Your "fix" could certainly cause wackamole to crash 
unexpectedly or operate in an otherwise unexpected manner, so you don't 
want to do that.

-- 
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth