Closed flipflop22 closed 6 years ago
ARM Internal Ref: MBOTRIAGE-1064
Are you sure you've not just overrun the buffer when filling it? The system has tried to use 0xAAAAAAAA as an address. Is the buffer on the stack? It wouldn't fit.
Needs example code to replicate.
problem solved. The problem is with the code. Apparently the input size is bigger than declared buffer.
Description
My setup: -UBLOX_EVK_ODIN_W2 -GCC_ARM -mbed cli (newest version) -GNU ARM Eclipse -Issue: networking in thread
So I try to create a thread.
send_thread(osPriorityRealtime)
I try start the thread.
I create a buffer with size of 5360
for(i=0;i<5360;i++){ out_buffer[i]=0xAA; }
when I try to send this buffer.
size = client_sock.send(out_buffer,BUFFER_SIZE);
Then, Mbed Error message pops out and says HardFault as follow:
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug