confidential-assets-demo icon indicating copy to clipboard operation
confidential-assets-demo copied to clipboard

Demo segfaults on Alpine Linux

Open haarts opened this issue 6 years ago • 3 comments

I've been able to get to the part where I could run start_demo.sh. When 'fred' wants to issue its first asset the elementsd daemon segfaults. The offending command is: elements-cli -datadir=demo/data/fred issueasset 1000000 500 (started the daemon with elementsd -datadir=demo/data/fred).

haarts avatar Dec 10 '18 15:12 haarts

@haarts Thank you for your report.

Would you show us the debug.log and elements.conf of fred, commit ids of elements and confidential-asset-demo , and version of Alpine Linux that this this segmentatin-faults has occured.

Files are located: demo/data/fred/elements.conf demo/data/fred/elementsregtest/debug.log

Elementsd shows ver. /commit id with following command: $ elementsd --version | head -1

AkioNak avatar Dec 11 '18 09:12 AkioNak

The version of Elementsd is Elements Core Daemon version v2.14.1.1-e2c858008. (My apologies, I should have added this in the first place.)

Fred's elementsd.conf:

cat demo/data/fred/elements.conf 
rpcuser=user
rpcpassword=pass
rpcport=10040
port=10041

connect=localhost:10001
regtest=1
daemon=0
listen=1
txindex=1
keypool=10
initialfreecoins=2100000000000000
assetdir=:AIRSKY
assetdir=:MELON
assetdir=:MONECRE

The debug log is a bit large, I've made it a gist: https://gist.github.com/haarts/0b729d707a11e01b9c0aaac067b75405

haarts avatar Dec 13 '18 14:12 haarts

The demo SHA is dc2f5e86fa2c7bf126f9767620de16c597a9dce0

haarts avatar Dec 13 '18 14:12 haarts