-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Exception (28) in <lmacProcessAckTimeout>: #1329
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
so you are sending UDP packets every 7 uS as micro seconds? I do not think that the ESP can handle sending packets that often. You can try and have fingers crossed to send a packet every milli second but not more often than that. |
I will try sending less often longer packets and see how it works. I'll keep u posted |
I made some more testing, I'm now sending a 512 bytes udp packet every 500ms. The exception is much more seldom but still happens randomly....
Any idea how to further track this down ? |
I'm also seeing the same crash with the 1,5 SDK in the nodemcu code (at offset 39 decimal in lmacProcessAckTimeout). My application hardly does any network i/o (maybe two connections per minute). Takes a couple of hours to crash.... There are other people who are also experiencing the same crash in various other versions of the SDK (at the same offset in lmacProcessAckTimeout). I'll bet that this is in the handling of Ack timeouts (i.e. when then AP doesn't acknowledge a packet transmitted by the esp8266 client). |
I would place the same bet, except on the very end of your sentence :) as in my application I use the ESP8266 as AP... Is there any means to further decode the stack-trace and figure out how we end-up here ? I have made several tests and can often reproduce this, in UDP, in TCP with lot of data being sent of with pretty nothing sent either... Pretty frustrating as I need my application to run (and not reboot) for at least 7 to 8 hours... and so far, it isn't guaranteed at all. |
Ah -- interesting. I did file a bug with espressif about this, but they rejected it as my example was nodemcu based. It looks as though your example is much simpler... Maybe you can file a ticket with them? See http://espressif.com/bug-bounty/ -- it also appears that they might pay for getting one. Let me know what happens...... |
gave it a try, let's see what comes out. |
Did they accept your bug report? |
Not at first, replied back asking for more saying it wasn't nodemcu but custom hardware.. Waiting their response since then. PyB |
Got a response :
Haven't yet had time to do extensive testing with the 1.5.1 SDK... |
Hi! I'm running an interrupt and I have the same exception... Did you solve it? |
You just need to upgrade to the latest SDK (1.5.1?) -- that solves it. |
SDK 1.5.1 is used in 2.1.0-rc2 and git version. |
Latest release 2.1.0 uses SDK 1.5.1, so i'm closing this one. |
Where to get 2.1.0 SDK?? Can you please provide any link? It will be really helpful. |
PR #3215 . Please google how to test PR locally. |
Hi,
I'm working on an application which is pretty demanding, timing wise.
Basically it detects some random activity, and when it happens decode the received data using GPIO interrupts occuring at a 6.4us period (approximatively) and taking about 4us to be served.
In the arduino loop those data are sent through WiFi UDP. WiFi is configured as AP and clients connect to it (android apps).
When no client is connected this works well. When a(or more) clients are connected, I'm getting random crashes in lmacProcessAckTimeout but pretty easy to reproduce (takes few seconds):
I can't figure out what the probem is.
Below are extract of the code:
manageTransponderHits does :
The text was updated successfully, but these errors were encountered: