Comments (5)
Logs from ./chain_test -t block_tests/create_script
give@debian:~/eos/build/tests$ ./chain_test -t block_tests/create_script
Random number generator seeded to 1497991163
EOS_TESTING_GENESIS_TIMESTAMP is 1431700005
Running 1 test case...
2363953ms thread-0 block_log.cpp:88 open ] Opening block log at /tmp/bc60-c5b1-f367-80be/blocklog/blocks.log
(module
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(import "env" "AccountName_unpack" (func $AccountName_unpack (param i32 i32)))
(import "env" "Varint_unpack" (func $Varint_unpack (param i32 i32)))
(import "env" "assert" (func $assert (param i32 i32)))
(import "env" "load" (func $load (param i32 i32 i32 i32) (result i32)))
(import "env" "memcpy" (func $memcpy (param i32 i32 i32) (result i32)))
(import "env" "readMessage" (func $readMessage (param i32 i32) (result i32)))
(import "env" "remove" (func $remove (param i32 i32) (result i32)))
(import "env" "store" (func $store (param i32 i32 i32 i32)))
(table 0 anyfunc)
(memory $0 1)
(data (i32.const 8224) "out of memory\00")
(data (i32.const 8240) "String is longer than account name allows\00")
(data (i32.const 8288) "read past end of stream\00")
(data (i32.const 8368) "simplecoin\00")
(data (i32.const 8608) "no existing balance\00")
(data (i32.const 8640) "insufficient funds\00")
(export "memory" (memory $0))
(export "malloc" (func $malloc))
(export "DataStream_init" (func $DataStream_init))
(export "AccountName_initString" (func $AccountName_initString))
(export "AccountName_initCString" (func $AccountName_initCString))
(export "uint64_unpack" (func $uint64_unpack))
(export "String_unpack" (func $String_unpack))
(export "Transfer_unpack" (func $Transfer_unpack))
(export "onInit" (func $onInit))
(export "onApply_Transfer_simplecoin" (func $onApply_Transfer_simplecoin))
(func $malloc (param $0 i32) (result i32)
(local $1 i32)
(i32.store offset=8208
(i32.const 0)
(tee_local $0
(i32.add
(tee_local $1
(i32.load offset=8208
(i32.const 0)
)
)
(i32.and
(i32.add
(get_local $0)
(i32.const 7)
)
(i32.const -8)
)
)
)
)
(call $assert
(i32.lt_u
(get_local $0)
(i32.const 8192)
)
(i32.const 8224)
)
(i32.add
(get_local $1)
(i32.const 16)
)
)
(func $DataStream_init (param $0 i32) (param $1 i32) (param $2 i32)
(i32.store
(get_local $0)
(get_local $1)
)
(i32.store offset=4
(get_local $0)
(get_local $1)
)
(i32.store offset=8
(get_local $0)
(i32.add
(get_local $1)
(get_local $2)
)
)
)
(func $AccountName_initString (param $0 i32) (param $1 i32)
(call $assert
(i32.lt_u
(i32.load
(get_local $1)
)
(i32.const 33)
)
(i32.const 8240)
)
(drop
(call $memcpy
(get_local $0)
(i32.add
(get_local $1)
(i32.const 4)
)
(i32.load
(get_local $1)
)
)
)
)
(func $AccountName_initCString (param $0 i32) (param $1 i32) (param $2 i32)
(call $assert
(i32.lt_u
(get_local $2)
(i32.const 33)
)
(i32.const 8240)
)
(drop
(call $memcpy
(get_local $0)
(get_local $1)
(get_local $2)
)
)
)
(func $uint64_unpack (param $0 i32) (param $1 i32)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.const 8)
)
(i32.load offset=8
(get_local $0)
)
)
(i32.const 8288)
)
(i64.store align=1
(get_local $1)
(i64.load align=1
(i32.load offset=4
(get_local $0)
)
)
)
(i32.store offset=4
(get_local $0)
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.const 8)
)
)
)
(func $String_unpack (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(call $Varint_unpack
(get_local $0)
(i32.const 8312)
)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.load offset=8312
(i32.const 0)
)
)
(i32.load offset=8
(get_local $0)
)
)
(i32.const 8288)
)
(i32.store offset=8208
(i32.const 0)
(tee_local $3
(i32.add
(i32.and
(i32.add
(i32.load offset=8312
(i32.const 0)
)
(i32.const 11)
)
(i32.const -8)
)
(tee_local $2
(i32.load offset=8208
(i32.const 0)
)
)
)
)
)
(call $assert
(i32.lt_u
(get_local $3)
(i32.const 8192)
)
(i32.const 8224)
)
(drop
(call $memcpy
(i32.add
(get_local $2)
(i32.const 20)
)
(i32.load offset=4
(get_local $0)
)
(i32.load offset=8312
(i32.const 0)
)
)
)
(i32.store
(get_local $1)
(i32.add
(get_local $2)
(i32.const 16)
)
)
)
(func $Transfer_unpack (param $0 i32) (param $1 i32)
(local $2 i32)
(local $3 i32)
(call $AccountName_unpack
(get_local $0)
(get_local $1)
)
(call $AccountName_unpack
(get_local $0)
(i32.add
(get_local $1)
(i32.const 32)
)
)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.const 8)
)
(i32.load offset=8
(get_local $0)
)
)
(i32.const 8288)
)
(i64.store offset=64 align=1
(get_local $1)
(i64.load align=1
(i32.load offset=4
(get_local $0)
)
)
)
(i32.store offset=4
(get_local $0)
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.const 8)
)
)
(call $Varint_unpack
(get_local $0)
(i32.const 8312)
)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=4
(get_local $0)
)
(i32.load offset=8312
(i32.const 0)
)
)
(i32.load offset=8
(get_local $0)
)
)
(i32.const 8288)
)
(i32.store offset=8208
(i32.const 0)
(tee_local $3
(i32.add
(i32.and
(i32.add
(i32.load offset=8312
(i32.const 0)
)
(i32.const 11)
)
(i32.const -8)
)
(tee_local $2
(i32.load offset=8208
(i32.const 0)
)
)
)
)
)
(call $assert
(i32.lt_u
(get_local $3)
(i32.const 8192)
)
(i32.const 8224)
)
(drop
(call $memcpy
(i32.add
(get_local $2)
(i32.const 20)
)
(i32.load offset=4
(get_local $0)
)
(i32.load offset=8312
(i32.const 0)
)
)
)
(i32.store offset=72
(get_local $1)
(i32.add
(get_local $2)
(i32.const 16)
)
)
)
(func $onInit
(call $assert
(i32.const 1)
(i32.const 8240)
)
(i64.store offset=8320
(i32.const 0)
(i64.const 1000000)
)
(i32.store16 offset=8336
(i32.const 0)
(i32.load16_u offset=8376 align=1
(i32.const 0)
)
)
(i64.store offset=8328
(i32.const 0)
(i64.load offset=8368 align=1
(i32.const 0)
)
)
(call $store
(i32.const 8328)
(i32.const 32)
(i32.const 8320)
(i32.const 8)
)
)
(func $onApply_Transfer_simplecoin
(local $0 i32)
(local $1 i32)
(local $2 i64)
(set_local $0
(call $readMessage
(i32.const 8384)
(i32.const 100)
)
)
(i32.store offset=8568
(i32.const 0)
(i32.const 8384)
)
(i32.store offset=8572
(i32.const 0)
(i32.const 8384)
)
(i32.store offset=8576
(i32.const 0)
(i32.add
(get_local $0)
(i32.const 8384)
)
)
(call $AccountName_unpack
(i32.const 8568)
(i32.const 8488)
)
(call $AccountName_unpack
(i32.const 8568)
(i32.const 8520)
)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=8572
(i32.const 0)
)
(i32.const 8)
)
(i32.load offset=8576
(i32.const 0)
)
)
(i32.const 8288)
)
(i64.store offset=8552
(i32.const 0)
(i64.load align=1
(tee_local $0
(i32.load offset=8572
(i32.const 0)
)
)
)
)
(i32.store offset=8572
(i32.const 0)
(i32.add
(get_local $0)
(i32.const 8)
)
)
(call $Varint_unpack
(i32.const 8568)
(i32.const 8312)
)
(call $assert
(i32.le_u
(i32.add
(i32.load offset=8572
(i32.const 0)
)
(i32.load offset=8312
(i32.const 0)
)
)
(i32.load offset=8576
(i32.const 0)
)
)
(i32.const 8288)
)
(i32.store offset=8208
(i32.const 0)
(tee_local $1
(i32.add
(i32.and
(i32.add
(i32.load offset=8312
(i32.const 0)
)
(i32.const 11)
)
(i32.const -8)
)
(tee_local $0
(i32.load offset=8208
(i32.const 0)
)
)
)
)
)
(call $assert
(i32.lt_u
(get_local $1)
(i32.const 8192)
)
(i32.const 8224)
)
(drop
(call $memcpy
(i32.add
(get_local $0)
(i32.const 20)
)
(i32.load offset=8572
(i32.const 0)
)
(i32.load offset=8312
(i32.const 0)
)
)
)
(i64.store offset=8592
(i32.const 0)
(i64.const 0)
)
(i32.store offset=8560
(i32.const 0)
(i32.add
(get_local $0)
(i32.const 16)
)
)
(call $assert
(i32.eq
(call $load
(i32.const 8488)
(i32.const 32)
(i32.const 8584)
(i32.const 8)
)
(i32.const 8)
)
(i32.const 8608)
)
(call $assert
(i64.ge_s
(i64.load offset=8584
(i32.const 0)
)
(i64.load offset=8552
(i32.const 0)
)
)
(i32.const 8640)
)
(drop
(call $load
(i32.const 8520)
(i32.const 32)
(i32.const 8592)
(i32.const 8)
)
)
(i64.store offset=8592
(i32.const 0)
(i64.add
(i64.load offset=8592
(i32.const 0)
)
(tee_local $2
(i64.load offset=8552
(i32.const 0)
)
)
)
)
(i64.store offset=8584
(i32.const 0)
(tee_local $2
(i64.sub
(i64.load offset=8584
(i32.const 0)
)
(get_local $2)
)
)
)
(block $label$0
(block $label$1
(br_if $label$1
(i64.eqz
(get_local $2)
)
)
(call $store
(i32.const 8488)
(i32.const 32)
(i32.const 8584)
(i32.const 8)
)
(br $label$0)
)
(drop
(call $remove
(i32.const 8488)
(i32.const 32)
)
)
)
(call $store
(i32.const 8520)
(i32.const 32)
(i32.const 8592)
(i32.const 8)
)
)
)
2363990ms thread-0 system_contract.cpp:63 apply ] set code: 1792
2363990ms thread-0 wasm_interface.cpp:225 get ] Runtime::init
INIT MEMORY:
out of memoryString is longer than account name allowsread past end of streamsimplecoinno existing balanceinsufficient funds
2364001ms thread-0 wasm_interface.cpp:304 vm_onInit ] onInit
2364002ms thread-0 system_contract.cpp:63 apply ] set code: 1792
2364002ms thread-0 wasm_interface.cpp:304 vm_onInit ] onInit
2364002ms thread-0 system_contract.cpp:63 apply ] set code: 1792
2364002ms thread-0 wasm_interface.cpp:304 vm_onInit ] onInit
2364002ms thread-0 wasm_interface.cpp:174 assertnonei32i32 ] message: no existing balance
2364003ms thread-0 block_tests.cpp:928 test_method ] 10 assert_exception: Assert Exception
test: assertion failed: no existing balance
{"s":"no existing balance","ptr":8608}
thread-0 wasm_interface.cpp:175 assertnonei32i32
{}
thread-0 wasm_interface.cpp:299 vm_apply
{}
thread-0 wasm_interface.cpp:334 apply
{"context.msg":{"sender":"simplecoin","recipient":"simplecoin","notify":["init1"],"type":"Transfer","data":"0a73696d706c65636f696e05696e697431020000000000000008454f53000000000568656c6c6f"}}
thread-0 chain_controller.cpp:643 apply_message
{"trx":{"refBlockNum":"12","refBlockPrefix":"1091583988","expiration":"2015-05-15T14:29:01","messages":[{"sender":"simplecoin","recipient":"simplecoin","notify":["init1"],"type":"Transfer","data":"0a73696d706c65636f696e05696e697431020000000000000008454f53000000000568656c6c6f"}],"authorization":[],"signatures":[],"authorizations":[]}}
thread-0 chain_controller.cpp:662 _apply_transaction
{"trx":{"refBlockNum":"12","refBlockPrefix":"1091583988","expiration":"2015-05-15T14:29:01","messages":[{"sender":"simplecoin","recipient":"simplecoin","notify":["init1"],"type":"Transfer","data":"0a73696d706c65636f696e05696e697431020000000000000008454f53000000000568656c6c6f"}],"authorization":[],"signatures":[],"authorizations":[]}}
thread-0 chain_controller.cpp:266 push_transaction
unknown location(0): fatal error: in "block_tests/create_script": unknown type
/home/give/eos/tests/tests/block_tests.cpp(120): last checkpoint: "create_script" entry.
*** 1 failure is detected (1 failure is expected) in the test module "Master Test Suite"
from eos.
Nay, the create_script one goes in a separate issue.
How did you set up your environment? I don't find usable versions of clang, boost, or cmake on debian jessie... did you build them yourself? If so, can you confirm this issue still occurs with clang 4.0.0, which is the latest stable?
from eos.
I build cmake from source, for clang and llvm I'm using their repo for jessie here:
http://apt.llvm.org/
memcpy
issue still occurs if I build with boost 1.60, but no problem when using boost 1.62/1.64 (all boost libs compiled from source)
from eos.
The memcpy
error I'm aware of should be fixed as of 7159ee6 -- are you seeing another one?
from eos.
Nope, build was passed, only chain_test failure for now.
from eos.
Related Issues (20)
- Signature verification for EOS account
- Logging In with QR code to pc with new account (greymass) HOT 1
- push_transaction无法发送交易 HOT 2
- [docs] explain that asserting in a contract is a bad thing to do
- Nodeos stuck and doesn't want to stop HOT 4
- ubuntu:~/eosio.cdt$ ./build.sh bash: ./build.sh: No such file or directory
- Makefile:140: recipe for target 'all' failed
- WASM is greater then 512 Kb and getting error in deploy unexpected end of JSON input last
- How to include multi_index.hpp HOT 3
- [Developer Preview] RocksDB Storage for DB and Key Value APIs ,what's the issue detail ? HOT 3
- Why is my local blockchain not requiring eosio.code permission when an inline action is executed? HOT 1
- Remove test consensus-validation-malicious-producers.py
- Handle failure case of db size being too small for snapshot more gracefully
- my local node can't produce block HOT 2
- Unable to broadcast the transaction to the mainnet HOT 1
- so let me get this straight the only possible way to use eos is if you can download cleos .. and cml -> and the only way you can get cleos is if your not on a window... HOT 2
- Ensure that you have created a wallet and have it open HOT 1
- Support for MacBook Pro with chip Apple M1 Pro running macOS Monterey HOT 1
- trying to create account with custom system account
- Why should wait 50ms before producing next block?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eos.