Re: Segmentation fault for man-db _2.3.20-12 on woody
On Wed, Jan 23, 2002 at 10:49:37AM -0500, Ben Collins wrote:
> On Wed, Jan 23, 2002 at 11:12:19AM +0000, Colin Watson wrote:
> > I need, at a bare minimum, the output of 'mandb --debug --no-purge' when
> > run as the 'man' user. Ideally, I would get a gdb backtrace as well.
> >
> > On SPARC, also see bug #111288 in libdb2. Post-woody I'll be moving to
> > libdb3, which may help matters.
>
> Still looks like a mandb bug to me. Perhaps you aren't passing the right
> flags to db_open.
All I do is dbopen(filename, O_RDWR, mode, DB_BTREE, &b) - or O_RDONLY
or whatever's appropriate - where b is a BTREEINFO structure as follows:
flags = R_DUP
cachesize = 0
maxkeypage = 0
minkeypage = 0
psize = 0
compare = NULL
prefix = NULL
lorder = 0
I haven't looked at this code much at all, as it seems fine on i386. If
those flags are a problem on sparc, please tell me and I'll do something
about it.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: