Bitcoin Forum
December 03, 2016, 12:39:57 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bug report: ThreadRPCServer crash  (Read 968 times)
shads
Full Member
***
Offline Offline

Activity: 224


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

1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq - http://payb.tc/shads

Quote from: Matthew N. Wright
Stop wasting the internet.
1480725597
Hero Member
*
Offline Offline

Posts: 1480725597

View Profile Personal Message (Offline)

Ignore
1480725597
Reply with quote  #2

1480725597
Report to moderator
1480725597
Hero Member
*
Offline Offline

Posts: 1480725597

View Profile Personal Message (Offline)

Ignore
1480725597
Reply with quote  #2

1480725597
Report to moderator
1480725597
Hero Member
*
Offline Offline

Posts: 1480725597

View Profile Personal Message (Offline)

Ignore
1480725597
Reply with quote  #2

1480725597
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480725597
Hero Member
*
Offline Offline

Posts: 1480725597

View Profile Personal Message (Offline)

Ignore
1480725597
Reply with quote  #2

1480725597
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
Full Member
***
Offline Offline

Activity: 224


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

1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq - http://payb.tc/shads

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!