-
Notifications
You must be signed in to change notification settings - Fork 290
v1.6.1 segfault with abi generation #511
Comments
I believe I'm running into this error as well |
@cryptosig This issue has been resolved. The problem we encountered was that the tool For example: #include <vector>
#include <eosio/contract.hpp>
#include <eosio/multi_index.hpp>
using namespace eosio;
struct [[eosio::contract]] main : eosio::contract {
using contract::contract;
struct [[eosio::table]] structure {
std::vector<structure> vec;
};
[[eosio::action]] void act()
{ }
}; Compiles, but segaults during #include <vector>
#include <eosio/contract.hpp>
#include <eosio/multi_index.hpp>
using namespace eosio;
struct [[eosio::contract]] con : eosio::contract {
using contract::contract;
struct [[eosio::table]] structure {
std::vector<int> vec;
};
[[eosio::action]] void act()
{ }
}; Compiles and does not segault during @cryptosig If the issue you're having is still not solved by this solution, please open up a new issue and provide some code/context of the issue you're encountering. |
@johndebord How is this issue solved? 1.6.2 still SegFaults when a table references itself in a vector. Can we re-open this issue? |
v1.6.1 of
eosio-cpp
currently has a bug which causes a seg fault, but only with abi generation and under certain circumstances.The text was updated successfully, but these errors were encountered: