Crash deep in heap allocation for rtems_region_get_segment() call
Matthew J Fletcher
amimjf at gmail.com
Tue Mar 6 18:12:54 UTC 2018
Hi
So the current block is 0x70b0bef8 with a size_and_flag of 257, block->next
is 0x70b0c9f8 with a size_and_flag of 3444481, block->prev is 0x701615b8
with a size_and_flag of 0.
I note that the 'prev' and the 'free_list_anchor' are the same, as is the
'heap' pointer, not sure if thats normal ?
I would normally presume this is a BSP / my_platform issue, but my linker
script has the following, which looks fine.
"SDRAM : ORIGIN = 0x70000000, LENGTH = 0x01000000"
"RTEMS_AREA : ORIGIN = ORIGIN (SDRAM), LENGTH = 9216k" // APP_BSS and
APP_HEAP are after this, so 9216k is somewhat arbitrary.
regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180306/59588998/attachment-0002.html>
More information about the users
mailing list