U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Compiling Fortran sources in TheIde
Re: Compiling Fortran sources in TheIde [message #52154 is a reply to message #52149] Tue, 30 July 2019 07:55 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hi Sergey

I think the SEGFAULT has nothing to do with integer sizes. It was produced after this line
cc[ll--] = '\0'

What I meant is that ll returns 80, the initial declaration size. However gfortran really allocates the size of the string, I mean, it shrinks the 80 to the real size. This way cc[ll--] = '\0' corrupts memory.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to inspect memory at pointer-address while debugging
Next Topic: large exe size
Goto Forum:
  


Current Time: Wed May 13 00:04:16 GMT+2 2026

Total time taken to generate the page: 0.00524 seconds