-->
Page 1 of 2

Heres an interesting one

PostPosted: Wed Jun 10, 2015 7:00 am
by tytower
Sending some data to Ubidots . I am getting the error below
Anybody know what it points to?
My thought was an array out of bounds but never seen anything like this before

Code: Select allconnected ubidots
POST /api/v1.6/variables/557726d576254268685b6af6/values HTTP/1.1
Content-Type: application/json
Content-Length: 14
X-Auth-Token: Te0UTnZAsDajfAVSaTT4WHqLnKXH1vQG6fDrmBriWiUx3FBA9LxOzEMD5ij0
Host: things.ubidots.com

{"value": 912}
Ubidots data
912
Stuff in fieldData

M!@lN!@�N!@�O!@0M!@�O!@�M!@�M!@�O!@`O!@dM!@�M!@$O!@@O!@


The editor will not print what I get on the screen but it includes
Code: Select allheap collided with sketch stack  0123456789abcdef
empty otp  app_main.c   Fatal exception (%d):    epc1=0x%08x, epc2=0x%08x, epc3=0x%08x, excvaddr=0x%08x, depc=0x%08x
services._dns-sd._udp.local.........................and lots more

Re: Heres an interesting one

PostPosted: Wed Jun 10, 2015 12:54 pm
by cal
Code: Select allheap collided with sketch stack

Moin,

check if you have to reduce your stack usage.

Cal

Re: Heres an interesting one

PostPosted: Wed Jun 10, 2015 2:01 pm
by tytower
How do I do that thanks Cal?

Re: Heres an interesting one

PostPosted: Wed Jun 10, 2015 2:45 pm
by cal
Each nested method call costs a little bit big arrays as local variables may kill you.
Check your method call chain and your local variables used.
If they exceed a few kbytes thats too much. (Don't have exact number here but may be less than 8kb or 6kb)

Cal