Memory Problem/Segmentation fault
I'm writing a brute force algorithm to create a string that searches through all combinations of letters and numbers and compares it with another string which I declare myself however when running it always crashes with:
Program received signal SIGSEGV, Segmentation fault.
0x00007fff5fc185e4 in ?? ()
When running it with gdb it always crashes between 'ac8Q' and 'ac8T'. Because it never crashes in the same place it makes me think it isn't a problem with the code but memory. Is there some default limited amount of memory to be used for a program or is this something else?