This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 288
inheriting std::variant as table data segfaults #541
Labels
bug
Something isn't working
Comments
Confirmed on 1.6.2 |
conr2d
added a commit
to haderech/eoscc
that referenced
this issue
Aug 25, 2019
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. EOSIO/eosio.cdt#541
conr2d
added a commit
to conr2d/eosio.cdt
that referenced
this issue
Aug 25, 2019
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. EOSIO#541
2 tasks
conr2d
added a commit
to haderech/eoscc
that referenced
this issue
Aug 25, 2019
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. EOSIO/eosio.cdt#541
larryk85
pushed a commit
that referenced
this issue
Sep 27, 2019
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. #541
larryk85
pushed a commit
that referenced
this issue
Oct 3, 2019
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. #541
Fixed in 1.6.3 |
rise-worlds
pushed a commit
to potato-coin/eosio.cdt
that referenced
this issue
Jul 14, 2020
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. EOSIO#541
rise-worlds
pushed a commit
to potato-coin/eosio.cdt
that referenced
this issue
Jul 14, 2020
`add_struct` enforces parsing its base as struct, and it causes segfault when inheriting from the std types. This patch mitigates this issue by allowing add_struct to call add_type for its base, but generated ABI is still not usable, because chain::abi_serializer requires struct base to be struct type. There is a workaround fix making it work by trick, but ultimately it needs consensus upgrade. EOSIO#541
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
using v1.6.1 built locally on mac
this code appears to cause a segfault in
eosio-cpp
goodbye.cpp:
The text was updated successfully, but these errors were encountered: