- Notifications
You must be signed in to change notification settings - Fork13.3k
emulation on host: fix for latest changes in dnsserver#8559
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
| #ifndef DNSServer_h | ||
| #defineDNSServer_h | ||
| #include<memory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
future-proofing, I tried adding DNSServer/examples/DNSServer to host test script, but I see valgrind error in UDP code 🤷
something to note
| #ifndef DNSServer_h | ||
| #defineDNSServer_h | ||
| #include<memory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
future-proofing, I tried adding DNSServer/examples/DNSServer to host test script, but I see valgrind error in UDP code 🤷
something to note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is there a line number to go with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Also mocking. ~DNSServer -> ~WiFiUDP -> UdpContext.disconnect() tries to delete std::map entry, which may or may not be already destroyed (?).
Not related to the DNSServer, but to the way UDP is organized there.
d-a-v commentedMay 10, 2022
With this change: --- a/libraries/DNSServer/examples/DNSServer/DNSServer.ino+++ b/libraries/DNSServer/examples/DNSServer/DNSServer.ino@@ -1,5 +1,5 @@-#include <ESP8266WiFi.h> #include <DNSServer.h>+#include <ESP8266WiFi.h> #include <ESP8266WebServer.h> This happens: |
No description provided.