Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. #145

Open
richtigerprashant opened this issue Apr 2, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@richtigerprashant
Copy link

richtigerprashant commented Apr 2, 2024

Hi,
I just installed the latest version from the main branch successfully from with pio (console). Now the start screens shows up, display shows after some seconds LoRa initiated and then switches to the overview or dies after a while. Then it goes into an endless loop of restarting as it seems.

Board is a LILYGO T-Beam Meshtastic LORA32 433MHz SX1278

I found this on the monitor console

--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
[ERROR][Configuration] Failed to read file, using default configuration.
[INFO][LoRa] Set SPI pins!
[INFO][LoRa] Set LoRa pins!
[INFO][LoRa] frequency: 433775000
[INFO][LoRa] LoRa init done!
[INFO][Main] Smart Beacon is: On
[INFO][Main] setup done...
[INFO][Loop] GPS fix state went to VALID
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x400e5972 PS : 0x00050031 A0 : 0x400860d0 A1 : 0x3ffbf57c
A2 : 0x3f800998 A3 : 0x3ffbecb4 A4 : 0x000000ff A5 : 0x00000ff0
A6 : 0x3ffbdcc0 A7 : 0x0001e870 A8 : 0x00000000 A9 : 0x3ffbecb0
A10 : 0x00000001 A11 : 0x3ffc9de0 A12 : 0x00000014 A13 : 0x00000004
A14 : 0x3ffbd500 A15 : 0x80000001 SAR : 0x0000001d EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000008 LBEG : 0x40092074 LEND : 0x4009207f LCOUNT : 0x000013a6

Backtrace: 0x400e596f:0x3ffbf57c |<-CORRUPTED

#0 0x400e596f:0x3ffbf57c in uart_ll_get_intsts_mask at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/hal/esp32/include/hal/uart_ll.h:186
(inlined by) uart_rx_intr_handler_default at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/driver/uart.c:854

ELF file SHA256: 184211336248d8b2

Rebooting...

Anyone knows how to fix this?
Thanks
Sebastian

@richtigerprashant richtigerprashant added the bug Something isn't working label Apr 2, 2024
@richtigerprashant
Copy link
Author

figured out its happening when the device got a fix and might try to send it goes into the failure.

@richtigerprashant
Copy link
Author

[INFO][Loop] GPS fix state went to VALID
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x400e5972 PS : 0x00050031 A0 : 0x400860d0 A1 : 0x3ffbf57c
A2 : 0x3f800998 A3 : 0x3ffbecb4 A4 : 0x000000ff A5 : 0x00000ff0
A6 : 0x3ffbdcc0 A7 : 0x0001e870 A8 : 0x00000000 A9 : 0x3ffbecb0
A10 : 0x00000005 A11 : 0x00000001 A12 : 0x00000014 A13 : 0x00000004
A14 : 0x3ffbd500 A15 : 0x80000001 SAR : 0x0000001d EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000008 LBEG : 0x40092074 LEND : 0x4009207f LCOUNT : 0x000013c0

Backtrace: 0x400e596f:0x3ffbf57c |<-CORRUPTED

#0 0x400e596f:0x3ffbf57c in uart_ll_get_intsts_mask at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/hal/esp32/include/hal/uart_ll.h:186
(inlined by) uart_rx_intr_handler_default at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/driver/uart.c:854

ELF file SHA256: d151d37a91b4e0cd

Rebooting...

@dc0sk
Copy link

dc0sk commented May 5, 2024

I get similar exceptions here, on a T-Beam 1.2

They occur after a GPS fix is achieved. To me this looks like a memory corruption of some pointer.

Also, they seem to happen in different locations, reproducible with the debug binary:

ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
[INFO][PMU] init done!
[INFO][Main] LoRa APRS Tracker by OE5BPA (Peter Buchegger)
[INFO][Main] Version: 23.36.01
[ERROR][Configuration] Failed to read file, using default configuration.
[INFO][LoRa] Set SPI pins!
[INFO][LoRa] Set LoRa pins!
[INFO][LoRa] frequency: 433775000
[INFO][LoRa] LoRa init done!
[INFO][Main] Smart Beacon is: On
[INFO][Main] setup done...
[INFO][Loop] GPS fix state went to VALID
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400e5972  PS      : 0x00050031  A0      : 0x400860d0  A1      : 0x3ffbf57c  
A2      : 0x3f800998  A3      : 0x3ffbecb4  A4      : 0x000000ff  A5      : 0x00000ff0  
A6      : 0x3ffbdcc0  A7      : 0x0001e870  A8      : 0x00000000  A9      : 0x3ffbecb0  
A10     : 0x00000003  A11     : 0x00060023  A12     : 0x00000014  A13     : 0x00000004  
A14     : 0x3ffbd500  A15     : 0x80000001  SAR     : 0x0000001d  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000008  LBEG    : 0x40092074  LEND    : 0x4009207f  LCOUNT  : 0x0000159a  


Backtrace: 0x400e596f:0x3ffbf57c |<-CORRUPTED

  #0  0x400e596f:0x3ffbf57c in set_esp_interface_ip(esp_interface_t, IPAddress, IPAddress, IPAddress, IPAddress) at /home/sk/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:147




ELF file SHA256: df03e3874f848237

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
[INFO][PMU] init done!
[INFO][Main] LoRa APRS Tracker by OE5BPA (Peter Buchegger)
[INFO][Main] Version: 23.36.01
[ERROR][Configuration] Failed to read file, using default configuration.
[INFO][LoRa] Set SPI pins!
[INFO][LoRa] Set LoRa pins!
[INFO][LoRa] frequency: 433775000
[INFO][LoRa] LoRa init done!
[INFO][Main] Smart Beacon is: On
[INFO][Main] setup done...
[INFO][Loop] GPS fix state went to VALID
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x40091ec7  PS      : 0x00060c30  A0      : 0x800e025c  A1      : 0x3ffcbb30  
A2      : 0x3f800ac5  A3      : 0x00000014  A4      : 0x0001e849  A5      : 0x3f800ac5  
A6      : 0x00000039  A7      : 0x34323030  A8      : 0x00000000  A9      : 0x3ffcbb00  
A10     : 0x00000019  A11     : 0xf4310f07  A12     : 0xf4310f07  A13     : 0x3ffc4274  
A14     : 0x00000019  A15     : 0x3f800aac  SAR     : 0x0000001d  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000014  LBEG    : 0x40092074  LEND    : 0x4009207f  LCOUNT  : 0x00000000  


Backtrace: 0x40091ec4:0x3ffcbb30 0x400e0259:0x3ffcbb40 0x400e0309:0x3ffcbb60 0x400d49a2:0x3ffcbb80 0x400e2851:0x3ffcbd40

  #0  0x40091ec4:0x3ffcbb30 in __memcpy_aux at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memcpy.S:97
  #1  0x400e0259:0x3ffcbb40 in XPowersAXP2101::setDC5Voltage(unsigned short) at .pio/libdeps/ttgo-t-beam-AXP2101-v1_2/XPowersLib/src/XPowersAXP2101.tpp:1688
      (inlined by) XPowersAXP2101::setPowerChannelVoltage(unsigned char, unsigned short) at .pio/libdeps/ttgo-t-beam-AXP2101-v1_2/XPowersLib/src/XPowersAXP2101.tpp:2989
  #2  0x400e0309:0x3ffcbb60 in XPowersAXP2101::setALDO4Voltage(unsigned short) at .pio/libdeps/ttgo-t-beam-AXP2101-v1_2/XPowersLib/src/XPowersAXP2101.tpp:1891
      (inlined by) XPowersAXP2101::setPowerChannelVoltage(unsigned char, unsigned short) at .pio/libdeps/ttgo-t-beam-AXP2101-v1_2/XPowersLib/src/XPowersAXP2101.tpp:2997
  #3  0x400d49a2:0x3ffcbb80 in loop() at src/LoRa_APRS_Tracker.cpp:341 (discriminator 6)
  #4  0x400e2851:0x3ffcbd40 in Adafruit_SSD1306::drawFastHLine(short, short, short, unsigned short) at .pio/libdeps/ttgo-t-beam-AXP2101-v1_2/Adafruit SSD1306/Adafruit_SSD1306.cpp:721




ELF file SHA256: df03e3874f848237

Rebooting...

@richtigerprashant
Copy link
Author

I spent quite some time on fixing this without success. I switched to the version from https://github.com/richonguzman/LoRa_APRS_Tracker and from there its working.

@dc0sk
Copy link

dc0sk commented May 6, 2024

I spent quite some time on fixing this without success. I switched to the version from https://github.com/richonguzman/LoRa_APRS_Tracker and from there its working.

Thank you for replying, highly appreciated! I switched as well and everything works!

@dc0sk
Copy link

dc0sk commented May 8, 2024 via email

@f4exb
Copy link

f4exb commented May 8, 2024

yes you have to flash the filesystem and then it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants