-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant sync my Node above Blockhight 99972 #36
Comments
@DenioD thanks for the details, I am looking into this. It could be related to changes that exist in my |
@DenioD could you also tell me if anything different happens on dev vs master branch, for the same machine? |
@DenioD also, if it's possible to add some debug CLI options, and find out which transaction it coredumps in when processing it, that would be helpful |
@leto I cant compile the dev branche.I get still the utfcpp.mk error (maybe a packages problem?) Here are the lines before it crash on Blockhight 99972 with debug=1 ` ` |
@leto i was able to get a little more debug data: 2019-10-09 18:29:49 UpdateTip: new best=00000000147f5c386ae6d29ae9d1ad633c1823a97786beeefc00cebb828317a9 height=99971 log2_work=45.764859 log2_stake=-inf tx=206286 date=2019-10-05 02:56:39 progress=0.974158 cache=1.6MiB(2405tx) |
@DenioD sorry, I will fix that missing dependency. Thanks for this extra data, digging into it |
@DenioD we have identified the core problem and working on a fix. thanks for all your bug reports! |
Got similar issues: [HUSH3] ht.99963 txi.1 signedmask.a0092c0a42000044 numvins.13 numvouts.2 <<<<<<<<<<< notarized |
@mawenpeng thanks for reporting! We have a bootstrap you can use to get past the problematic block: https://gist.github.com/leto/750721efafc15423b7298b00b2d3f5e5 If you need help, #wallet-support on Hush Discord can help you use the bootstrap. We have a fix in the works, and the new version of Hush will be released soon. Thanks for using Hush. |
The bootstrap works. Thanks. |
@mawenpeng glad to hear it. We have a fix in the |
Fix is now merged to |
Fixed in 3.2.0 release: https://github.com/MyHush/hush3/releases/tag/v3.2.0 Currently we have a Linux binary, others will follow |
Thanks for the fix.
Steps: |
@mawenpeng I suggest using the master branch, not that tag, where that bug is fixed. I generated that tag too early and there were some bugs. We will be tagging a new release soon once everything is tested and working |
This is still in progress... |
@DenioD finally fixed by 3.2.1 ! Thanks so much for all your help: |
I get the following error at Block 99972, after i compiled the latest version of Hush3/master and run ./hushd:
Komodod: coins.cpp:564: const CTxOut& CCoinsViewCache::GetOutputFor(const CTxIn&) const: Assertion `coins && coins->IsAvailable(input.prevout.n)' failed.
./hushd: Zeile 58: 3246 Abgebrochen (Speicherabzug geschrieben) $KMD -ac_name=$NAME -ac_sapling=1 -ac_reward=$REWARD -ac_halving=$HALVING -ac_end=$END -ac_eras=$ERAS -ac_blocktime=$BLOCKTIME -ac_cc=2 -ac_ccenable=$CCENABLE -ac_founders=$FOUNDERS -ac_supply=$SUPPLY -ac_perc=$PERC -clientname=$CLIENTNAME -addnode=$SEEDNODE1 -addnode=$SEEDNODE2 -addnode=$SEEDNODE3 -ac_cclib=$CCLIB -ac_script=$SCRIPT "$@"
After that error the hushd process ends. I run ./hushd again and have to to load all Blocks again but get the same error. I deleted ./komodo but still get the same error.
The version of Komodo you were using:
Komodo Daemon version v3.0.0-beta2-e3a2e008f
Machine specs:
Backtrace (gdb):
Thread 22 "zcash-msghand" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc17fa700 (LWP 8690)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7a0b535 in __GI_abort () at abort.c:79
#2 0x00007ffff7a0b40f in __assert_fail_base (
fmt=0x7ffff7b99588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x5555563055a0 "coins && coins->IsAvailable(input.prevout.n)",
file=0x555556305520 "coins.cpp", line=564, function=)
at assert.c:92
#3 0x00007ffff7a1b012 in _GI___assert_fail (
assertion=assertion@entry=0x5555563055a0 "coins && coins->IsAvailable(input.prevout.n)", file=file@entry=0x555556305520 "coins.cpp", line=line@entry=564,
function=function@entry=0x555556305b80 <CCoinsViewCache::GetOutputFor(CTxIn const&) const::PRETTY_FUNCTION> "const CTxOut& CCoinsViewCache::GetOutputFor(const CTxIn&) const") at assert.c:101
#4 0x0000555555a73829 in CCoinsViewCache::GetOutputFor (
this=this@entry=0x7fffc17f6e10, input=...) at primitives/transaction.h:472
#5 0x0000555555a73956 in CCoinsViewCache::GetValueIn (
this=this@entry=0x7fffc17f6e10, nHeight=99972,
interestp=interestp@entry=0x7fffc17f68f0, tx=..., tiptime=)
at /usr/include/c++/8/bits/stl_vector.h:948
#6 0x00005555556d4c11 in AcceptToMemoryPool (pool=..., state=..., tx=...,
fLimitFree=fLimitFree@entry=false,
pfMissingInputs=pfMissingInputs@entry=0x7fffc17f712f,
fRejectAbsurdFee=fRejectAbsurdFee@entry=true, dosLevel=-1, at chain.h:602
#7 0x00005555556d638c in myAddtomempool (tx=..., pstate=pstate@entry=0x7fffc17f73f0, fSkipExpiry=fSkipExpiry@entry=true) at main.cpp:2223
#8 0x00005555556d6ee0 in CheckBlock (futureblockp=futureblockp@entry=0x7fffc17f79c0, height=99973, pindex=0x7fffa57b5a10, block=..., state=..., verifier=..., fCheckPOW=true, fCheckMerkleRoot=true) at main.cpp:5201
#9 0x00005555556d7718 in ConnectBlock (block=..., state=..., pindex=, pindex@entry=0x7fffa57b5a10, view=..., fJustCheck=fJustCheck@entry=false, fCheckPOW=fCheckPOW@entry=true) at chain.h:368
#10 0x00005555556e0ac4 in ConnectTip (pblock=0x7fffc17f8ed0, pindexNew=0x7fffa57b5a10, state=...) at main.cpp:4281
#11 ActivateBestChainStep (fSkipdpow=fSkipdpow@entry=false, state=..., pindexMostWork=pindexMostWork@entry=0x7fffa57b5a10, pblock=0x7fffc17f8ed0) at main.cpp:4533
#12 0x00005555556e2287 in ActivateBestChain (fSkipdpow=fSkipdpow@entry=false, state=..., pblock=pblock@entry=0x7fffc17f8ed0) at ./uint256.h:59
#13 0x00005555556e2ac3 in ProcessNewBlock (from_miner=from_miner@entry=false, height=height@entry=0, state=..., pfrom=pfrom@entry=0x7fffac001c90, pblock=pblock@entry=0x7fffc17f8ed0, fForceProcessing=, dbp=0x0) at sync.h:79
#14 0x00005555556e86ed in ProcessMessage (pfrom=pfrom@entry=0x7fffac001c90, strCommand="block", vRecv=..., nTimeReceived=nTimeReceived@entry=1570479984504920) at main.cpp:7923
#15 0x00005555556ea5a6 in ProcessMessages (pfrom=0x7fffac001c90) at /usr/include/c++/8/ext/new_allocator.h:86
#16 0x00005555556ecabf in boost::detail::function::function_invoker1<bool ()(CNode), bool, CNode*>::invoke (function_ptr=..., a0=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/function/function_template.hpp:97
#17 0x00005555557613b4 in boost::function1<bool, CNode*>::operator() (a0=, this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/function/function_template.hpp:673
#18 boost::signals2::detail::call_with_tuple_args::m_invoke<boost::function<bool (CNode*)>, 0u, CNode*&>(boost::function<bool (CNode*)>&, boost::signals2::detail::unsigned_meta_array<0u>, std::tuple<CNode*&> const&, boost::disable_if<boost::is_void<boost::function<bool (CNode*)>::result_type>, void>::type*) const (args=std::tuple containing = {...}, func=..., this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:98
#19 boost::signals2::detail::call_with_tuple_args::operator()<boost::function<bool (CNode*)>, CNode*&, 1ul>(boost::function<bool (CNode*)>&, std::tuple<CNode*&> const&, mpl::size_t<1ul>) const (args=std::tuple containing = {...}, func=..., this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:90
#20 boost::signals2::detail::variadic_slot_invoker<bool, CNode*>::operator()<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >(boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > const&) const (connectionBody=..., this=0x7fffc17f9b30) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:133
#21 boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >::dereference() const (this=0x7fffc17f9850) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/slot_call_iterator.hpp:110
#22 boost::iterators::iterator_core_access::dereference<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > const&) (f=...) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/iterator/iterator_facade.hpp:550
#23 boost::iterators::detail::iterator_facade_base<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >, bool, boost::iterators::single_pass_traversal_tag, bool const&, long, false, false>::operator*() const (this=0x7fffc17f9850) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/iterator/iterator_facade.hpp:656
#24 CombinerAll::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >) const (last=..., first=..., this=) at net.h:108
#25 boost::signals2::detail::combiner_invoker::operator()<CombinerAll, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >(CombinerAll&, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<bool, CNode*>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<bool (CNode*), boost::function<bool (CNode*)> >, boost::signals2::mutex> >) const (last=..., first=..., combiner=..., this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/result_type_wrapper.hpp:53
#26 boost::signals2::detail::signal_impl<bool (CNode*), CombinerAll, int, std::less, boost::function<bool (CNode*)>, boost::function<bool (boost::signals2::connection const&, CNode*)>, boost::signals2::mutex>::operator()(CNode*) (args#0=, this=0x555556c9d810) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/signal_template.hpp:243
#27 boost::signals2::signal<bool (CNode*), CombinerAll, int, std::less, boost::function<bool (CNode*)>, boost::function<bool (boost::signals2::connection const&, CNode*)>, boost::signals2::mutex>::operator()(CNode*) (args#0=0x7fffac001c90, this=0x5555566f2438 <g_signals+24>) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/signals2/detail/signal_template.hpp:722
#28 ThreadMessageHandler () at net.cpp:1599
#29 0x0000555555767ef8 in TraceThread<void ()()> (name=, func=0x555555760cb0 <ThreadMessageHandler()>) at /usr/include/c++/8/bits/basic_string.h:2290
#30 0x0000555555763a24 in boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void ()()> >::operator()<void ()(char const*, void ()()), boost::_bi::list0> (a=..., f=, this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/bind/bind.hpp:1291
#31 boost::_bi::bind_t<void, void ()(char const*, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void ()()> > >::operator() (this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/bind/bind.hpp:1294
#32 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const*, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void (*)()> > > >::run (this=) at /home/denio/hush3/depends/x86_64-unknown-linux-gnu/share/../include/boost/thread/detail/thread.hpp:116
#33 0x0000555555d58d25 in thread_proxy ()
#34 0x00007ffff7d94182 in start_thread (arg=) at pthread_create.c:486
#35 0x00007ffff7b03b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)
The text was updated successfully, but these errors were encountered: