[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-05 Thread Alex Roper
Alex Roper added the comment: Go ahead "R. David Murray" wrote: > >R. David Murray added the comment: > >Also note that bsddb's version was bumped in 2.7, so this bug may indeed be >out of date. Alex, if you can't reproduce it (or don't have any

[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-04 Thread Alex Roper
Alex Roper added the comment: I've just been using the sq_dict module, which is a drop-in replacement for shelve written using sqlite3. BDB is a pretty squirraly piece of software in my experience. It may or may not be stable on it's own, but its APIs are pretty poorly docu

[issue4679] Fork + shelve causes shelve corruption and backtrace

2008-12-16 Thread Alex Roper
New submission from Alex Roper : Hi, I wrote a simple script (attached) to do some preprocessing of MediaWiki XML dumps. When it has a 8 MB chunk ready to dump to disk, it forks, and the child writes it out and (will) compress it, then exit. The main thread continues as before. Note that the