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. #1

Open
werdlerk opened this issue Aug 8, 2020 · 0 comments

Comments

@werdlerk
Copy link

werdlerk commented Aug 8, 2020

Hi Darren,

I'm trying to load this firmware on my Tickertape I've got from you (Kickstarter backer #91).

At first I was running the original firmware that came with the device but unfortunately I wasn't able to configure (or figure out) the brightness setting.

I've now loaded this firmware on the Tickertape device with the VSCode Platform.io extension. The device has remembered the old wifi settings so it doesn't start the hotspot for configuration in the browser. Blocking the device in my router got it to start the hotspot for configuring it using the wifi portal page.

However, the device crashes as soon as I try to connect to the wifi page:

*WM: AP IP address: 
*WM: 192.168.4.1
*WM: HTTP server started
dhcps: send_offer>>udp_sendto result 0
[E][WebServer.cpp:617] _handleRequest(): request handler not found
*WM: Request redirected to captive portal
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400df407  PS      : 0x00060430  A0      : 0x800df60d  A1      : 0x3ffb1ac0  
A2      : 0x3ffb1ec4  A3      : 0x0000b83d  A4      : 0x3ffceaa4  A5      : 0x00000001  
A6      : 0x00060e23  A7      : 0x00000000  A8      : 0x3ffceabc  A9      : 0x0000b841  
A10     : 0x3ffb1b14  A11     : 0x3ffb1afc  A12     : 0x00000001  A13     : 0x00000001  
A14     : 0x00060e23  A15     : 0x00000000  SAR     : 0x00000004  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x0000b841  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffd  

Backtrace: 0x400df407:0x3ffb1ac0 0x400df60a:0x3ffb1b50 0x4017a91d:0x3ffb1c10 0x400db791:0x3ffb1c30 0x400db905:0x3ffb1c50 0x400dba75:0x3ffb1ca0 0x400e2246:0x3ffb1cf0 0x400e2405:0x3ffb1d30 0x400d7bb1:0x3ffb1d80 0x400e76f7:0x3ffb1fb0 0x40089415:0x3ffb1fd0
  #0  0x400df407:0x3ffb1ac0 in WiFiManager::captivePortal() at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:800
      (inlined by) __atomic_add_dispatch at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/ext/atomicity.h:96
      (inlined by) std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/shared_ptr_base.h:134
      (inlined by) std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count(std::__shared_count<(__gnu_cxx::_Lock_policy)2> const&) at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/shared_ptr_base.h:666
      (inlined by) std::__shared_ptr<WiFiClientSocketHandle, (__gnu_cxx::_Lock_policy)2>::__shared_ptr(std::__shared_ptr<WiFiClientSocketHandle, (__gnu_cxx::_Lock_policy)2> const&) at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/shared_ptr_base.h:923
      (inlined by) std::shared_ptr<WiFiClientSocketHandle>::shared_ptr(std::shared_ptr<WiFiClientSocketHandle> const&) at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/shared_ptr.h:107
      (inlined by) WiFiClient::WiFiClient(WiFiClient const&) at /Users/koen/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.h:39
      (inlined by) WebServer::client() at lib/WebServer-esp32-master/WebServer.h:100
      (inlined by) WiFiManager::captivePortal() at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:775
  #1  0x400df60a:0x3ffb1b50 in WiFiManager::handleNotFound() at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:800
  #2  0x4017a91d:0x3ffb1c10 in void std::_Mem_fn_base<void (WiFiManager::*)(), true>::operator()<, void>(WiFiManager*) const at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:800
      (inlined by) void std::_Bind<std::_Mem_fn<void (WiFiManager::*)()> (WiFiManager*)>::__call<void, , 0u>(std::tuple<>&&, std::_Index_tuple<0u>) at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/functional:1074
      (inlined by) void std::_Bind<std::_Mem_fn<void (WiFiManager::*)()> (WiFiManager*)>::operator()<, void>() at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/functional:1133
      (inlined by) std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (WiFiManager::*)()> (WiFiManager*)> >::_M_invoke(std::_Any_data const&) at /Users/koen/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/functional:1871
  #3  0x400db791:0x3ffb1c30 in std::function<void ()>::operator()() const at /Users/koen/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp:229
  #4  0x400db905:0x3ffb1c50 in WebServer::_handleRequest() at /Users/koen/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp:229
  #5  0x400dba75:0x3ffb1ca0 in WebServer::handleClient() at /Users/koen/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp:229
  #6  0x400e2246:0x3ffb1cf0 in WiFiManager::startConfigPortal(char const*, char const*) at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:800
  #7  0x400e2405:0x3ffb1d30 in WiFiManager::autoConnect(char const*, char const*) at .pio/libdeps/lolin32/WifiManager/WiFiManager.cpp:800
  #8  0x400d7bb1:0x3ffb1d80 in setup() at src/main.cpp:266
  #9  0x400e76f7:0x3ffb1fb0 in loopTask(void*) at /Users/koen/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:14
  #10 0x40089415:0x3ffb1fd0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Rebooting...
ets Jun  8 2016 00:22:57

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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac

D: Starting ESP32-TickerTape running on CPU 1 at 240 MHz.  Version TickerTape v0.7.  Free memory 311312

Do you know how to remedy this so I can configure the device using the wifi portal page (or maybe in a different way) ?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant