回复:Db::open/Db::close 的“Bad file descriptor”异常

中本聪SN-10109

我想到一个临时解决办法,但要看错误出在哪些文件上。如果 db.log 已经积累了几条错误,能把它发给我吗?(即使内容很简单、很无聊。)列出的文件是否总是 blkindex.dat,还是也包括 addr.dat 或 wallet.dat?

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?

引用 New Liberty Standard 的文字New Liberty Standard来源 ↗

我把数据目录移回 SSD 卡,并启动了 bitcoin test 6。它今天发生了段错误,日志里有 Db::open。当时我把设置改成只用一个处理器/核心,一边观看一部 720p mkv 电影。电影结束后,我才注意到段错误。

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.

引用 New Liberty Standard 的文字New Liberty Standard来源 ↗

这个版本用了另一种方式链接 Berkeley DB。值得一试。其他方面与 test5 相同。

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

(请至少先把 datadir 放在硬盘上,直到你也在那里复现相同的失败。这样成功的机会不小。)

(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.)

译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

查看历史审校与代表修订 →

译文内容版本:e154d17c2d7a。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

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

Martti Malmi 通信 · 收件人公开存档 ↗ 下载英文正文 COPA v. Wright Trial Exhibits ↗ 原始通信编号 #86 · 阅读完整往来 ↗ 记录编号 SN-10109

阅读字号

选择适合你的字号,之后阅读会继续使用。