Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: altcoiner- on September 21, 2016, 09:35:48 PM



Title: "segmentation fault"
Post by: altcoiner- on September 21, 2016, 09:35:48 PM
I've been getting this across BTC and a few other daemons on one server, then it's been working fine on another server.

successful NMC compile, when i go to run the daemon:
Code:
2016-09-21 21:33:41 Namecoin version v0.13.99.0-fdfb20f
2016-09-21 21:33:41 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-09-21 21:33:41 Default data directory /root/.namecoin
2016-09-21 21:33:41 Using data directory /root/.namecoin
2016-09-21 21:33:41 Using config file /root/.namecoin/namecoin.conf
2016-09-21 21:33:41 Using at most 125 connections (1024 file descriptors available)
2016-09-21 21:33:41 Using 4 threads for script verification
2016-09-21 21:33:41 libevent: getaddrinfo: address family for nodename not supported
2016-09-21 21:33:41 Binding RPC on address ::1 port 8336 failed.
2016-09-21 21:33:41 HTTP: creating work queue of depth 16
2016-09-21 21:33:41 No rpcpassword set - using random cookie authentication
2016-09-21 21:33:41 Generated RPC authentication cookie /root/.namecoin/.cookie
2016-09-21 21:33:41 HTTP: starting 4 worker threads
2016-09-21 21:33:41 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-09-21 21:33:41 Using wallet wallet.dat
2016-09-21 21:33:41 init message: Verifying wallet...
2016-09-21 21:33:41 CDBEnv::Open: LogDir=/root/.namecoin/database ErrorFile=/root/.namecoin/db.log
Segmentation fault

I also want to ask is there a update list of dependencies for btc/ltc forks? Everytime I try to build, i come across errors. I've tried plenty of variations now.


Title: Re: "segmentation fault"
Post by: achow101 on September 21, 2016, 09:37:41 PM
How much RAM do you have? I think you may just be running out of memory.


Title: Re: "segmentation fault"
Post by: altcoiner- on September 21, 2016, 09:38:38 PM
How much RAM do you have? I think you may just be running out of memory.
36gb...
I've wiped all processes, just to run a single daemon, and this continues to come up just about every coin i manage to compile.


Title: Re: "segmentation fault"
Post by: achow101 on September 21, 2016, 09:42:17 PM
How much RAM do you have? I think you may just be running out of memory.
36gb...
I've wiped all processes, just to run a single daemon, and this continues to come up just about every coin i manage to compile.
Run just bitcoind. Post the full debug.log from it.

Are you sure that your dependencies are the correct versions?

What OS?


Title: Re: "segmentation fault"
Post by: altcoiner- on September 21, 2016, 09:50:54 PM
How much RAM do you have? I think you may just be running out of memory.
36gb...
I've wiped all processes, just to run a single daemon, and this continues to come up just about every coin i manage to compile.
Run just bitcoind. Post the full debug.log from it.

Are you sure that your dependencies are the correct versions?

What OS?
only running nmc at the moment while I try figure it out and the debug.log for some reason is empty (helpful, right?)
Is there a specific list of dependencies for BTC/LTC forks I can follow? I've follow the github, didn't really do the trick.
Linux Ubuntu 16.04


Title: Re: "segmentation fault"
Post by: Evil-Knievel on September 22, 2016, 02:44:20 PM
build with debug symbols, and do a "valgrind ./programname"