*** ALERT *** Upgrade to 0.3.6 ASAP!

Satoshi Nakamoto July 29, 2010 10:13 UTC Source ·

Please upgrade to 0.3.6 ASAP! We fixed an implementation bug where it was possible that bogus transactions could be displayed as accepted. Do not accept Bitcoin transactions as payment until you upgrade to version 0.3.6!

If you can’t upgrade to 0.3.6 right away, it’s best to shut down your Bitcoin node until you do.

Also in 0.3.6, faster hashing:

  • midstate cache optimisation thanks to tcatm
  • Crypto++ ASM SHA-256 thanks to BlackEye Total generating speedup 2.4x faster.

Download: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.6/

Windows and Linux users: if you got 0.3.5 you still need to upgrade to 0.3.6.

Satoshi Nakamoto July 29, 2010 19:13 UTC Source ·

Please upgrade to 0.3.6 ASAP!  We fixed an implementation bug where it was possible that bogus transactions could be displayed as accepted.  Do not accept Bitcoin transactions as payment until you upgrade to version 0.3.6!

If you can’t upgrade to 0.3.6 right away, it’s best to shut down your Bitcoin node until you do.

Also in 0.3.6, faster hashing:

  • midstate cache optimisation thanks to tcatm
  • Crypto++ ASM SHA-256 thanks to BlackEye Total generating speedup 2.4x faster.

Download: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.6/

Windows and Linux users: if you got 0.3.5 you still need to upgrade to 0.3.6.

Olipro July 29, 2010 19:25 UTC Source ·

is this in the SVN?

knightmb July 29, 2010 19:26 UTC Source ·

I appreciate the quickness of this security update, but unfortunately none of the Linux builds work (32bit or 64 bit) because the file is missing. I’m assuming if I go find the file it will work, not sure what luck others will have though using the new build.

Error

./bitcoin: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
andy_3_913 July 29, 2010 19:30 UTC Source ·

are satoshi and Olipro working together? if not, any chance you could? 😊

i’m well pleased with the speed enhancements Olipro is making, but i would like bc to be secure!

Jeff Garzik (jgarzik) July 29, 2010 19:30 UTC Source ·
Quote from: satoshi on July 29, 2010, 7:13:06 PM UTC

Please upgrade to 0.3.5 ASAP! We fixed an implementation bug where it was possible that bogus transactions could be accepted. Do not accept Bitcoin transactions as payment until you upgrade to version 0.3.5!

Like Olipro, got a lot of people doing custom builds out there — in fact, I must use a custom build on several machines.

May we assume SVN has all necessary updates?

Jeff Garzik (jgarzik) July 29, 2010 19:42 UTC Source ·

With the official Linux-64bit build, run on Fedora 13, I see it failing badly:

************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()       

************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in CMyApp::OnUnhandledException()       

terminate called after throwing an instance of ‘DbRunRecoveryException’ what(): DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery

Praying my bitcoins aren’t eaten…

knightmb July 29, 2010 19:47 UTC Source ·
Quote from: Jeff Garzik on July 29, 2010, 10:42:15 AM UTC

With the official Linux-64bit build, run on Fedora 13, I see it failing badly:

Code:************************ EXCEPTION: 22DbRunRecoveryException
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
bitcoin in AppInit()


EXCEPTION: 22DbRunRecoveryException
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
bitcoin in CMyApp::OnUnhandledException()

terminate called after throwing an instance of ‘DbRunRecoveryException’ what(): DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery

Praying my bitcoins aren’t eaten…

I think you’ll be ok, it blew up on me too. Run the older version, you should still see all your coins. Backup first for the next Linux release 😉

Jeff Garzik (jgarzik) July 29, 2010 19:49 UTC Source ·
Quote from: Jeff Garzik on July 29, 2010, 10:42:15 AM UTC

With the official Linux-64bit build, run on Fedora 13, I see it failing badly:

Same result on another machine. BDB errors, and death. 0.3.5 on 64bit Linux is questionable. You didn’t mix up the builds with 32-bit Linux, did you?

debug.log says:

Bitcoin version 0.3.5 beta
Default data directory /g/g/.bitcoin
Bound to port 8333
Loading addresses...
dbenv.open strLogDir=/garz/bitcoin/data/database strErrorFile=/garz/bitcoin/data/db.log

************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()
Jeff Garzik (jgarzik) July 29, 2010 19:52 UTC Source ·
Quote from: knightmb on July 29, 2010, 10:47:37 AM UTC

I think you’ll be ok, it blew up on me too. Run the older version, you should still see all your coins. Backup first for the next Linux release

Double-ACK 😊

older version (SVN 117 + listtransactions + getinfo KHPS) works fine, all bitcoins there. And yes, I should back up before following “please upgrade” instructions… 😊

knightmb July 29, 2010 19:54 UTC Source ·

[Deleted] Quote from: davidonpda on July 29, 2010, 07:51:38 PM

Can windows users upgrade to the 3.5 for now?

Yes, I’ve tested on Windows XP, 2003, and 7 all went through just fine. You’ll enjoy the speed increase as well. 😉

[err, wait I guess, new version about to spawn]

Satoshi Nakamoto July 29, 2010 19:55 UTC Source ·

Haven’t had time to update the SVN yet.  Wait for 0.3.6, I’m building it now.  You can shut down your node in the meantime.

Satoshi Nakamoto July 29, 2010 20:30 UTC Source ·

SVN is updated with version 0.3.6.

Uploading Windows build of 0.3.6 to Sourceforge now, then will rebuild linux.

RudeDude July 29, 2010 20:35 UTC Source ·

Ha! One of the changes in there is updated some v “0.3.3” stuff to “0.3.6” but that isn’t the important part of the update. :-)

Jeff Garzik (jgarzik) July 29, 2010 20:48 UTC Source ·

SVN r119 seems to work fine here. No BDB explosion.

knightmb July 29, 2010 20:51 UTC Source ·

Tested the Windows build across XP, 2003, Vista, 7 (both 32 and 64bit builds), no issues installing or running client. So far so good, looking forward to the Linux client. 😉

Satoshi Nakamoto July 29, 2010 21:20 UTC Source ·

0.3.6 Linux build is back to the old makefile.unix.  It static links libjpeg so that shouldn’t be a problem.

Is that working better?

If you got 22DbRunRecoveryException and you’ve used someone else’s build before, you may need to delete (or move the files somewhere else) database/log.000000*

Windows and Linux users: if you got 0.3.5 you still need to upgrade to 0.3.6.

knightmb July 29, 2010 21:23 UTC Source ·

Still a no go on the Linux build though, this is the console error I get. I checked to make sure the file was there, but the versions don’t match I guess?

64bit Client Error, will try out 32bit client and see if the error is similar.

./bitcoin: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by ./bitcoin)

The machine I tested this on uses nothing but the stock builds, no modified builds were used prior.

Same error for 32bit client

./bitcoin: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./bitcoin)

Linux - Mandriva 2010.0 [64bit and 32bit] OS systems setup

bitcoinex July 29, 2010 21:27 UTC Source ·

0.3.6 binaries for linux works fine on two my machines (64 and 32 bits) with Debian squeeze/sid

knightmb July 29, 2010 21:28 UTC Source ·
Quote from: bitcoinex on July 29, 2010, 9:27:15 PM UTC

0.3.6 binaries for linux works fine on two my machines (64 and 32 bits)

That’s good to know, might just need to update mine, checking to see what versions I have currently installed.

Jeff Garzik (jgarzik) July 29, 2010 21:30 UTC Source ·
Quote from: bitcoinex on July 29, 2010, 12:27:15 PM UTC

0.3.6 binaries for linux works fine on two my machines (64 and 32 bits)

If you (and others) are willing, please post your OS + OS version, when posting success/failure reports.

I will echo a recommendation to satoshi from another forum member: build linux binaries on an older Linux OS, to ensure wider compatibility. Maybe something as old as CentOS 5 (caveat: requires custom openssl, boost, db4 and wx builds).

knightmb July 29, 2010 21:30 UTC Source ·

Ah, mine is linked to 2.10.1, I’ll bring my system up to bleeding edge to see if that solves it 😄

[edit] Well turns out I can’t package wise as they top out at 2.10 for now

knightmb July 29, 2010 21:32 UTC Source ·
Quote from: Jeff Garzik on July 29, 2010, 12:30:08 PM UTC
Quote from: bitcoinex on July 29, 2010, 12:27:15 PM UTC

0.3.6 binaries for linux works fine on two my machines (64 and 32 bits)

If you (and others) are willing, please post your OS + OS version, when posting success/failure reports.

I will echo a recommendation to satoshi from another forum member: build linux binaries on an older Linux OS, to ensure wider compatibility. Maybe something as old as CentOS 5 (caveat: requires custom openssl, boost, db4 and wx builds).

I would agree, would help those of us not on the bleeding edge of distro packages. 😊

bitcoinex July 29, 2010 21:35 UTC Source ·
Quote from: Jeff Garzik on July 29, 2010, 12:30:08 PM UTC
Quote from: bitcoinex on July 29, 2010, 12:27:15 PM UTC

0.3.6 binaries for linux works fine on two my machines (64 and 32 bits)

If you (and others) are willing, please post your OS + OS version, when posting success/failure reports.

I will echo a recommendation to satoshi from another forum member: build linux binaries on an older Linux OS, to ensure wider compatibility. Maybe something as old as CentOS 5 (caveat: requires custom openssl, boost, db4 and wx builds).

sorry. I’m checked binaries on Debian GNU/Linux squeeze/sid

Satoshi Nakamoto July 29, 2010 21:43 UTC Source ·

”./bitcoin: /lib64/libc.so.6: version `GLIBC_2.11’ not found (required by ./bitcoin)” isn’t a new problem that started with 0.3.6 is it?  This was built on the same OS installations as 0.3.0.

Unfortunately I upgraded to Ubuntu 10.04 before 0.3.0.  I will not upgrade anymore.  I don’t know when I might have time to reinstall to downgrade, but at least by not upgrading, it’ll gradually fix itself.

The Madhatter July 29, 2010 21:44 UTC Source ·

v0.3.6 works on FreeBSD/i386 7.2,7.3 and on FreeBSD/amd64 8.0

Compiles cleanly without any warnings, and appears to be working fine.

Odin July 29, 2010 21:45 UTC Source ·

Maybe the points listed in http://bitcointalk.org/index.php?topic=612.0 would help making the Linux binary distribution works for the widest audience.

Getting the project to build under the OpenSUSE OBS service should allow the maintainer to get distribution specific compliation for free.

SmokeTooMuch July 29, 2010 21:47 UTC Source ·

0.3.6 works great on Win7 Pro 64-Bit.

Gooffy July 29, 2010 22:08 UTC Source ·

Ubuntu Linux 9.10

Error:

/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11’ not found 😢

lachesis July 29, 2010 22:14 UTC Source ·

On Debian testing 32-bit, I get a few build errors, all resembling:

script.cpp:114: error: ‘OP_NOP1’ was not declared in this scopeI got these when attempting to "make bitcoind" without "make clean" or "make" first. It looks like the bitcoind build instructions don't compile the headers first, but they also don't delete the headers.h.gch, so the old headers are used if present.

If anyone else gets this error, the simplest solution is to “make clean” and retry the build.

dwdollar July 29, 2010 22:53 UTC Source ·
Quote from: satoshi on July 29, 2010, 12:43:15 PM UTC

”./bitcoin: /lib64/libc.so.6: version `GLIBC_2.11’ not found (required by ./bitcoin)” isn’t a new problem that started with 0.3.6 is it? This was built on the same OS installations as 0.3.0.

Unfortunately I upgraded to Ubuntu 10.04 before 0.3.0. I will not upgrade anymore. I don’t know when I might have time to reinstall to downgrade, but at least by not upgrading, it’ll gradually fix itself.

That’s strange, 0.3.3 worked fine on it. It’s no biggie, I need to upgrade that machine anyway.

Odin July 29, 2010 22:57 UTC Source ·
Quote from: WMFrend on July 29, 2010, 1:08:14 PM UTC

Ubuntu Linux 9.10

Error:

/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11’ not found

dpkg -l | egrep "(libc6|glibc)"
# This will display what version you currently have installed

# I guess you have glibc version 2.10 or older installed.

apt-get update
apt-cache showpkg libc6 | less
# Look (near the bottom) for the versions available for a 2.11 version

#Maybe you can just upgrade with:
apt-get upgrade libc6

# Above instruction for a real debian system, they might work with Ubuntu
Satoshi Nakamoto July 29, 2010 23:12 UTC Source ·
Quote from: lachesis on July 29, 2010, 1:14:36 PM UTC

On Debian testing 32-bit, I get a few build errors, all resembling:

script.cpp:114: error: ‘OP_NOP1’ was not declared in this scopeI got these when attempting to "make bitcoind" without "make clean" or "make" first. It looks like the bitcoind build instructions don't compile the headers first, but they also don't delete the headers.h.gch, so the old headers are used if present.

If anyone else gets this error, the simplest solution is to “make clean” and retry the build. We don’t really need pre-compiled header.  It only makes it compile slightly faster.  I think I’ll just get rid of it.  Even still, you’d still need to remember to “make -f makefile.unix clean” or delete headers.h.gch one more time to get rid of the leftover file.

Damn that GLIBC_2.11.  I thought I’d been careful not to accept any of the updates.

knightmb July 30, 2010 00:27 UTC Source ·
Quote from: satoshi on July 29, 2010, 11:12:12 PM UTC

We don’t really need pre-compiled header. It only makes it compile slightly faster. I think I’ll just get rid of it. Even still, you’d still need to remember to “make -f makefile.unix clean” or delete headers.h.gch one more time to get rid of the leftover file.

Damn that GLIBC_2.11. I thought I’d been careful not to accept any of the updates.

I was going to compile a GLIBC_2.10 version until I noticed that I had to keep installing more and more to get through the check errors, LOL. Looks like I just need to fire up a Virtual Box with all the dev packages loaded to do this in a virtual machine to make life easier.

bytemaster July 30, 2010 01:05 UTC Source ·

Could someone help me understand why it matters that hashing is 2x faster? If everyone were to upgrade the coin inflation rate would still remain the same. Thus there is a “slight” advantage to early adopters. I guess some could say it gives “honest nodes” more time and thus makes it even harder for dishonest nodes to gain an edge.

The #1 aspect if a currency is divisibility and fixed supply and the relative value of the coins will adjust automatically relative to the supply of goods available to buy. So I would think we would want to focus on aspects other than “generation speed” first.

knightmb July 30, 2010 01:25 UTC Source ·
Quote from: bytemaster on July 30, 2010, 1:05:40 AM UTC

Could someone help me understand why it matters that hashing is 2x faster? If everyone were to upgrade the coin inflation rate would still remain the same. Thus there is a “slight” advantage to early adopters. I guess some could say it gives “honest nodes” more time and thus makes it even harder for dishonest nodes to gain an edge.

The #1 aspect if a currency is divisibility and fixed supply and the relative value of the coins will adjust automatically relative to the supply of goods available to buy. So I would think we would want to focus on aspects other than “generation speed” first.

Quite simply to level the playing field for coin generation and to help maintain block generation at a stable rate. If everyone was limited to just 100 khash/s by the client, someone would just compile a client that does not have the limit and load it up on a server farm where they could generate 10,000 khash/s per machine. It would put the coin generation supply in the hands of who ever had a large amount of money to invest in servers and discourage everyone else from trying to mint coin. If we could trust that clients would only act as transaction nodes and that everyone would get a fair shot at coin generation then no one would care if the client was generating at 5 khash/s all the time.

So in a perfect world, no one would care that they can generate 2 or 3 times faster than someone else, but we don’t live in a perfect world. 😉

andy_3_913 July 30, 2010 16:04 UTC Source ·

would an auto-update function built into bc be possible?

HostFat July 30, 2010 16:49 UTC Source ·
Quote from: andy_3_913 on July 30, 2010, 7:04:51 AM UTC

would an auto-update function built into bc be possible?

It’s something that I have already suggested here :| http://bitcointalk.org/index.php?topic=259.0

andy_3_913 July 30, 2010 16:51 UTC Source ·
Quote from: Joozero on July 30, 2010, 7:49:25 AM UTC
Quote from: andy_3_913 on July 30, 2010, 7:04:51 AM UTC

would an auto-update function built into bc be possible?

It’s something that I have already suggested here :| http://bitcointalk.org/index.php?topic=259.0

sorry! 😊

knightmb July 30, 2010 19:24 UTC Source ·

I can only imagine the pain you went through to get these builds because I’m trying to build the program on a Ubuntu 9.04 box and so far I can’t seem to find all the dependencies to compile no matter how much I keep installing packages and compiling source, LOL.

Satoshi Nakamoto July 30, 2010 19:53 UTC Source ·
Quote from: knightmb on July 30, 2010, 10:24:07 AM UTC

I can only imagine the pain you went through to get these builds because I’m trying to build the program on a Ubuntu 9.04 box and so far I can’t seem to find all the dependencies to compile no matter how much I keep installing packages and compiling source, LOL.

I can’t understand why you’re having so much pain.  I just followed the instructions in build-unix.txt.  I made a couple little corrections for Boost 1.37, which I’ll put on SVN the next time I update it, noted below:

Dependencies
------------
sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev
sudo apt-get install libssl-dev
sudo apt-get install libdb4.7-dev
sudo apt-get install libdb4.7++-dev
sudo apt-get install libboost-all-dev (or libboost1.37-dev)

wxWidgets
---------
cd /usr/local
tar -xzvf wxWidgets-2.9.0.tar.gz
cd /usr/local/wxWidgets-2.9.0
mkdir buildgtk
cd buildgtk
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
make
sudo su
make install
ldconfig

added a comment in makefile.unix:

# for boost 1.37, add -mt to the boost libraries
LIBS= \<br>
 -Wl,-Bstatic \<br>
   -l boost_system \<br>
   -l boost_filesystem \<br>
   -l boost_program_options \<br>
   -l boost_thread \<br>
   -l db_cxx \<br>
   -l crypto \<br>
 -Wl,-Bdynamic \<br>
   -l gthread-2.0
knightmb July 30, 2010 20:04 UTC Source ·
Quote from: satoshi on July 30, 2010, 10:53:06 AM UTC

I can’t understand why you’re having so much pain. I just followed the instructions in build-unix.txt. I made a couple little corrections for Boost 1.37, which I’ll put on SVN the next time I update it, noted below:

Dependencies

sudo apt-get install build-essential sudo apt-get install libgtk2.0-dev sudo apt-get install libssl-dev sudo apt-get install libdb4.7-dev sudo apt-get install libdb4.7++-dev sudo apt-get install libboost-all-dev (or libboost1.37-dev)

That part I highlighted is what got me. You can’t install all the libboost packages with that command (I tried to cheat with a * also), but part of my issue is I took it too literal like install everything that had to do with libboost, LOL.

Really, all that was needed was the libboost1.37-dev package and that made all the compile errors go away. Everything else worked out just fine as far as compiling your own wxWidgets, compiling Boost 1.4, etc.

So that last command should simply be sudo apt-get install libboost1.37-dev

On a side note, I compiled mine on a Ubuntu 64bit system, so the finished program came out 64bit aware. I’m testing it out on some 64bit systems to see how well things go.

Satoshi Nakamoto July 30, 2010 21:44 UTC Source ·
Quote from: knightmb on July 30, 2010, 11:04:19 AM UTC

So that last command should simply be

sudo apt-get install libboost1.37-dev Except that wouldn’t work for boost 1.40+ (on Ubuntu 10.04), where you need to get libboost-all-dev.

Seems they changed everything around in Boost recently, “-mt” and all that, makes it hard.

BTW, I tried Boost 1.34 but it didn’t have the boost.interprocess stuff.

Mac OSX version is available now.  See bitcoin.org or the SourceForge link.

knightmb July 30, 2010 21:47 UTC Source ·
Quote from: satoshi on July 30, 2010, 9:44:04 PM UTC
Quote from: knightmb on July 30, 2010, 8:04:19 PM UTC

So that last command should simply be sudo apt-get install libboost1.37-dev

Except that wouldn’t work for boost 1.40+ (on Ubuntu 10.04), where you need to get libboost-all-dev.

Seems they changed everything around in Boost recently, “-mt” and all that, makes it hard.

BTW, I tried Boost 1.34 but it didn’t have the boost.interprocess stuff.

Mac OSX version is available now. See bitcoin.org or the SourceForge link.

Oh, ok, that makes more sense now. Didn’t know that was being compiled on Ubuntu 10.04, I was thinking of everything from a Ubuntu 9.04 point of view.

Well for me, the libboost1.37-dev was all it needed on a Ubuntu 9.04 box to get a 64bit compile. Seems I’ll just need to keep a bunch of virutal box for each one to avoid distro confusion when compiling 😁

andy_3_913 July 30, 2010 21:50 UTC Source ·

i admit. i’m totally out of my depth. will wait for orbit@home to get back on-line

😄

knightmb July 30, 2010 22:20 UTC Source ·

You should see the face my wife makes when she sees me typing it 😁

First thing she said “What hell are you guys talking about” Lips sealed