-->
Page 1 of 1

Crash in esp_yield/TimerEvent/delay/loop

PostPosted: Tue Apr 24, 2018 1:26 pm
by marcmerlin
I've never seen a crash like this. It seems like a bug in the underlying stack, what do you think?
0x402043fc: esp_yield() at /home/merlin/.arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/cores/esp8266/core_esp8266_main.cpp line 86
0x40202130: TimerEvent() at /home/merlin/prg/arduino/Neopixel/NeoMatrix-Anim/test8flower/test8flower.ino line 3119
0x402010ae: delay at /home/merlin/.arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/cores/esp8266/core_esp8266_wiring.c line 53
0x4020332a: loop() at /home/merlin/prg/arduino/Neopixel/NeoMatrix-Anim/test8flower/test8flower.ino line 3113
0x40204448: loop_wrapper() at /home/merlin/.arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/cores/esp8266/core_esp8266_main.cpp line 123

Code: https://github.com/marcmerlin/NeoMatrix ... flower.ino
But I filed with more details: https://github.com/esp8266/Arduino/issues/4675

Re: Crash in esp_yield/TimerEvent/delay/loop

PostPosted: Thu Apr 26, 2018 7:31 pm
by marcmerlin
Well, never mind, it took so long for this message to be approved that it doesn't matter anymore.

It was apparently a bug in 2.3.0-rc2 that is fixed in 2.4.1 which itself was not available for download in my arduino IDE because I had http://arduino.esp8266.com/staging/pack ... index.json I was told to use a long time ago and now it seems not to be updated anymore, so it serves up an old broken version as the latest one.

Re: Crash in esp_yield/TimerEvent/delay/loop

PostPosted: Fri Apr 27, 2018 7:53 am
by schufti
and the issue is allready closed because it is no fault of the core but an issue of the (non-)portability of some libs.

Re: Crash in esp_yield/TimerEvent/delay/loop

PostPosted: Sat Apr 28, 2018 1:24 am
by marcmerlin
schufti wrote:and the issue is allready closed because it is no fault of the core but an issue of the (non-)portability of some libs.

Well, actually the libs were fine, I didn't change any code. I just upgraded the core to a newer version and the problem went away.
Either way, everything works now, my problem was apparently pretty much only that I was
using staging/package_esp8266com_index.json instead of stable/package_esp8266com_index.json