How to determine if segfault occurs due to lack of memory?
I have a segfault that challenges the diagnosis of valgrind and duma / efence because it seems to destroy these tools itself (Valgrind "the possibleibe happens", duma: "mprotect () failed: cannot allocate memory")
The app (Gazebo) just crashes with segfault and a stack trace that doesn't seem to give a lot of clues about why.
TL; DR: Is there a simple tool or method to confirm or exclude due to lack of memory reasons for segfault?
(the top one does not show an excessive amount of memory usage before the crash)
source share