<<< Date Index >>>     <<< Thread Index >>>

Re: segfault: d5ab883ef90a breaks header cache



On 03-04-2007 11:12:29 +0200, Fabian Groffen wrote:
> On 03-04-2007 09:46:13 +0200, Thomas Roessler wrote:
> > d5ab883ef90a reproducibly leads to segmentation faults in either
> > line 999 or 1002 of hcache.c.  At that point, h->db is a NULL
> > pointer which is dereferenced.
> > 
> > Backing out d5ab883ef90a cures that.
> 
> I reverse-patched that particular patch, and on amd64 linux it seems to
> work fine, while on Solaris 10 it crashes the hard way.  I think I saw
> the same on Darwin, but I can't test that now.  All use the same
> features: berkdb, imap, mbox, nls, smtp, ssl.

On Darwin/OSX the same sources work fine.  I haven't tried Sparc/Solaris
10 yet.  It did compile at least.  I guess I'll have to first fix a
bunch of the many compiler warnings on Solaris.

-- 
Fabian Groffen
Gentoo on a different level