Process finished with exit code -1073741571

That is the signed integer representation of Microsoft’s “stack overflow/stack exhaustion” error code 0xC00000FD.

You might try increasing your executable’s stack size as described in the answer here: How to overcome Stack Size issue with Visual Studio (running C codes with big array)

Anytime you see strange, large negative exit codes in windows, convert them to hex and then look them up in the ntstatus error codes

You may also use the MS Error Lookup Tool to find such codes locally, or even automatically. Other, similar tools exist both by Microsoft and third parties.

Leave a Comment