Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] crash on db dump (still)

2007-09-05 by Jeff A. Earickson

On Wed, 5 Sep 2007, Johann Klasek wrote:

> Date: Wed, 5 Sep 2007 15:49:53 +0200
> From: Johann Klasek <johann@...>
> Reply-To: milter-greylist@yahoogroups.com
> To: milter-greylist@yahoogroups.com
> Subject: Re: [milter-greylist] crash on db dump (still)
> 
> On Thu, Aug 30, 2007 at 07:29:47PM +0200, manu@... wrote:
>> Jeff A. Earickson <jaearick@...> wrote:
>>
>>> I now get this with 4.0b1:
>>>
>>>     cannot write dumpfile "/var/milter-greylist/greylist.db-XXn4aOmb":
>>>     Error 0
>>
>> Hum... errno was not set after a failed fdopen? Any Solaris expert that
>> could explain what is going on?
>
> Just for completness:
>
> Solaris man page (eg. for fdopen) says (even on Sol 10):
>
>     The fdopen() function may fail and not set  errno  if  there
>     are no free stdio streams.
>
>
> This issue is addressed by
>
> http://jk.kom.tuwien.ac.at/~jklasek/software/milter-greylist/mg.stdio-handling.patch
>
> which seems not to interfere with other platforms but improves
> compatibility somehow.
>
>
> Johann Klasek

Hi,

I tried this patch a few days ago (Sparc, using gcc 4.2) and it did not
help at all.  I had the same number of crashes as before.

Jeff Earickson
Colby College

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.