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

Miner dies when creating a transaction (on docker) #141

Closed
kingsleyh opened this issue Apr 27, 2018 · 0 comments
Closed

Miner dies when creating a transaction (on docker) #141

kingsleyh opened this issue Apr 27, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@kingsleyh
Copy link
Contributor

kingsleyh commented Apr 27, 2018

The miner was running and when I created a transaction the miner died with this error:

[ 2018-04-27 18:03:28 --    Info ] 100 works, 41 [Work/s] (thread: 1)
Invalid memory access (signal 11) at address 0x28
[0x4b3996] *CallStack::print_backtrace:Int32 +118
[0x489fab] __crystal_sigfault_handler +75
[0x7f3a3e5b9390] ???
[0x4ce34b] *Fiber::switch_stacks<Pointer(Pointer(Void)), Pointer(Pointer(Void))>:Nil +11
[0x4a65a0] ???

Is this related to the #140 ??

I was running in our docker instance:

sushim --threads 10

when I tried to restart the miner after this error - it just kept giving the same error unless I set the threads to 1 or 2 instead of 10

--- UPDATE

so after some further testing - it seems the problem is only happening only on the docker instance when running the miner and create transaction on the same instance.

docker run -it sushichain/sushichain /bin/bash
sushim -w w1.json -n http://testnet.sushichain.io:3000 --threads=20

then reconnect to the container in another shell (wait 10 mins for miner to make some coins):

docker ps (find <container_id>
docker exec -it <container_id> /bin/bash
sushi tx create -m 1 -f 1 -a VDA4OTFjMTcyZmYwZmQzOWUzOTNiYjdmYmU1N2UzNWQ2NTE3YjVjYjI5MWViMjhi

create several transactions in a row - and see the miner dies.

Could not reproduce in these scenarios:

  1. on osx
  2. miner on docker and create tx from osx
@kingsleyh kingsleyh added the bug Something isn't working label Apr 27, 2018
@kingsleyh kingsleyh changed the title Miner dies when creating a transaction Miner dies when creating a transaction (on docker) Apr 28, 2018
@tbrand tbrand mentioned this issue May 19, 2018
1 task
@tbrand tbrand closed this as completed May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants