Page 1 of 1

ESP-IDF 5.2.1 crash in wifi_log()

Posted: Wed Jul 10, 2024 4:58 am
by brianpdx
Occasionally when I pause the system for long periods of time while debugging I'll get a spurious panic abort.

The function that crashes is (*s_log_print_func)() in esp_log_writev() in log.c and the calling code seems to be the function wifi_log() in the library libnet80211.a.

The tag is "wifi" and the format is "%c (%d) %s:" but I can't find any source code for this, maybe it's a proprietary precompiled library?

At any rate, it seems like the argument being passed to %s is NULL.

If there's a better place for me to file a bug report please let me know.

Regards,

Brian