assertion "res == coreID || res == portMUX_FREE_VAL" failed
Posted: Fri Feb 08, 2019 1:41 pm
In my code, I start softAP, collect user SSID and password, and use it to connect the wifi in station mode.
As I am near to connect to wifi I get this error just before getting IP.
I saw line 105 in which state:
Problem is I don't know what this mean, less alone solve it.
As I am near to connect to wifi I get this error just before getting IP.
Code: Select all
.
.
.
.
I (23855) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (24695) wifi: state: init -> auth (b0)
I (24695) wifi: state: auth -> assoc (0)
I (24705) wifi: state: assoc -> run (10)
I (24735) wifi: connected with MySSID, channel 1
I (24735) wifi: pm start, type: 1
assertion "res == coreID || res == portMUX_FREE_VAL" failed: file "C:\users\xxxxx\.platformio\packages\framework-espidf\components\freertos\portmux_impl.inc.h", line 105, function: vPortCPUAcquireMutexIntsDisabledInternal
abort() was called at PC 0x40123c87 on core 0
Code: Select all
assert(res == coreID || res == portMUX_FREE_VAL); /* any other value implies memory corruption or uninitialized mux */
assert((res == portMUX_FREE_VAL) == (mux->count == 0)); /* we're first to lock iff count is zero */
assert(mux->count < 0xFF); /* Bad count value implies memory corruption */