esp32_bridge_broadcast icon indicating copy to clipboard operation
esp32_bridge_broadcast copied to clipboard

m_count assertion on end_reading() recieve

Open hippyau opened this issue 4 years ago • 2 comments

Hi Jean!

I am sending a lot data to the esp32 with a PC, and just started to get this assertion.

assertion "m_count > 0" failed: file "include/wlan_queues.h", line 191, function: void Queue<N>::end_reading() [with unsigned int N = 40000u]

maybe i'm running out of memory? I increased the incoming buffer size to 40000.

Cheers

hippyau avatar Mar 28 '20 11:03 hippyau

Hi,

Not sure why you get that. It's been a while - but I remember that I increased to buffers on the esp32 almost to the limit of the ram. Why did you increase the incoming buffer?

jeanlemotan avatar Mar 28 '20 12:03 jeanlemotan

Hey thanks for the reply!

I thought it might help, as i'm pumping a lot of data into the esp32.

I commented the assertion line out, and I no longer crash out.... but paranoid about the what m_count is doing and the consequences of that assertion?

Cheers,

hippyau avatar Mar 28 '20 14:03 hippyau