Bitcoin Forum

Other => Beginners & Help => Topic started by: arthurb on June 25, 2011, 08:00:19 PM



Title: Segfault when starting bitcoind
Post by: arthurb on June 25, 2011, 08:00:19 PM
I compiled bitcoind on a Centos 5.3 machine. I linked statically to boost, berkeley db and openssl. The crash happens when bitcoind is started without parameters. When started as -daemon, it just exits silently.

The segfault doesn't happen in the main thread apparently, it happens in a call to the openssl function EC_POINT_point2oct ().

I compiled the bitcoin daemon in debug mode, so I can provide any info that may help you help me out.

boost is 1.46.1
openssl is 1.0.0d
berkeley db is 5.2.28


Title: Re: Segfault when starting bitcoind
Post by: Tartarus on June 26, 2011, 02:55:57 PM
I compiled the bitcoin daemon in debug mode, so I can provide any info that may help you help me out.

Can you run it under gdb (ie gdb bitcoind), start it (run), and then give us the output of 'backtrace' once it crashes?


Title: Re: Segfault when starting bitcoind
Post by: joan on June 27, 2011, 12:38:17 AM
It has been fixed (https://github.com/bitcoin/bitcoin/pull/347), you should pull again.