Re: Db::open/Db::close "Bad file descriptor" exception

I have an idea for a workaround, but it depends on what files the errors are on. If you’ve accumulated several errors in db.log, could you send it to me? (even if it’s rather simple and boring) Is the file listed always blkindex.dat, or does it include addr.dat or wallet.dat too?

Quote from: Liberty Standard

I moved the data directory back to my SSD card and started bitcoin test 6. It encountered a segmentation fault today with Db::open in the log. I had changed the settings to only use one processor/core while I watched a 720p mkv movie. I noticed the segmentation fault after the film had ended.

On Sun, Nov 15, 2009 at 12:45 AM, Satoshi Nakamoto <satoshin@gmx.com

Quote from: Satoshi Nakamoto

Here’s one where I linked Berkeley DB a different way. It’s worth a try. Otherwise identical to test5.

(Keep the datadir on the hard drive at least until you get it to fail the same way there. That has a fair chance of success.)

Original Source

https://mmalmi.github.io/satoshi/
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial

Also available at