Hal Finney 通信

回复:v0.1.2 的 debug.log

中本聪 · 2009 年 1 月 11 日 · 17:25(原件未注明时区)

SN-10224 附来源、原文与上下文。

阅读语言

好的,也就是说没有崩溃、异常窗口之类的情况。那我只需要 debug.log 就够了。

OK, so no crash or exception window or anything. debug.log is all I need then.

看起来出现了“select failed: 10038”错误(套接字的 select 函数失败了),此后网络通信就没动静了,只有 IRC 还在工作。我以前从没遇到过 select 失败。看起来套接字由于某种原因出了部分故障。至少现在我知道问题出在哪里了。

It looks like there's a "select failed: 10038" error (the sockets select function failed) and then network communication goes quiet after that (except for IRC which is still working). I've never had select fail before. It looks like sockets is somehow partially hosed. At least now I know what's wrong now.

你应该重启它。它现在没有在做任何事。我不知道重启后会不会再次出现“select failed”错误,还是能正常运行一阵子。

You should restart it. It's not doing anything right now. I don't know if it'll just get the "select failed" error again, or be fine for a while.

如果想不出别的办法,遇到这种套接字出故障的情况,我总可以先关闭它们,再重新启动。我相信,所有写过浏览器或点对点应用等互联网程序的人,都不得不费力应付互联网折腾你的各种方式。互联网是个粗暴而混乱的地方。

If I can't think of anything else, I can always shut down and restart sockets if it gets hosed like that. I'm sure everyone who's written an internet app like a browser or p2p app had to slog through all the ways the Internet can trash you. The Internet is a brutal, rough and tumble place.

关闭程序后 bitcoin.exe 仍在运行,这是个已知问题。为格外稳妥起见,它会谨慎地关闭各个部分,以防当时有重要交易正在进行;但如果它没有自行退出,直接结束进程也完全没问题,而且是安全的。我还得找出究竟是哪里卡住了。也许我会让它超时后自行终止。

The issue of bitcoin.exe still running after you close it is a known issue. It does a careful shutdown of everything to be extra safe, in case some important transaction is in progress, but it's completely fine and totally safe to just kill it if it doesn't exit on its own. I'll have to work on figuring out what's getting hung up. I may just have it kill itself after a timeout.

谢谢!

Thanks!

引用 Hal Finney 的来信Hal Finney来源 ↗

你好,Satoshi——随信附上 debug.log。今天下午启动 0.1.2 时,我先退出了正在运行的旧版本,可 0.1.2 还是启动不了。我看了调试日志,里面写着“Existing instance found”。打开任务管理器后,我发现有两个名叫 bitcoin.exe 的进程在运行。我把它们都结束掉,再启动新版本,它似乎就能正常运行了。底部显示“3 connections”。我还没有试调试版本,因为不知道该查看什么。

Hi Satoshi - debug.log attached. When I started 0.1.2 this afternoon, I first quit the previous version which was running. However, 0.1.2 would not start up. Looking at the debug log, it said "Existing instance found". I ran task manager, and found two processes called bitcoin.exe running. I killed them both and started up the new one, and it seemed to run OK. It says at the bottom "3 connections". I haven't tried the debug version, I'm not sure what I would look for.

Hal

Hal

来源

阅读字号

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