Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

malloc assert! #48

Open
abhaysbharadwaj opened this issue Feb 18, 2016 · 2 comments
Open

malloc assert! #48

abhaysbharadwaj opened this issue Feb 18, 2016 · 2 comments

Comments

@abhaysbharadwaj
Copy link

I have been working with this wonderful library.
in my latest project i am trying to send a "RFID number" using esp8266.
I am getting the error "malloc assert!" in my serial window of arduino.

The sequence of events shown in my serial monitor of arduino are as follows:

"ARDUINO: setup wifi
ARDUINO: system started
scandone
add 0
aid 7
pm open phy2,type:2 0 0
cnip:192.168.10.108,mask:255.255.255.0,gw:192.168.10.1
CONNECTED TO WIFI NETWORK
mqtt Connected Successfully
null
malloc assert!"

for all other programs that i have done, i have not encountered this issue. So, i can say its because of RFID that i might be getting this problem.

My question is, is this the issue with esp8266 or the library? because, i am unable to find "malloc assert!" sentence anywhere in the mqtt library.

sorry for the long question. Hope anyone can help me out! Thanks in advance..

@Familienpapi
Copy link

I have the same problem when I'm doing something more with the mqtt example code. I'm trying to read sensors via I2C, an IR remote control, a motion sensor and sending the results via mqtt to FHEM and a TFT Touch Display (UTFT).
When I comment out some code fragments then it works so I think, it's a timing problem.
I'm using an Arduino Mega2560 R3 and IDE 1.6.12 portable on Windows x64.

I hope that helps a little. I'm giving up.

Familienpapi

@frugallabs
Copy link

This issue was with the ESP01 module having 512Kb memory (The blue ones)..
The ESP01 available in the market now have 1Mb memory (brown color modules). I am no longer facing issues with these new modules now! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants