Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sserver will crash after mining.authorize in a 32bit OS #38

Closed
SwimmingTiger opened this issue Oct 21, 2017 · 0 comments
Closed

sserver will crash after mining.authorize in a 32bit OS #38

SwimmingTiger opened this issue Oct 21, 2017 · 0 comments

Comments

@SwimmingTiger
Copy link
Contributor

BTCPool has never been run on 32-bit operating systems, so we do not know if it is compatible with 32-bit systems.

But now we have a case. A BTCPool built and run in a 32-bit Ubuntu 16.04 and shows it is not compatible with 32-bit operating systems.

In this case, every thing is OK but sserver. The sserver can start, listen, and receive connections, until a miner to request authorization.

telnet 127.0.0.1 3333
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
{"id": 1, "method": "mining.subscribe", "params": []}
{"id":1,"result":[[["mining.set_difficulty","01000000"],["mining.notify","01000000"]],"01000000",8],"error":null}
{"params": ["wxx.miner1", "password"], "id": 2, "method": "mining.authorize"}
{"id":2,"result":true,"error":null}
{"id":null,"method":"mining.set_difficulty","params":[16384]}
{"id":null,"method":"mining.notify","params":["0","024b2b13987744b4dde4b9bd6152cbf489c4dbe07fa5d2c316da174700000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1e036c791204174deb592f7970742e636f6d2f","ffffffff02087a7a09000000001976a9147ec01c9c7c66e2901a07a5e025da405dfda34a0c88ac0000000000000000266a24aa21a9edbbac1ce1bbadfed5422536fca8f1e3031d1513417d16ea111d62d0563d79b4b600000000",["7f686aa7c3c774ac1c5cfe7a4c5b8c87a5a9ca537ad907c0ad574438055a72c9","8f07b01db81c78752807480040455913de162389ce18d611edc82a8975ca0822","be632cbeb2f377a0ae39a0dfc3ae2d0b7205f5730a38a13ca2cb98fb247bc4c3","73ea95c65ecec4173fc855934b59d4698630fd0c376dac8b388394b5911fd894","94875313e6f39a2846488c5d64a9c6cd3e7f24f40088903b94d36f5eaf4622c3","331bab3ab914758ff5d7732fe018f76cf45a02b58d093ade925672c48498f6d7","2d059281cdeb5d47e508e5854dc85f77e9897153ef1d890fdb665203a6534597"],"20000000","1973e180","59eb4d17",true]}
// `sserver` segmentation fault
Connection closed by foreign host.

I will not fix this issue because I do not need to run BTCPool on a 32-bit operating system.

BTCPool is only tested in 64-bit operating systems. I recommend that anyone who wants to run BTCPool choose a 64-bit operating system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants