Forum Discussion
RichardT_altera
Super Contributor
6 years agoI found a discussion about malloc failing. Could be memory allocation failed when data segment is invalid or the system is low on memory?
https://stackoverflow.com/questions/12433947/why-does-malloc-not-work-sometimes
You can use the valgrind memory error detector to help you find these kind of errors.