回复:Db::open/Db::close“文件描述符无效”异常
首次公开证据
打开首次公开证据查看 1 个交叉存档
来源说明
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial
我想到了一个变通办法,但它取决于错误发生在哪些文件上。如果你的 db.log 中已经积累了几个错误,可以把它发给我吗?(即使它相当简单乏味也没关系。)列出的文件总是 blkindex.dat,还是也包括 addr.dat 或 wallet.dat?
我把数据目录移回 SSD 卡,并启动了 bitcoin test 6。今天日志中的 Db::open 遇到了段错误。我把设置改成只使用一个处理器/核心,同时看一部 720p mkv 电影。电影结束后我注意到了段错误。
这是一个我用不同方式链接 Berkeley DB 的版本。值得一试。除此之外与 test5 相同。
(至少在你让它在那里也以相同方式失败之前,先把 datadir 保持在硬盘上。这样成功的机会相当大。)
英文原文
展开英文原文
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?
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.
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.)