5

I'm getting the following error without any further description. What could be the issue for that?

I'm performing some binary arithmetics when calling this action, are there any known problems with that?

Error 3050008: Abort Called
Error Details:
abort() called
pending console output: 

contract compiled with eosio.cdt, deployed on kylin, using eoscanada-endpoint.

UPDATE

Figured it out, reason was accessing a vector at missing index.

2
  • 1
    You should add the bit of code that caused this problem, and then right out your answer. This helps other people and it also improves search engine results for similar problems Commented Jul 4, 2019 at 8:28
  • it would be useful if the error indicated the line at which the error is being generated. otherwise having to find the error in a long codebase is pretty painful
    – ekkis
    Commented Nov 3, 2019 at 20:30

1 Answer 1

5

Abort Called is usually an indicating of a segmentation violation. So look for things like:

  • accessing elements of a vector or pointer
  • calling new or delete on objects that have already been created or deleted
  • any of the other thousands of reasons why you can get a seg fault
1
  • 1
    For me it was a cast of an empty string to uint that caused that error.
    – Eulinky
    Commented Apr 16, 2021 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.