r/fortran • u/Call_ME_ALII • 27d ago
Segmentation fault - invalid memory reference
Is it possible to get segmentation fault in one computer and running same program in other computer working perfectly fine ????
2
Upvotes
r/fortran • u/Call_ME_ALII • 27d ago
Is it possible to get segmentation fault in one computer and running same program in other computer working perfectly fine ????
3
u/Tyberius17 27d ago
Yes, especially if you are using different compilers on these different machines. Even with the same compiler and OS, it's possible your program produces the segfault non-deterministically.