Whats the best way of debugging a segmentation fault. I know it is to do with the allocation of memory and i use malloc to allocate that memory but im stumped and have no idea. I have successfully allocated memory earlier on in my code.
I am useing the C gcc in Linux 32bit.
I am useing the C gcc in Linux 32bit.