Hi, there.
I'm writing codes working on PXA255 (XScale) and VxWorks5.5.
One task allocates memory using 'malloc()' and other task trys to free
with 'free()' that memory. But I just found this error message.
memPartFree: invalid block 0xa1c05800 in partition 0xa0dd74c8
Here, 0xa1c05800 is the returned address of malloc() and 0xa0dd74c8
is the memSysPartID.
Yes, I know that I would get this error message when I tried to free
this allocated memory which is already freed.
1. What other reasons of this error might be?
2. Can I give a size to a system mem partition? and How?
Any kind of tips are appreciated.
Thanks.
MARTY.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 353 |
Nodes: | 16 (2 / 14) |
Uptime: | 74:20:23 |
Calls: | 7,639 |
Calls today: | 3 |
Files: | 12,802 |
Messages: | 5,691,775 |