Search found 89 matches
- Tue Jan 23, 2018 1:31 am
- Forum: ESP-IDF
- Topic: Patterns for heap corruption resolution ...
- Replies: 13
- Views: 19680
Re: Patterns for heap corruption resolution ...
I'm testing now with the breakpoint change, already had stack protection overall enabled. I also suspected a bad stack but wasn't sure how the heap tracing worked and thought maybe because the heap was corrupted that could have resulted in the heap trace being corrupted. Imo this didn't seem likely ...
- Sat Jan 20, 2018 6:50 pm
- Forum: ESP-IDF
- Topic: Patterns for heap corruption resolution ...
- Replies: 13
- Views: 19680
Re: Patterns for heap corruption resolution ...
@ESP_Angus: esp_buf_alloc() looks like a potential suspect, look at this trace: CORRUPT HEAP: Bad tail at 0x3ffe0f70 . Expected 0xbaad5678 got 0xcececece CORRUPT HEAP: Bad head at 0x3ffe0f78 . Expected 0xabba1234 got 0xcececece CORRUPT HEAP: Block 0xcecececc is outside heap (last valid block 0x3ffe0...
- Fri Jan 19, 2018 8:44 pm
- Forum: General Discussion
- Topic: [SOLVED] WiFi + WebServer + Bluetooth
- Replies: 6
- Views: 10437
Re: WiFi + WebServer + Bluetooth
Ahh, so there is a bunch of stuff that isn't already found in nghttp2...
- Fri Jan 19, 2018 8:04 pm
- Forum: General Discussion
- Topic: [SOLVED] WiFi + WebServer + Bluetooth
- Replies: 6
- Views: 10437
Re: WiFi + WebServer + Bluetooth
There is no issue in this app https://github.com/nkolban/ESP32_Explorer It is running http server + STA + eventually BLE which can be triggered from web site (observer, server or both observer and server). Hi chegewara, what web server is used for this project? I reviewed the code but couldn't spot...
- Fri Jan 19, 2018 4:13 pm
- Forum: ESP-IDF
- Topic: Patterns for heap corruption resolution ...
- Replies: 13
- Views: 19680
Re: Patterns for heap corruption resolution ...
Hi @ESP_Angus. I've been continuing to debug, audit, and rewrite code here. I've found a handful of potential issues and fixed them. I'm using latest master as of today (1c3dd23f) but had the same issues with 2.1 and the 3.0 release branch. At this point I'm still able to reproduce the failure under...
- Mon Jan 08, 2018 1:58 am
- Forum: ESP-IDF
- Topic: Need help for HTTP Client Porting
- Replies: 10
- Views: 11632
Re: Need help for HTTP Client Porting
@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd. Ok. Will send details w.r.t. component size tomorrow morning Here is what I get w...
- Sat Jan 06, 2018 7:07 pm
- Forum: ESP-IDF
- Topic: Patterns for heap corruption resolution ...
- Replies: 13
- Views: 19680
Re: Patterns for heap corruption resolution ...
I was unable to diagnose my issue with heap tracing. I was trying to trigger the heap trace output at intervals but I'm guessing it would have been more effective if I could have triggered it when the 'CORRUPT HEAP' was detected. Should I have modified the heap code to insert that tracing call at th...
- Sat Jan 06, 2018 7:02 pm
- Forum: ESP-IDF
- Topic: Need help for HTTP Client Porting
- Replies: 10
- Views: 11632
Re: Need help for HTTP Client Porting
@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd.
- Sat Jan 06, 2018 3:00 pm
- Forum: ESP-IDF
- Topic: IP Adresses in AP/STA mode
- Replies: 2
- Views: 4012
Re: IP Adresses in AP/STA mode
Are you receiving connections or connecting outwardly? When receiving you'll specify the address to listen to when you call bind().
On outgoing connections I'm a bit less sure how that works. I'd be interested in seeing some code to show what you mean and how you've resolved the issue.
On outgoing connections I'm a bit less sure how that works. I'd be interested in seeing some code to show what you mean and how you've resolved the issue.
- Sat Jan 06, 2018 2:50 pm
- Forum: General Discussion
- Topic: NVS write frequency analysis
- Replies: 2
- Views: 3771
Re: NVS write frequency analysis
I'd still like the changes (for instance the ssid, passphrase etc) to persist across power cycles. Possible to use a power down isr to switch the mode to flash and save before power completely went away? I'm assuming that the whole wifi nvs is rewritten if the mode changes but that may not be the ca...