Namecoin was stillborn, I had to switch off life-support

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: Namecoin was stillborn, I had to switch off life-support

Post by moa »

snailbrain wrote:https://github.com/namecoin-qt/namecoin ... 0b553019f4

but have just received message of some other bugs which are being looked at.. so hold on for announcements for now..

please if people can - double check
Linux Mint namecoin-qt Seg. faults on the nameindexfull rescan

Code: Select all

namecoin version 0.3.72
Default data directory /home/noone/.namecoin
Bound to port 8334
Setup namecoin genesis block 000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770
Loading addresses...
dbenv.open strLogDir=/home/noone/.namecoin/database strErrorFile=/home/noone/.namecoin/db.log
Loaded 1084 addresses
 addresses              2702ms
Loading block index...
LoadBlockIndex(): hashBestChain=e83f85b11743c883431d  height=138578
 block index          212104ms
Loading wallet...
nFileVersion = 40000
 wallet                 1003ms
Done loading
mapBlockIndex.size() = 138592
nBestHeight = 138578
mapKeys.size() = 2186
mapCryptedKeys.size() = 0
setKeyPool.size() = 101
mapPubKeys.size() = 2186
mapWallet.size() = 693
mapAddressBook.size() = 9
Loading addresses from DNS seeds (could take a while)
0 addresses found from DNS seeds
Name DB is of old version containing a bug. Forcing rescan.
Scanning blockchain for names to create fast index...


************************
EXCEPTION: 11DbException       
Db::get: Cannot allocate memory       
namecoin in Runaway exception 
Edit: however I built the namecoind in the same branch and launches ok (after namecoin-qt did the rescan?) so maybe namecoin-qt crashed at end of rescan ...

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Namecoin was stillborn, I had to switch off life-support

Post by domob »

I see the same error on Debian Wheezy. After the crash, I can start namecoind-qt (in my case) fine, but every name_show returns an error (code -4, could not read name from DB - the same one one gets for non-existing names). The same things happen if I manually delete nameindexfull.dat and force a rescan that way.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

Deafboy
Posts: 6
Joined: Tue May 22, 2012 5:58 pm
os: linux

Re: Namecoin was stillborn, I had to switch off life-support

Post by Deafboy »

Fix for crash / empty db after crash from cjd:
https://github.com/cjdelisle/namecoin-q ... 63265799f6

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: Namecoin was stillborn, I had to switch off life-support

Post by khal »

Deafboy wrote:Fix for crash / empty db after crash from cjd:
https://github.com/cjdelisle/namecoin-q ... 63265799f6
This commit is not working anymore with latest patch from namecoin-qt ("An improved patch").
You need to apply this patch too :
https://github.com/khalahan/namecoin/co ... 6afa95bb8d
after https://github.com/cjdelisle/namecoin-q ... 63265799f6 & https://github.com/cjdelisle/namecoin-q ... e003054b1c


The code to fix the bug on the namecoin/master repository is available there and will be merged in the official repo when ready :
- https://github.com/khalahan/namecoin/tr ... er-namebug
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Namecoin was stillborn, I had to switch off life-support

Post by domob »

I've just updated to the current status of namecoin-qt in git, and now everything seems to work for me. I'll update the version on nameid.org now, and test that there, too.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

Post Reply