• Skip to primary navigation
  • Skip to content
  • Skip to footer

Nakamoto Studies Institute

  • Satoshi Writings
    • Satoshi’s White Paper
    • Satoshi Nakamoto Emails
    • Satoshi Nakamoto Forum Writings
  • Literature
    • Daniel Krawisz Archive
  • About NSI
  • Newsletter
  • Support
You are here: Home / Emails / Re: Crash in bitcoin 0.1.0

Re: Crash in bitcoin 0.1.0

January 10, 2009 by bitcoincash

From: Satoshi Nakamoto <satoshi@vistomail.com>
Date: Sat, Jan 10, 2009 at 6:55 PM
Subject: Re: Crash in bitcoin 0.1.0
To: hal.finney@gmail.com

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. I hate to blame the compiler, and I’ve never had a GCC compiler bug before, but this feels like one. Maybe some bit of init code it tries to optimize out if it’s not called at least once in the same thread, or some STL optimization that’s not thread friendly. I’m really dismayed to have this botch up the release after all that stress testing.

The attached file: bitcoin 0.1.1.rar (filesize 2,132,686) is the version where I deleted the mapAddresses.count line, and that should be the safest version. (that was the only use of mapAddresses.count) If you could try this version and confirm that the crash is fixed, I’d appreciate it.

Thanks, Satoshi

Filed Under: Emails

Support NSI with Bitcoin Cash

Did you like this piece? Please consider dropping a tip to support our ongoing efforts to archive the work of Satoshi Nakamoto. Small tips are only made possible with Bitcoin Cash!

Footer

Categories

  • Code
  • Emails
  • Forums
  • Literature
  • Uncategorized

Keywords

adam back anonymous b-money bitcoin.org Bitcoin: A Peer-to-Peer Electronic Cash System bitcointalk bug commerce double spend dustin d. trammel gavin andresen generate coins gnutella gpu hal finney hashcash hash cash inflation james a. donald liberty standard linux micropayment mike hearn moore's law napster nicholas bohm node non-reversible transaction p2p foundation proof-of-work ray dillinger satoshi nakamoto scaling Simplified Payment Verification sirius-m the crypto anarchist manifesto" the cryptography mailing list timothy c. may tor transaction fee v0.1.6 visa wei dai white paper [bitcoin-list]

Support NSI with Bitcoin Cash

Copyright © 2020 · Genesis Sample on Genesis Framework ·