-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ESP8266: Segfault while using MQTT #2340
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
Comments
Just an update. I flashed 3 Wemos modules with the actual version: Fatal exception 28(LoadProhibitedCause): ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 30964, room 16 Board 2: Fatal exception 28Fatal exception 28Fatal exception 28 wdt reset Board 3: Fatal exception 28(LoadProhibitedCause): ets Jan 8 2013,rst cause:4, boot mode:(3,7) wdt reset |
Sorry for the lack of progress with this, this is due to lack of exact information how to reproduce it. We recently upgraded to ESP8266 SDK 2.0, which is known to fix at least some of older issue. Please try to reproduce this issue with the the latest master (requires latest esp-open-sdk), and see if the issue still persists. If it does, please attach firmware.bin, firmware.elf, firmware.map files for investigation. Thanks. |
I can reproduce the failure with the newest firmware on two different boards running the same attached firmware version. Both Boards are connected to the same network. But i don't think the problem is related to MQTT. I first noticed the failure while running MQTT samples. But the board hangs or reboots also appear if I'm just connected to the wlan and doing nothing. Perhaps a special network package or something. First reboot happend while running a MQTT sample program:
wdt reset Second one happend while running nothing. Only connected via com port:
wdt reset |
For reference, that's esp8266-20161025-v1.8.5-49-g760ed46 (based on the contents of the attached archive). |
Closing due to inactivity. |
As descibed in this thread:
http://forum.micropython.org/viewtopic.php?f=16&t=2269
the system hangs after some time in my wlan network. If error logging is on I get a Fatal exception 28. Sometimes the chip restarts after that. The restart was on a system running the esp8266-20160809-v1.8.3.bin version producing this output:
Fatal exception 28(LoadProhibitedCause):
epc1=0x401021d6, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 30872, room 16
tail 8
chksum 0x5d
load 0x3ffe8000, len 1064, room 0
tail 8
chksum 0x0b
load 0x3ffe8430, len 3000, room 0
tail 8
chksum 0x76
csum 0x76
d▒▒|▒▒{oc▒▒
l▒
c▒l
䄜▒▒▒c▒lsll
l▒▒|▒▒rrgc▒▒l
▒▒▒▒
c▒
c쌜▒▒▒b▒▒drl▒d▒▒|▒▒{oc▒▒l▒▒l
c▒
c쌜▒▒▒
c▒lcd▒▒s▒l▒l▒d
▒▒s▒d▒d▒d
▒▒{▒$▒▒▒
ll
rl▒▒sl▒▒▒cd▒c{|▒cxc ▒▒o▒gg▒ ld▒▒l쎌 l▒▒ll▒▒▒d▒▒l▒n▒▒▒▒cd▒pğ▒c l ▒cpslsd{▒g▒▒▒ ▒csc▒▒c쎜▒▒cdcddb▒b▒▒n▒▒▒▒c{c▒▒c䏜▒▒cl l lcl▒ l▒▒|▒▒rrgc▒▒ l▒▒▒c▒ b䄜▒▒▒▒▒bddcl▒▒do▒l
▒▒lo▒psl▒l▒▒|▒▒#5 ets_task(40100390, 3, 3fff6300, 4)
WebREPL daemon started on ws://192.168.4.1:8266
WebREPL daemon started on ws://0.0.0.0:8266
Started webrepl in normal mode
But most of the time the system just hangs without any reaction or restart.
The text was updated successfully, but these errors were encountered: