Skip to content

[Bug] Subgraph panicked with message - MemoryAccessError #5116

@eonwarped

Description

@eonwarped

Bug report

Subgraph failed with non-deterministic error: failed to process trigger: block #51796283 (0xc9f9…e77e), transaction 5dc807c6ea6588c53ba17d1bbd3956ab0dd89fd9d6f08740a40734d40b17c2bc: Subgraph panicked with message: called Result::unwrap() on an Err value: MemoryAccessError { _private: () }, retry_delay_s: 4236, attempt: 41

Initially we thought it had to do with not updating and reindexing after 'adding items', however it does not seem to be the case, as we resynced after adding them and ran into issues in the exact same place.

From logs below it seems that a particularly suspicious processing that takes a lot of time and is saving a lot of entities might be related to this, are we hitting some kind of limitation on per-block processing?

Relevant log output

https://thegraph.com/hosted-service/subgraph/otterclam/otto?selected=logs

Subgraph failed with non-deterministic error: failed to process trigger: block #51796283 (0xc9f9…e77e), transaction 5dc807c6ea6588c53ba17d1bbd3956ab0dd89fd9d6f08740a40734d40b17c2bc: Subgraph panicked with message: called `Result::unwrap()` on an `Err` value: MemoryAccessError { _private: () }, retry_delay_s: 4236, attempt: 41

prior to that, previous log entry shows:

Done processing trigger, gas_used: 0, data_source: Otto, handler: handleTraitsChanged, total_ms: 114900, transaction: 0x5dc8…c2bc, address: 0x6e8a…8eb7, signature: TraitsChanged(indexed uint256,uint16[16])

IPFS hash

No response

Subgraph name or link to explorer

otterclam/otto

Some information to help us out

  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions