Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3372
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: Mon Jun 17 12:32:22 CEST 2024

Total time taken to generate the page: 0.01644 seconds