Skip to content

Calling invoke() encounters Guru Meditation Error on esp32 #2

@rdot-lee

Description

@rdot-lee

I am currently working with your program and encountered a Guru Meditation Error after adding logging to the TfLiteStatus MicroInterpreterGraph::InvokeSubgraph(int subgraph_idx) function, specifically in the line:

TfLiteStatus MicroInterpreterGraph::InvokeSubgraph(int subgraph_idx) {
....
TfLiteStatus invoke_status = registration->invoke(context_, node);
....
}

Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled.

Core 0 register dump:
PC : 0x3ffb6b3d PS : 0x00060f30 A0 : 0x80140e3d A1 : 0x3ffe2890
A2 : 0x3ffc6ed8 A3 : 0x00000000 A4 : 0x3ffd483c A5 : 0x3ffe2760
A6 : 0x00000000 A7 : 0x0000000b A8 : 0x801411c1 A9 : 0x00000000
A10 : 0x3ffc6e70 A11 : 0x3ffd483c A12 : 0x00000001 A13 : 0x00000000
A14 : 0x3ffb6884 A15 : 0x00000001 SAR : 0x00000004 EXCCAUSE: 0x00000002
EXCVADDR: 0x3ffb6b3c LBEG : 0x400899c0 LEND : 0x400899d6 LCOUNT : 0x00000000

Backtrace: 0x3ffb6b3a:0x3ffe2890 |<-CORRUPTED

I believe the error might be related to the function pointer registration->invoke, which seems to be pointing to an address that is causing the InstructionFetchError. However, I'm not entirely sure how to proceed with debugging this issue.

Could you please offer any advice on how to troubleshoot this problem? Have you encountered similar issues in your experience?

Thank you very much for your assistance and guidance. I greatly appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions