SFU ID: 301358537
Github username: jel-cmpt295
Line and file: mm.c, lines 507-608
Expected behavior: no segfault
Observed behavior: segfault
Question:
Hi,
I was using the mm_check() function to get used to how the various helper functions worked as well as test different things for mm_malloc. After calling the insertFreeBlock function though and using examine_heap, I get a segfault along with the examine_heap telling me that the size of the second block in the free list is an unrealistically large number (like 140 trillion). Am I missing a specific step that would fix this?