Node crashed with assertion failure in network code #9348

issue laanwj openend this issue on December 14, 2016
  1. laanwj commented at 4:36 pm on December 14, 2016: member
    0bitcoind: net.h:775: int CNode::GetSendVersion() const: Assertion `nSendVersion != 0' failed.
    

    It was running last week master (9851a84) with #9289 #9288 #9283 #8589 on top.

    Traceback:

     0[#5](/bitcoin-bitcoin/5/)  0x7f57b35c in CNode::GetSendVersion (this=<optimized out>) at net.h:775
     1[#6](/bitcoin-bitcoin/6/)  0x7f5fde28 in GetSendVersion (this=0xb6ed70a4 <lock>)
     2    at /home/user/x-tools/arm-unknown-linux-gnueabihf/arm-unknown-linux-gnueabihf/include/c++/5.3.0/bits/basic_string.h:179
     3[#7](/bitcoin-bitcoin/7/)  SendMessages (pto=0xb6ed70a4 <lock>, connman=...)
     4    at net_processing.cpp:2548
     5[#8](/bitcoin-bitcoin/8/)  0x7f5ec4bc in operator() (a1=..., a0=<optimized out>, this=<optimized out>)
     6    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/function/function_template.hpp:771
     7[#9](/bitcoin-bitcoin/9/)  m_invoke<boost::function<bool(CNode*, CConnman&)>, 0u, 1u, CNode*&, CConnman&> (args=..., func=..., this=<optimized out>)
     8    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:88
     9[#10](/bitcoin-bitcoin/10/) operator()<boost::function<bool(CNode*, CConnman&)>, CNode*&, CConnman&, 2u> (args=..., func=..., this=<optimized out>)
    10    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:80
    11[#11](/bitcoin-bitcoin/11/) operator()<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<bool(CNode*, CConnman&), boost::function<bool(CNode*, CConnman&)> >, boost::signals2::mutex> > > (connectionBody=..., this=0xadefed28)
    12    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/signals2/detail/variadic_slot_invoker.hpp:124
    13[#12](/bitcoin-bitcoin/12/) dereference (this=0xadefec28)
    14...
    15    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/signals2/detail/signal_template.hpp:247
    16[#18](/bitcoin-bitcoin/18/) 0x7f5d057c in operator() (args#1=..., args#0=0x8e5a3fe0, 
    17    this=0x7fb3dfbc <g_signals+12>)
    18    at /data/src/bitcoin-arm/depends/arm-unknown-linux-gnueabihf/share/../include/boost/signals2/detail/signal_template.hpp:723
    19[#19](/bitcoin-bitcoin/19/) CConnman::ThreadMessageHandler (this=0xb5b0f008) at net.cpp:1896
    20[#20](/bitcoin-bitcoin/20/) 0x7f5dc9f0 in operator() (this=0xadefee14)
    21    at /home/user/x-tools/arm-unknown-linux-gnueabihf/arm-unknown-linux-gnueabihf/include/c++/5.3.0/functional:2271
    22[#21](/bitcoin-bitcoin/21/) TraceThread<std::function<void ()> >(char const*, std::function<void ()>) (
    23    name=0x7fa0976c "msghand", func=...) at util.h:207
    

    @cfields I’m not sure if it useful to report this as I was testing various pulls, but an assert crash issue is serious so here it goes anyway.

  2. laanwj added the label P2P on Dec 14, 2016
  3. paveljanik commented at 4:38 pm on December 14, 2016: contributor
    #9212 ?
  4. laanwj commented at 4:41 pm on December 14, 2016: member
    Ok, closing
  5. laanwj closed this on Dec 14, 2016

  6. MarcoFalke locked this on Sep 8, 2021


laanwj paveljanik

Labels
P2P


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me