EXCEPTION: NSt8ios_base7failureE non-canonical ReadCompactSize() bitcoin in ProcessMessages() #6746

issue mkabatek opened this issue on October 2, 2015
  1. mkabatek commented at 4:54 AM on October 2, 2015: none

    I have a standard build of bitcoin core 11.0. It has been running for months, and all the sudden it is throwing the following exception. What causes the following error?

    {
    "version" : 110000,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.01182943,
    "blocks" : 377077,
    "timeoffset" : 2,
    "connections" : 43,
    "proxy" : "",
    "difficulty" : 60813224039.44034576,
    "testnet" : false,
    "keypoololdest" : 1415846170,
    "keypoolsize" : 100,
    "unlocked_until" : 0,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "EXCEPTION: NSt8ios_base7failureE       \nnon-canonical ReadCompactSize()       \nbitcoin in ProcessMessages()       \n"
    }
    
  2. pstratem commented at 5:30 AM on October 2, 2015: contributor

    One of the peers you are connected to sent you garbage.

    There's no actual error.

    On 10/01/2015 09:54 PM, mkabatek wrote:

    I have a standard build of bitcoin core 11.0. It has been running for months, and all the sudden it is throwing the following exception. What causes the following error?

    |{ "version" : 110000, "protocolversion" : 70002, "walletversion" : 60000, "balance" : 0.01182943, "blocks" : 377077, "timeoffset" : 2, "connections" : 43, "proxy" : "", "difficulty" : 60813224039.44034576, "testnet" : false, "keypoololdest" : 1415846170, "keypoolsize" : 100, "unlocked_until" : 0, "paytxfee" : 0.00000000, "relayfee" : 0.00001000, "errors" : "EXCEPTION: NSt8ios_base7failureE \nnon-canonical ReadCompactSize() \nbitcoin in ProcessMessages() \n" } |

    — Reply to this email directly or view it on GitHub #6746.

  3. mkabatek closed this on Oct 2, 2015

  4. dexX7 commented at 9:51 AM on October 29, 2015: contributor

    I was notified about this exception, and I think this issue should be reopened.

    Even if it is not a bad state, it appears to cause quite a bit of confusion, and a more user-faced message should be written to the log.

  5. MarcoFalke locked this on Sep 8, 2021

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: 2026-04-13 21:15 UTC

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