Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: mod_backhand: Wackamole

assert problem

 

 

mod_backhand wackamole RSS feed   Index | Next | Previous | View Threaded


yuval at cablemx

Nov 1, 2004, 5:48 AM

Post #1 of 2 (1672 views)
Permalink
assert problem

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.

Yuval Lifshitz


_______________________________________________
wackamole-users mailing list
wackamole-users[at]lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users


jesus at omniti

Nov 1, 2004, 5:58 AM

Post #2 of 2 (1516 views)
Permalink
Re: assert problem [In reply to]

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


_______________________________________________
wackamole-users mailing list
wackamole-users[at]lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users

mod_backhand wackamole RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.