Bitcoin Institute

Satoshi to Hal Finney: Investigating the debug log (January 11, 2009)

Satoshi Nakamoto January 12, 2009 01:25 UTC

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

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.

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.

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!

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

Original external source

https://online.wsj.com/public/resources/documents/finneynakamotoemails.pdf
Transcribed from the Wall Street Journal PDF. Hal Finney supplied the emails to the Journal in spring 2014. Subject: "Re: v0.1.2 debug.log". PDF header: Sun, Jan 11, 2009 at 5:25 PM; no time zone is given, so the time is converted to UTC assuming Pacific Standard Time (UTC−8). Visual line wraps have been rejoined. Attachments mentioned in the email are not preserved.

Other external sources