-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fatal exception 0(IllegalInstructionCause): #1950
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
Can you comment out MDNS, and see if it runs? There's a known bug with it causing crashes just like this, see issue #1926 |
Thanks liquidfalcon! |
Hi! I wanted to ask you if there is another reason as to which the ESP could be behaving like this. You see, I have a black ESP8266-01 and it will reboot and print a stack trace just after showing this exact same exception. Nevertheless, I do not use MDNS in my program. Does anybody know what could be happening? |
This sounds like a separate issue, @blastervla - Could you create a new issue, fill out the information, and post a decoded stack trace? That should help us figure it out |
my problem : load 0x40100000, len 2408, room 16 2nd boot version : 1.6 Fatal exception 0(IllegalInstructionCause): |
I have the same problem with my sketch. If I turn on debug mode, then "Fatal exception 0(IllegalInstructionCause)" occurs. I can comment out one of these lines "WiFi.persistent(false);", "wifiDisconnect(true);" or "MDNS.begin("my_esp_hostname");" and everything executes without exceptions. Also I can turn off debug mode, in this case exceptions will disappear.
Serial monitor output in debug mode:
Exception decoding:
|
Basic Infos
I'm trying to use ESP-01 module as small webserver.
Hardware
Hardware: ESP-01
Core Version: 2.2.0
Description
It works on my home AP, on my Android phone AP.
But has Fatal Exception in 10-20 seconds on my work AP. Tried to set different settings on it, change channels, mode, speed, disable encryption and so on.. ESP crashes
Other WiFi clients work fine.
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 1MB
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 40Mhz
Reset Method: ck
Sketch
Standard example from libraries/ESP8266WebServer/examples/HelloServer/HelloServer.ino
Just changed ssid
Debug Messages
wifi evt: 0
..wifi evt: 7
wifi evt: 7
.wifi evt: 7
wifi evt: 7
..wifi evt: 3
.
Connected to GOR30
IP address: 192.168.10.20
MDNS responder started
HTTP server started
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
wifi evt: 7
Fatal exception 0(IllegalInstructionCause):
epc1=0x40106992, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Exception (0):
epc1=0x40106992 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffffd80 end: 3fffffb0 offset: 01a0
The text was updated successfully, but these errors were encountered: