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

evm-rpc crash #318

Open
taokayan opened this issue Oct 30, 2024 · 1 comment · May be fixed by #320
Open

evm-rpc crash #318

taokayan opened this issue Oct 30, 2024 · 1 comment · May be fixed by #320
Assignees
Labels
bug Something isn't working 👍 lgtm

Comments

@taokayan
Copy link
Contributor

version v1.0.1-fcd1d7362f8bb05fdbe66b5ee6841cb9a8575ca8

Core file '/mnt/node/eos-evm/core.rpc2.1873146' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'exsat-evm-rpc', stop reason = signal SIGSEGV
  * frame #0: 0x00005c137608586b exsat-evm-rpc`silkworm::rpc::trace::TraceTracer::on_execution_end(evmc_result const&, silkworm::IntraBlockState const&) [inlined] std::vector<silkworm::rpc::trace::Trace, std::allocator<silkworm::rpc::trace::Trace> >::operator[](unsigned long) at stl_vector.h:1046:34
    frame #1: 0x00005c137608586b exsat-evm-rpc`silkworm::rpc::trace::TraceTracer::on_execution_end(evmc_result const&, silkworm::IntraBlockState const&) at evm_trace.cpp:811:33
    frame #2: 0x00005c13769c5fac exsat-evm-rpc`evmone::baseline::execute(evmone::VM const&, long, evmone::ExecutionState&, evmone::baseline::CodeAnalysis const&) [inlined] evmone::Tracer::notify_execution_end(evmc_result const&) at tracing.hpp:37:25
    frame #3: 0x00005c13769c5fa0 exsat-evm-rpc`evmone::baseline::execute(evmone::VM const&, long, evmone::ExecutionState&, evmone::baseline::CodeAnalysis const&) at baseline.cpp:365:37
    frame #4: 0x00005c137697e637 exsat-evm-rpc`silkworm::EVM::execute_with_baseline_interpreter(evmc_revision, evmc_message const&, silkworm::ByteView, evmc::bytes32 const*) at evm.cpp:350:46
    frame #5: 0x00005c137697f5a9 exsat-evm-rpc`silkworm::EVM::call(evmc_message const&) [inlined] silkworm::EVM::execute(evmc_message const&, silkworm::ByteView, evmc::bytes32 const*) at evm.cpp:303:49
    frame #6: 0x00005c137697f588 exsat-evm-rpc`silkworm::EVM::call(evmc_message const&) at evm.cpp:282:35
    frame #7: 0x00005c13769801c5 exsat-evm-rpc`silkworm::EVM::execute(silkworm::Transaction const&, unsigned long) at evm.cpp:95:73
    frame #8: 0x00005c1375f64a4c exsat-evm-rpc`silkworm::rpc::EVMExecutor::call(silkworm::Block const&, silkworm::Transaction const&, evmone::gas_parameters const&, unsigned long, std::vector<std::shared_ptr<silkworm::EvmTracer>, std::allocator<std::shared_ptr<silkworm::EvmTracer> > >, bool, bool) at evm_executor.cpp:314:29
    frame #9: 0x00005c137609c52a exsat-evm-rpc`auto silkworm::rpc::trace::TraceCallExecutor::trace_block_transactions(silkworm::Block const&, silkworm::rpc::trace::TraceConfig const&)::'lambda'(auto&&)::operator()<boost::asio::detail::composed_op<'lambda'(auto&&), boost::asio::detail::composed_work<void ()>, boost::asio::detail::awaitable_handler<boost::asio::any_io_executor, std::vector<silkworm::rpc::trace::TraceCallResult, std::allocator<silkworm::rpc::trace::TraceCallResult> > >, void (std::vector<silkworm::rpc::trace::TraceCallResult, std::allocator<silkworm::rpc::trace::TraceCallResult> >)>&>(auto&&) const::'lambda'()::operator()() at evm_trace.cpp:1288:26
    frame #10: 0x00005c137609daad exsat-evm-rpc`boost::asio::detail::executor_op<boost::asio::detail::binder0<auto silkworm::rpc::trace::TraceCallExecutor::trace_block_transactions(silkworm::Block const&, silkworm::rpc::trace::TraceConfig const&)::'lambda'(auto&&)::operator()<boost::asio::detail::composed_op<'lambda'(auto&&), boost::asio::detail::composed_work<void ()>, boost::asio::detail::awaitable_handler<boost::asio::any_io_executor, std::vector<silkworm::rpc::trace::TraceCallResult, std::allocator<silkworm::rpc::trace::TraceCallResult> > >, void (std::vector<silkworm::rpc::trace::TraceCallResult, std::allocator<silkworm::rpc::trace::TraceCallResult> >)>&>(auto&&) const::'lambda'()>, std::allocator<void>, boost::asio::detail::scheduler_operation>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) at bind_handler.hpp:60:49
    frame #11: 0x00005c1375ed6d6c exsat-evm-rpc`boost::asio::detail::scheduler::run(boost::system::error_code&) + 1308
    frame #12: 0x00005c1375f96a2d exsat-evm-rpc`boost::asio::detail::posix_thread::func<boost::asio::thread_pool::thread_function>::run() [inlined] boost::asio::thread_pool::thread_function::operator()() at thread_pool.ipp:39:22
    frame #13: 0x00005c1375f96a0c exsat-evm-rpc`boost::asio::detail::posix_thread::func<boost::asio::thread_pool::thread_function>::run() at posix_thread.hpp:86:9
    frame #14: 0x00005c1375ed1904 exsat-evm-rpc`::boost_asio_detail_posix_thread_function() at posix_thread.ipp:74:16
    frame #15: 0x00007678f9494ac3 libc.so.6`___lldb_unnamed_symbol3481 + 755
    frame #16: 0x00007678f9526850 libc.so.6`___lldb_unnamed_symbol3866 + 11
(lldb) 
@arhag
Copy link
Member

arhag commented Oct 31, 2024

Related to eosnetworkfoundation/silkworm#218.

@arhag arhag added this to the EOS EVM Node v1.0.3 milestone Oct 31, 2024
@arhag arhag added 👍 lgtm bug Something isn't working labels Oct 31, 2024
@elmato elmato linked a pull request Nov 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👍 lgtm
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

3 participants