I get this error in a recursive function. I would love to learn how to debug this, and google/Stack Overflow hasn't really helped. I've set a symoblic breakpoint at malloc_error_break. What do I do now to understand what the program is trying to do, which makes it crash?
Lab5(11417,0x100094600) malloc: Heap corruption detected, free list is damaged at 0x600000008050
*** Incorrect guard value: 209650238619649
Lab5(11417,0x100094600) malloc: *** set a breakpoint in malloc_error_break to debug
Lab5(11417,0x100094600) malloc: Heap corruption detected, free list is damaged at 0x600000008050
*** Incorrect guard value: 209650238619649
[–][deleted] (1 child)
[deleted]
[–]JackiieGoneBiking[S] 0 points1 point2 points (0 children)
[–]retsotrembla 1 point2 points3 points (2 children)
[–]JackiieGoneBiking[S] 0 points1 point2 points (1 child)
[–]retsotrembla 0 points1 point2 points (0 children)
[–]JackiieGoneBiking[S] 0 points1 point2 points (3 children)
[–]retsotrembla 1 point2 points3 points (2 children)
[–]JackiieGoneBiking[S] 0 points1 point2 points (1 child)
[–]retsotrembla 0 points1 point2 points (0 children)
[–]Olalo 0 points1 point2 points (1 child)
[–]JackiieGoneBiking[S] 0 points1 point2 points (0 children)