E-mails to Hal Finney
15 writings, oldest first
- Private email (Hal Finney)
RE:Crash in bitcoin 0.1.0
Normally I would keep the symbols in, but they increased the size of the EXE from 6.5MB to 50MB so I just couldn't justify not stripping them. I guess I made the wrong decision, at least for this early version. I'm kind of surprised there…
- Private email (Hal Finney)
Re: Crash in bitcoin 0.1.0
I was temporarily able to reproduce the bug and narrowed it down to the "mapAddresses.count" in the following code. It was absolutely the last piece of code to go in and mainly only got tested with the MSVC build. It's not essential and…
- Private email (Hal Finney)
Re: Crash in bitcoin 0.1.0
I isolated the problem. If I spawn a thread and do mapAddresses.count, even as the very first thing in the program, it segfaults. The workaround is to needlessly call mapAddresses.count in the main thread once and it's fine from then on.…
- Private email (Hal Finney)
Re: Crash in bitcoin 0.1.0
OK, thanks. The one in bitcoin-0.1.1-exe-dbg.rar is the same build as in bitcoin-0.1.1.rar. I forgot, when you build debug on MSVC, it uses the debug versions of the runtime DLLs, which aren't included with Windows distributions.…
- Private email (Hal Finney)
How's v0.1.2 going?
Well this doesn't look good. After you upgraded to 0.1.2, your node responded to one or two messages and then stopped replying to messages. It's still accepting connections and seems to be alive on IRC. That could happen if…
- Private email (Hal Finney)
v0.1.2 gcc debug build attached
Could you send me your debug.log? The gcc debug version is attached. gdb is easier to use than you'd think. gdb.exe is the only file. You run gdb bitcoin.exe then type "run" then if it crashes, type "backtrace" for a stack dump, or it may…
- Private email (Hal Finney)
Re: v0.1.2 debug.log
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…
- Private email (Hal Finney)
select failed 10038 fix
I believe I've fixed the bug related to "select failed: 10038" (error WSAENOTSOCK). The select error is not a big deal, but it led the communications thread to get blocked on a socket that should have been in non-blocking mode but wasn't.…
- Private email (Hal Finney)
Re: select failed 10038 fix
It definitely looks like 0.1.3 solved it. It was getting so there were so many zombie nodes, I was having a hard time getting a reply to any of my messages. Now, four inventory messages go out, four getdata messages come back. Did you get…
- Private email (Hal Finney)
Re: select failed 10038 fix
Could you send me the debug.log from the 0.1.3 crash? I can usually get a lot just from that. I'll send you the debug builds shortly. ---------- Forwarded message ----------
- Private email (Hal Finney)
Re: v0.1.3 msvc debug build
Here's the 0.1.3 MSVC debug build ---------- Forwarded message ----------
- Private email (Hal Finney)
Re: v0.1.3 gcc debug build
and the gcc debug build w/gdb.exe ---------- Forwarded message ----------
- Private email (Hal Finney)
Re: select failed 10038 fix
Definitely the disk full. I completely put off disk full handling until a later version. Probably about time I did it now. Well, that's a relief. Satoshi ---------- Forwarded message ----------
- Private email (Hal Finney)
Re: disk full
If you build the dependencies, let me know how that goes. Everything is always harder to build on Windows than Linux. I've always hated projects with a lot of big dependencies, but there's no avoiding it, each one is essential. I still…
- Private email (Hal Finney)
Re: disk full
I hate duplicating code, but the compiler forces us. Copy the body of the function above it, like this: void insert(iterator it, const_iterator first, const_iterator last) { if (it == vch.begin() + nReadPos && last - first <= nReadPos) {…