Article View: gnu.utils.bug
Article #1247gdbm 1.5 loses key chain
From: Matthias Urlichs
Date: Mon, 04 Jan 1993 20:42
Date: Mon, 04 Jan 1993 20:42
23 lines
1538 bytes
1538 bytes
I'm using gdbm (1.5) and occasionally one of my gdbm files manages to
mangle its database. The problem is that while the data are accessible
via gdbm_fetch(), a lookup through gdbm_nextkey() terminates without
returning the whole file.
Needless to say, this happens only if the database is heavily used;
thus, scanning the database after every access won't work.
Also needless to say, any mangled database contains confidential
information, so I can't post or mail it. Also needless to say, the
way I'm using the database absolutely depends on firstkey/nextkey
finding every record.
However, I am able to use a debugger. ;-) Any gdbm experts out there
who can help shed some light on this, point me at places to search for
the problem, etc.? All database access goes through one program, which
can be hacked to death if necessary.
--
Darth Vader! Only you would be so bold!
-- Princess Leia Organa
--
Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
Technical Details
Message-ID:
<1ia0fbINN9do@smurf.sub.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!smurf.sub.org!urlichsShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!smurf.sub.org!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Subject: gdbm 1.5 loses key chain Message-ID: <1ia0fbINN9do@smurf.sub.org> Sender: gnulists@ai.mit.edu Organization: Smurf-O-Box Karlsruhe, FRG Distribution: gnu Date: Mon, 4 Jan 1993 20:42:51 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 24