Issue created by Vijay Banerjee: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5658



The following discussion from !1363 should be addressed:

- [ ] @joel started a 
[discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1363#note_155231):
 

    > It should be possible to trigger the out of memory error. Some tests like 
testsuites/sptests/spfatal09/init.c have a _consume_all_memory()_ function. 
Others use someting like spmountmgr01/init.c: which uses 
_rtems_heap_greedy_allocate()_. Since this is an allocation via _malloc()_, the 
second method should work. 
    > 
    > There are tests under libtests/dl* which use RAP. Copying one of them and 
allocating all of the memory before calling the service that uses 
_rtems_rap_app_alloc()_ may be enough to trigger this. And yes, I am suggesting 
adding a new test executable to exercise this.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5658
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-44rh7z56rgj0ihe63ci98itpl-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to