Bitcoin Forum
August 21, 2017, 06:44:44 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bug report: ThreadRPCServer crash  (Read 1023 times)
shads
Sr. Member
****
Offline Offline

Activity: 266


View Profile WWW
July 04, 2011, 01:13:04 AM
 #1

Not sure what the official channel for bug reporting is so here seems a good place.

I'm developing a pool server in java and during testing under load (max 5 concurrent requests, about 1 request / 30ms) the bitcoin server that's feeding it getwork requests keeps crashing with the following message:



followed by:



It's reproducible every time I run the same simple code that generates a lot of requests but usually stays up for about 1-2 mins of load before the crash.

My bitcoin.conf file is standard except for uncommenting the json-rpc user and password fields.  Bitcoin version is: 0.3.23-beta.  Downloaded as windows installer from main website.

PoolServerJ Home Page - High performance java mining pool engine

MineZzone Zencash mining pool: Site / Support thread - PPLNT - 0% fee until 30th June - Stability and orphans sorted!!!

Quote from: Matthew N. Wright
Stop wasting the internet.
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1503297884
Hero Member
*
Offline Offline

Posts: 1503297884

View Profile Personal Message (Offline)

Ignore
1503297884
Reply with quote  #2

1503297884
Report to moderator
error
Hero Member
*****
Offline Offline

Activity: 574



View Profile
July 04, 2011, 05:04:19 PM
 #2

What's unusual about the data you are sending to bitcoind?

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
shads
Sr. Member
****
Offline Offline

Activity: 266


View Profile WWW
July 05, 2011, 12:16:46 AM
 #3

Nothing unusual about the requests themselves just standard getwork and getblocknumber requests with following headers:
Content-Type: application/json
Host: localhost:8999
Content-Length: 32
Authorization: Basic somebase64rubbish

The only thing out of the ordinary is that the requests are all coming from one address but the client is multithreaded so it's very likely there's many concurrent requests from one address at any one time.

Forgot to mention I'm running the bitcoin daemon on winXP 32 bit.

Also I doubt it should be an issue but I'm using org.json library which creates json strings with newlines (but no indenting) i.e.
Code:
{
"id": 1,
"method": "getwork"
}

PoolServerJ Home Page - High performance java mining pool engine

MineZzone Zencash mining pool: Site / Support thread - PPLNT - 0% fee until 30th June - Stability and orphans sorted!!!

Quote from: Matthew N. Wright
Stop wasting the internet.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!