Unix Technical Forum

Re: [patch] spamd cause core dump in convert_spamd_db

This is a discussion on Re: [patch] spamd cause core dump in convert_spamd_db within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Sun, Mar 18, 2007 at 12:33:23PM -0600, Bob Beck wrote: > * Olli Hauer <ohauer@gmx.de> [2007-03-18 08:00]: > ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:15 AM
jared r r spiegel
 
Posts: n/a
Default Re: [patch] spamd cause core dump in convert_spamd_db

On Sun, Mar 18, 2007 at 12:33:23PM -0600, Bob Beck wrote:
> * Olli Hauer <ohauer@gmx.de> [2007-03-18 08:00]:
> > I had some core dumps during convert from old 4.0 to new 4.1 db.
> >
> > This fixed the core dump during convert.
> >
> > --- /usr/src/libexec/spamd/grey.c-patch1 Sun Mar 18 13:24:13 2007
> > +++ /usr/src/libexec/spamd/grey.c Sun Mar 18 13:27:11 2007
> > @@ -1088,7 +1088,7 @@
> > exit(1);
> > }
> > memset(&hashinfo, 0, sizeof(hashinfo));
> > - db2 = dbopen(sfn, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo);
> > + db2 = dbopen(sfn, O_EXLOCK|O_RDWR|O_CREAT, 0600, DB_HASH, &hashinfo);


by any chance are you running spamd(8) on freebsd?

--

jared

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com