Author

Topic: Getting an error I've never seen on 0.10.2 core (Read 897 times)

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Mine ended up just going away on its own yesterday.  I've since restarted the bitcoind and updated p2pool to version 14.0, and haven't seen the error again.
sr. member
Activity: 373
Merit: 250
same problem here.. P2Pool and Bitcoind ..
but P2Pool seems to run anyway.. so we have "just" an annoying message? or does this error lead to any problems?

Quote
{
    "version" : 100000,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : *,
    "blocks" : 362754,
    "timeoffset" : 0,
    "connections" : 20,
    "proxy" : "",
    "difficulty" : 49692386354.89383698,
    "testnet" : false,
    "keypoololdest" : 1432891066,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "EXCEPTION: St12out_of_range       \nCInv::GetCommand() : type=513 unknown type       \nbitcoin in ProcessMessages()       \n"
}

can i remove the error message without restarting?
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Does it crash? Or just logs the warning and move on?

Anyone can send an Inventory Vector to other nodes (https://en.bitcoin.it/wiki/Protocol_documentation#Inventory_Vectors)
Accepted types though are 0 through 3.
It seems somebody is spamming with message type 513.
No it doesn't crash... it happily continues to run along.  It has since stopped.  So this is more of an inquiry as to what the cause might have been.  Would you mind explaining what that inventory vector is and what it is typically used for?

Thanks!

Edit: never mind I see the link... Duh... Missed it.  Too much Guinness Smiley
sr. member
Activity: 315
Merit: 250
Does it crash? Or just logs the warning and move on?

Anyone can send an Inventory Vector to other nodes (https://en.bitcoin.it/wiki/Protocol_documentation#Inventory_Vectors)
Accepted types though are 0 through 3.
It seems somebody is spamming with message type 513.
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I run my own p2pool node (have for well over a year).  Today, I started seeing something I've never seen...

(from bitcoind) EXCEPTION: St12out_of_range CInv::GetCommand() : type=513 unknown type bitcoin in ProcessMessages()

First time I've seen this... Anyone have any ideas?

My p2pool node is 104.131.12.128:9332 if anyone wants to see the error...

Here's the snippet from the p2pool log:
Code:
2015-06-26 09:58:14.329592 P2Pool: 17376 shares in chain (17380 verified/17380 total) Peers: 41 (34 incoming)
2015-06-26 09:58:14.329634  Local: 2680GH/s in last 10.0 minutes Local dead on arrival: ~6.4% (4-9%) Expected time to share: 1.4 hours
2015-06-26 09:58:14.329676  Shares: 1048 (85 orphan, 68 dead) Stale rate: ~14.6% (12-17%) Efficiency: ~96.1% (93-99%) Current payout: (0.0000)=0.0000 BTC
2015-06-26 09:58:14.329724  Pool: 1259TH/s Stale rate: 11.1% Expected time to block: 2.0 days
2015-06-26 09:58:15.623680 Peer sent entire transaction 1170fcf19ad833fb8f237004c0efc59e46697dab9b81850478d4fa6f8ae18575 that was already received
2015-06-26 09:58:16.125142 Peer sent entire transaction 0b7dbeb74599087db6b263919499c71cf05da374b7d809a47585ce2c5f4f0dd2 that was already received
2015-06-26 09:58:17.291632 Peer sent entire transaction ea49a8b720dd2b4eea58f9eaff5b58fd780f5375b6de3ed6e328557658ffc71b that was already received
2015-06-26 09:58:17.333289 > ########################################
2015-06-26 09:58:17.333419 > >>> Warning: (from bitcoind) EXCEPTION: St12out_of_range
2015-06-26 09:58:17.333473 > CInv::GetCommand() : type=513 unknown type
2015-06-26 09:58:17.333520 > bitcoin in ProcessMessages()
2015-06-26 09:58:17.333567 >
2015-06-26 09:58:17.333620 > ########################################

Here's what the bitcoin log shows:
Code:
2015-06-26 13:58:02 socket recv error Connection reset by peer (104)
2015-06-26 13:58:03 CreateNewBlock(): total size 749911
2015-06-26 13:58:21 CreateNewBlock(): total size 749862
2015-06-26 13:58:38 CreateNewBlock(): total size 749950
2015-06-26 13:58:38 receive version message: : version 40000, blocks=0, us=104.131.12.128:8333, peer=122431
2015-06-26 13:58:38 Added time data, samples 200, offset -40 (+0 minutes)
2015-06-26 13:58:55 CreateNewBlock(): total size 749874

Not a lot of help there...

From bitcoind:
Code:
miner@devildog:~/bitcoin-0.10.2/src$ ./bitcoin-cli getinfo
{
    "version" : 100200,
    "protocolversion" : 70002,
    "blocks" : 362645,
    "timeoffset" : 0,
    "connections" : 97,
    "proxy" : "",
    "difficulty" : 49692386354.89383698,
    "testnet" : false,
    "relayfee" : 0.00001000,
    "errors" : "EXCEPTION: St12out_of_range       \nCInv::GetCommand() : type=513 unknown type       \nbitcoin in ProcessMessages()       \n"
}

I also posted this in the p2pool thread, but since it's directly from bitcoin core, I thought I'd cross post it here as well in case anyone might be able to provide some more information.

Edit: some potentially relevant information...

Bitcoin is compiled from source and is running on Ubuntu 14.04
Code:
miner@devildog:~/bitcoin-0.10.2/src$ uname -a
Linux devildog 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Jump to: