Re: db mess
Resent-Cc: recipient list not shown: ;;recipient.list.not.shown:;recipient.list.not.shown:;;;
Date: Sat, 5 Jun 1999 17:38:33 +0200
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Hello,
it seems our db or any db is broken.
* tsort from bsdutils segfaults at db_open.
* mandb segfaults when trying to build the index cache.
I suspect that db2 from our glibc package is broken, but I have no
experience with db. Could someone run a few tests? I can provide the tsort
source file if anyonw wants to try.
Please do so.
mandb should use or uses libdb2 from the db2 packages. This makes me wonder
what all the db's are useful for. Isn't db2 also in glibc? Can someone give
a quick overview?
I will update the glibc package soon, maybe this fixes our problems, maybe
not.
I doubt it. It might be related to the fact that the Hurd uses
seperate bits for O_READ and O_WRITE. This means that:
the Hurd Linux
======================================
O_RDONLY 0x0001 0x0000
O_WRONLY 0x0002 0x0001
O_RDWR 0x0003 0x0002
This means that the magic to convert from open modes as given to
open() to open modes that have to be given to db_open() is likely to
be wrong. Some programs even hardcode the values (don't use the
symbolic constants), which is even worse!
Mark
Reply to:
- Follow-Ups:
- Re: db mess
- From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
- References:
- db mess
- From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>