SN-10218 附来源、原文与上下文。
通常我会保留调试符号,但它们会让 EXE 文件从 6.5MB 增大到 50MB,所以我实在找不到理由不把它们去掉。我想这个决定做错了,至少对这么早期的版本来说是这样。发生崩溃让我有些意外:我做了大量测试,已经有一阵子没有遇到直接抛出异常的情况了。仔细想想,debug.log 的末尾甚至没有打印异常信息。我一直在 XP SP2 上测试,也许与 SP3 有关。
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 was a crash, I've tested heavily and haven't had an outright exception for a while. Come to think of it, there isn't even an exception print at the end of debug.log. I've been testing on XP SP2, maybe SP3 is something.
随信附上带有调试符号的 bitcoin.exe。(这是供 gdb 使用的 gcc 调试符号;如果你用的是 MSVC,我可以发一个带调试符号的 MSVC 编译版本给你。)
I've attached bitcoin.exe with symbols. (gcc symbols for gdb, if you're using MSVC I can send you an MSVC build with symbols)
谢谢你的帮助!
Thanks for your help!
引用 Hal Finney 的来信Hal Finney来源 ↗你好,Satoshi——我试着运行 0.1.0 软件包里的 bitcoin.exe,结果崩溃了。我运行的是已经更新到最新状态的 XP SP3。随信附上 debug.log 的输出。另外还有一个 db.log 文件,不过是空的。
Hi Satoshi - I tried running bitcoin.exe from the 0.1.0 package, and it crashed. I am running on an up to date version of XP, SP3. The debug.log output is attached. There was also a file db.log but it was empty.
崩溃时我可以启动调试器,但没有调试符号。异常发生在地址 00930AF7。显示的调用栈是 508936 调用了 942316。
The crash allowed me to start up a debugger, but there were no symbols. The exception was at address 00930AF7. The displayed call stack was 942316 called by 508936.
有时间的话,我会试着自己编译,不过看起来要花些时间才能把所有依赖都准备好。
When I have a chance, I'll try building it, although it looks like it would take me a while to acquire all the dependencies.
Hal
Hal