Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Milter-greylist crashes on DragonFly-2.8

2011-01-22 by Francois Tigeot

Hi!

I have been running sendmail + milter-greylist 4.2.6 on a DragonFly
host. I recently upgraded this machine to DragonFly-2.8 (from 2.6), and
milter-greylist now crashes during startup with this error message:

  conf.c:351 BUG: conf_retain called twice?

Howewer, it is not always the case: the program fails to start about 9
times out of 10 but if I'm really obstinate and try to start it manually
long enough, it ends up running as it should and never crashes after
that.

As an experiment, I removed the assert on line 351 of conf.c:

  --- conf.c.orig
  +++ conf.c
  @@ -349,7 +349,6 @@ conf_retain(void) {
          if (GET_CONF()) {
                  mg_log(LOG_ERR, "%s:%d BUG: conf_retain called twice?",
                                  __FILE__, __LINE__);
  -               assert(0);
          }

I still got the error message at startup, but milter-greylist ran
fine after that.

-- 
Francois Tigeot

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.