dilevin / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
2 stars 10 forks source link

Memory corruption #77

Open Pranky1247 opened 1 month ago

Pranky1247 commented 1 month ago

The error message

"raster(16460,0x1f9518f40) malloc: Region cookie corrupted for region 0x108000000 (value is e4e0a3e3)[0x108007ffc] raster(16460,0x1f9518f40) malloc: *** set a breakpoint in malloc_error_break to debug zsh: abort ./raster"

occasionally occurs when I run the executable. Will you take marks off because of this?

dilevin commented 1 month ago

This almost certainly means you are accessing an array out of bounds somewhere. If that’s the case and it’s indicative of an indexing bug in your code then you will lose marks.