[RTEMS Project] #4946: malloc_info() changes the state of the heap
RTEMS trac
trac at rtems.org
Fri Feb 16 01:04:17 UTC 2024
#4946: malloc_info() changes the state of the heap
----------------------------------+-------------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: Indefinite
Component: score | Version: 7
Severity: normal | Resolution:
Keywords: soc executive medium | Blocked By:
Blocking: |
----------------------------------+-------------------------
Changes (by Gedare Bloom):
* keywords: => soc executive medium
Old description:
> The call `malloc_info()` is useful when looking to heap issues when some
> allocations are not right. I have found this call changes the state of
> the heap. I am not sure what is happening but I think a call like this
> should not effect the state of the heap and only report it.
New description:
== Mentors ==
* Chris Johns
* Gedare Bloom
== Skills ==
This is primarily a C programming project.
== Description ==
The call `malloc_info()` is useful when looking to heap issues when some
allocations are not right. I have found this call changes the state of the
heap. I am not sure what is happening but I think a call like this should
not effect the state of the heap and only report it.
The documentation for this call, specification of the requirements, and
any related documentation around it should be updated when this call
becomes side-effect free.
This project could potentially be combined with other projects related to
memory allocators.
--
--
Ticket URL: <http://devel.rtems.org/ticket/4946#comment:14>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list