Skip to content

How could I use this library to analyze a core dump? #3

@soypat

Description

@soypat

I have the following core dump and the ELF of the binary that runs on a ESP32 microcontroller. Can I find where the crash is happening using this library? I thing PC is program counter and PS is stack pointer.

[09:25:40:121] Guru Meditation Error: Core  1 panic'ed (Interrupt wdt timeout on CPU1). ␍␊
[09:25:40:127] ␍␊
[09:25:40:127] Core  1 register dump:␍␊
[09:25:40:131] PC      : 0x40035534  PS      : 0x00060f34  A0      : 0x80035584  A1      : 0x3fce2e20  ␍␊
[09:25:40:137] A2      : 0x02000000  A3      : 0x031f016b  A4      : 0x6000e000  A5      : 0x00000200  ␍␊
[09:25:40:145] A6      : 0x00000001  A7      : 0x3fce11a0  A8      : 0x04000000  A9      : 0x00000004  ␍␊
[09:25:40:153] A10     : 0x6000e048  A11     : 0x00000003  A12     : 0x00000000  A13     : 0x60008800  ␍␊
[09:25:40:161] A14     : 0x3fc9b4dc  A15     : 0x00000000  SAR     : 0x00000019  EXCCAUSE: 0x00000006  ␍␊
[09:25:40:168] EXCVADDR: 0x00000000  LBEG    : 0x42014b5e  LEND    : 0x42014b6a  LCOUNT  : 0x00000006  ␍␊
[09:25:40:176] ␍␊
[09:25:40:176] ␍␊
[09:25:40:181] Backtrace:0x40035531:0x3fce2e20 |<-CORRUPTED␍␊
[09:25:40:185] ␍␊
[09:25:40:185] ␍␊
[09:25:40:185] Core  0 register dump:␍␊
[09:25:40:185] PC      : 0x400356de  PS      : 0x00060234  A0      : 0x80035725  A1      : 0x3fce8e30  ␍␊
[09:25:40:191] A2      : 0x02000000  A3      : 0x031f016b  A4      : 0x6000e004  A5      : 0x017f0362  ␍␊
[09:25:40:199] A6      : 0x00000300  A7      : 0x007f0000  A8      : 0x01000000  A9      : 0x6000e000  ␍␊
[09:25:40:210] A10     : 0x00000000  A11     : 0x6000e05c  A12     : 0x00000001  A13     : 0x00060223  ␍␊
[09:25:40:214] A14     : 0x3fce7c80  A15     : 0x00000000  SAR     : 0x0000001c  EXCCAUSE: 0x00000006  ␍␊
[09:25:40:222] EXCVADDR: 0x00000000  LBEG    : 0x40056f5c  LEND    : 0x40056f72  LCOUNT  : 0xffffffff  ␍␊
[09:25:40:230] ␍␊
[09:25:40:230] ␍␊
[09:25:40:230] Backtrace:0x400356db:0x3fce8e30 |<-CORRUPTED␍␊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions