Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

./eosioc -v push action currency issue failed #1322

Closed
myenglishmail opened this issue Feb 7, 2018 · 2 comments
Closed

./eosioc -v push action currency issue failed #1322

myenglishmail opened this issue Feb 7, 2018 · 2 comments

Comments

@myenglishmail
Copy link

root@ubuntu:~/eos/programs/eosioc# ./eosioc -v push action currency issue '{"to":"currency","quantity":"1000.0000 CUR"}' --permission currency@active
2741326ms thread-0 main.cpp:935 operator() ] Converting argument to binary...
2741483ms thread-0 main.cpp:1008 main ] Failed with error: 13 St9exception: read_until: End of file
read_until: End of file:
{"server":"localhost","port":8888,"path":"/v1/chain/push_transaction","postdata":{"signatures":["EOSJxJcZPi9BvUWbxD4hKw5hpWizWhC3BTFTZDDYDp53aKPyEbZJmh7aX186K5EYfuBPPgCcsz9wkT1g7ekBud7fapLY2cLrh"],"compression":"none","data":"5ef3dc580000000000000000010000001e4d75af460000000000a53176010000001e4d75af4600000000a8ed3232180000001e4d75af4680969800000000000443555200000000"},"what":"read_until: End of file"}
thread-0 httpc.cpp:117 call

@myenglishmail
Copy link
Author

follow the instruction , then push action, it failed with "read_until: End of file"

and the eosiod core dump

the stack is:

Core was generated by `./eosiod'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f64beeb9aee in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007f64beeb9aee in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00007f64beeb9ed9 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::operator=(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x000000000217883b in llvm::DataLayout::operator= (this=0x7ffdd9af5ba0, DL=...)
at /root/wasm-compiler/llvm/include/llvm/IR/DataLayout.h:200
#3 0x0000000002178705 in llvm::DataLayout::DataLayout (this=0x7ffdd9af5ba0, DL=...)
at /root/wasm-compiler/llvm/include/llvm/IR/DataLayout.h:196
#4 0x0000000002175810 in llvm::TargetMachine::createDataLayout (this=0x0)
at /root/wasm-compiler/llvm/include/llvm/Target/TargetMachine.h:124
#5 0x0000000002172f99 in LLVMJIT::JITUnit::compile (this=0x361c6e0, llvmModule=0x3529cf0)
at /root/eos/libraries/wasm-jit/Source/Runtime/LLVMJIT.cpp:556
#6 0x00000000021735fe in LLVMJIT::instantiateModule (module=..., moduleInstance=0x3502190)
at /root/eos/libraries/wasm-jit/Source/Runtime/LLVMJIT.cpp:616
#7 0x0000000002160913 in Runtime::instantiateModule(IR::Module const&, Runtime::ImportBindings&&) (module=...,
imports=<unknown type in /root/eos/programs/eosiod/eosiod, CU 0x1aa95ca, DIE 0x1aa9a4d>)
at /root/eos/libraries/wasm-jit/Source/Runtime/ModuleInstance.cpp:151
#8 0x0000000001edef27 in eosio::chain::wasm_cache_impl::fetch_entry(fc::sha256 const&, char const*, unsigned long)::{lambda()#1}::operator()() const (this=0x7ffdd9af6810) at /root/eos/libraries/chain/wasm_interface.cpp:229
#9 0x0000000001eded6e in eosio::chain::wasm_cache_impl::with_lock<eosio::chain::wasm_cache_impl::fetch_entry(fc::sha256 const&, char const*, unsigned long)::{lambda()#1}>(std::mutex&, eosio::chain::wasm_cache_impl::fetch_entry(fc::sha256 const&, char const*, unsigned long)::{lambda()#1}) (this=0x35003f0, l=..., f=...) at /root/eos/libraries/chain/wasm_interface.cpp:155
#10 0x0000000001edb25b in eosio::chain::wasm_cache_impl::fetch_entry (this=0x35003f0, code_id=...,
wasm_binary=0x7f647ecc9180 <error: Cannot access memory at address 0x7f647ecc9180>, wasm_binary_size=10241)
at /root/eos/libraries/chain/wasm_interface.cpp:209
#11 0x0000000001ed974f in eosio::chain::wasm_cache::checkout (this=0x34989d0, code_id=...,
wasm_binary=0x7f647ecc9180 <error: Cannot access memory at address 0x7f647ecc9180>, wasm_binary_size=10241)
at /root/eos/libraries/chain/wasm_interface.cpp:335
#12 0x0000000001f38b60 in eosio::chain::wasm_cache::checkout_scoped (this=0x34989d0, code_id=...,
wasm_binary=0x7f647ecc9180 <error: Cannot access memory at address 0x7f647ecc9180>, wasm_binary_size=10241)
at /root/eos/libraries/chain/include/eosio/chain/wasm_interface.hpp:83
#13 0x0000000001f317a8 in eosio::chain::apply_context::exec_one (this=0x7ffdd9af8230)
at /root/eos/libraries/chain/apply_context.cpp:24
#14 0x0000000001f349e8 in eosio::chain::apply_context::exec (this=0x7ffdd9af8230) at /root/eos/libraries/chain/apply_context.cpp:101
#15 0x0000000001c393f5 in eosio::chain::chain_controller::__apply_transaction (this=0x34985b8, meta=...)
at /root/eos/libraries/chain/chain_controller.cpp:1429
---Type to continue, or q to quit---
#16 0x0000000001c24efc in eosio::chain::chain_controller::_apply_transaction (this=0x34985b8, meta=...)
at /root/eos/libraries/chain/chain_controller.cpp:1455
#17 0x0000000001c23f1d in eosio::chain::chain_controller::_push_transaction(eosio::chain::transaction_metadata&&) (this=0x34985b8,
data=<unknown type in /root/eos/programs/eosiod/eosiod, CU 0x9862d8, DIE 0xcd91f1>)
at /root/eos/libraries/chain/chain_controller.cpp:317
#18 0x0000000001c23bca in eosio::chain::chain_controller::_push_transaction (this=0x34985b8, trx=...)
at /root/eos/libraries/chain/chain_controller.cpp:271

@andriantolie
Copy link
Contributor

Currency contract is already deprecated. If you encounter similar problem with eosio.token, please open a new issue. I'm closing this issue. Thanks!

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

No branches or pull requests

2 participants