gdb:
#0 0x00007ffff34d7725 in vfprintf () from /lib64/libc.so.6
#1 0x00007ffff358c560 in __vsnprintf_chk () from /lib64/libc.so.6
#2 0x000000000047ee6f in vsnprintf (__ap=0x7fffd53cffd8, __fmt=0x689900 "(hash=%s, nTime=%d, ver=%d, vin.size=%zu, vout.size=%zu, nLockTime=%d, neodata=%s)\n", __n=50000,
__s=0x7fffd53cfff0 "(hash=2b7e74b63a, nTime=1381180603, ver=1, vin.size=1, vout.size=1, nLockTime=0, neodata=") at /usr/include/bits/stdio2.h:79
#3 vstrprintf (format=0x689900 "(hash=%s, nTime=%d, ver=%d, vin.size=%zu, vout.size=%zu, nLockTime=%d, neodata=%s)\n", ap=ap@entry=0x7fffd53dc390) at src/util.cpp:309
#4 0x000000000047ef96 in real_strprintf (format=, dummy= ) at src/util.cpp:331
#5 0x00000000004e4a7d in CTransaction::ToString (this=0x7fffe40634b0) at src/main.h:643
#6 0x00000000004e565d in print (this=) at src/main.h:660
#7 CBlock::print (this=this@entry=0x7fffe4062ef0) at src/main.h:1076
#8 0x00000000004bfe0d in CheckWork (pblock=0x7fffe4062ef0, wallet=..., reservekey=...) at src/main.cpp:4224
#9 0x00000000004c0abf in NeocoinMiner (pwallet=0x2fb2ae0, fProofOfStake=true) at src/main.cpp:4314
#10 0x000000000050a026 in ThreadStakeMinter (parg=0x2fb2ae0) at src/net.cpp:1313
#11 0x00007ffff6750724 in ?? () from /usr/lib64/libboost_thread.so.1.53.0
#12 0x00007ffff4052d96 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff357946d in clone () from /lib64/libc.so.6
Trivial to fix:
nVersion,
vin.size(),
vout.size(),
- nLockTime),
- neodata.substr(0,30).c_str();
+ nLockTime,
+ neodata.substr(0,30).c_str());
for (unsigned int i = 0; i < vin.size(); i++)
str += " " + vin[i].ToString() + "\n";
for (unsigned int i = 0; i < vout.size(); i++)
The bug is now fixed in the last version.