Page 4 of 4

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

Posted: Tue Oct 15, 2013 7:36 pm
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 ...

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

Posted: Tue Oct 15, 2013 8:14 pm
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.

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

Posted: Wed Oct 16, 2013 7:07 am
by Deafboy
Fix for crash / empty db after crash from cjd:
https://github.com/cjdelisle/namecoin-q ... 63265799f6

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

Posted: Wed Oct 16, 2013 1:46 pm
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

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

Posted: Sat Oct 19, 2013 11:30 am
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.