User forums > Using Code::Blocks
Program received signal SIGSEGV: Segmentation fault - invalid memory reference
BentL:
You are doing file operations in Fortran and there is a bug in version 5.1.0 of file "libgfortran-3.dll" causing the error you describe. You need to update file "libgfortran-3.dll" as described in this post.
maxlox:
--- Quote from: BentL on June 11, 2018, 02:30:30 pm ---You are doing file operations in Fortran and there is a bug in version 5.1.0 of file "libgfortran-3.dll" causing the error you describe. You need to update file "libgfortran-3.dll" as described in this post.
--- End quote ---
Before I ask for help I've do it (installed the libgfortran-3 described in the post) ... but nothing :-\
karaul:
I used mingw from here https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version6/
With this replaced compiler, it works now.
(1) download small installer from the above link and install it in c:\mingw
(2) select the fortran package from the fresh installer and install
(3) change in the setting-complier for GNU fortran path to c:\mingw
The logic is clear, and I am sorry, if it the explanation is too short, I am writing this to repeat the procedure on another computer too.
Navigation
[0] Message Index
[*] Previous page
Go to full version